Skip to content
This repository has been archived by the owner on Oct 25, 2018. It is now read-only.

gnupg 2.1 manage contacts

Dashamir Hoxha edited this page Jun 6, 2016 · 2 revisions

testuser@laptop:~$ egpg contact search Dashamir

gpg: data source: http://svcs4.riverwillow.net.au:11371
(1)	Dashamir Hoxha <[email protected]>
      2048 bit RSA key 562AC309C01D2DBD, created: 2015-12-27, expires: 2020-12-31
(2)	Dashamir Hoxha <[email protected]>
    keybase.io/dashohoxha <[email protected]>
      4096 bit RSA key 0967FD258D6414F9, created: 2015-05-27, expires: 2017-01-05
(3)	Dashamir Hoxha <[email protected]>
    Dashamir Hoxha <[email protected]>
      2048 bit RSA key FD06AA8E55D59B28, created: 2010-12-12, expires: 2015-12-13 (expired)
Keys 1-3 of 3 for "Dashamir".  Enter number(s), N)ext, or Q)uit > 1

testuser@laptop:~$ egpg contact ls

id: 01D532A283DC1CBF
uid: Test User <[email protected]>
fpr: 4E91 DD0E EDD7 49F2 B6DE D9CE 01D5 32A2 83DC 1CBF 
trust: ultimate
sign: 01D532A283DC1CBF 2016-06-06 2017-06-06 
decr: 7BD4B1BE5D76CC0D 2016-06-06 2017-06-06 


id: 562AC309C01D2DBD
uid: Dashamir Hoxha <[email protected]>
fpr: 1EC0 8B86 1350 EE19 8053 7941 562A C309 C01D 2DBD 
sign: 562AC309C01D2DBD 2015-12-27 2020-12-31 
decr: 95B9FAD9DEF9A02A 2015-12-27 2020-12-31 

testuser@laptop:~$ egpg contact certify Dashamir

Please enter the passphrase to unlock the OpenPGP secret key:
"Test User <[email protected]>"
4096-bit RSA key, ID 01D532A283DC1CBF,
created 2016-06-06.

Passphrase: 

pub  rsa2048/562AC309C01D2DBD
     created: 2015-12-27  expires: 2020-12-31  usage: SC  
     trust: unknown       validity: unknown
 Primary key fingerprint: 1EC0 8B86 1350 EE19 8053  7941 562A C309 C01D 2DBD

     Dashamir Hoxha <[email protected]>

This key is due to expire on 2020-12-31.

I have checked this key casually.

testuser@laptop:~$ egpg contact trust Dashamir

uid: Dashamir Hoxha <[email protected]>
trust: marginal

testuser@laptop:~$ egpg contact ls Dashamir

id: 562AC309C01D2DBD
uid: Dashamir Hoxha <[email protected]>
fpr: 1EC0 8B86 1350 EE19 8053 7941 562A C309 C01D 2DBD 
trust: marginal
sign: 562AC309C01D2DBD 2015-12-27 2020-12-31 
decr: 95B9FAD9DEF9A02A 2015-12-27 2020-12-31 
certified by: Test User <[email protected]> (01D532A283DC1CBF)

testuser@laptop:~$ egpg contact rm Dashamir

gpg (GnuPG) 2.1.11; Copyright (C) 2016 Free Software Foundation, Inc.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

pub  rsa2048/562AC309C01D2DBD 2015-12-27 Dashamir Hoxha <[email protected]>

Delete this key from the keyring? (y/N) y