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

gnupg 2.0 Manage contacts

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

testuser@laptop:~$ egpg contact search Dashamir

gpg: searching for "Dashamir" from hkp server keys.gnupg.net
(1)	Dashamir Hoxha <[email protected]>
      2048 bit RSA key C01D2DBD, created: 2015-12-27, expires: 2020-12-31
(2)	Dashamir Hoxha <[email protected]>
    keybase.io/dashohoxha <[email protected]>
      4096 bit RSA key 8D6414F9, created: 2015-05-27, expires: 2017-01-05
(3)	Dashamir Hoxha <[email protected]>
    Dashamir Hoxha <[email protected]>
      2048 bit RSA key 55D59B28, 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
gpg: requesting key C01D2DBD from hkp server keys.gnupg.net

testuser@laptop:~$ egpg contact ls

id: D12F18F9B50EEBB0
uid: Test User <[email protected]>
fpr: 3E64 4602 3F55 95F3 3932 6056 D12F 18F9 B50E EBB0 
trust: ultimate
sign: D12F18F9B50EEBB0 2016-06-05 2017-06-05 
decr: 0BED9B547FC71851 2016-06-05 2017-06-05 


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

pub  2048R/C01D2DBD  created: 2015-12-27  expires: 2020-12-31  usage: SC  
                     trust: unknown       validity: unknown
sub  2048R/DEF9A02A  created: 2015-12-27  expires: 2020-12-31  usage: E   
[ unknown] (1). Dashamir Hoxha <[email protected]>


pub  2048R/C01D2DBD  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.
Are you sure that you want to sign this key with your
key "Test User <[email protected]>" (B50EEBB0)

I have checked this key casually.

Really sign? (y/N) y

You need a passphrase to unlock the secret key for
user: "Test User <[email protected]>"
4096-bit RSA key, ID B50EEBB0, created 2016-06-05

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]> (D12F18F9B50EEBB0)

testuser@laptop:~$ egpg contact rm Dashamir

pub  2048R/C01D2DBD 2015-12-27 Dashamir Hoxha <[email protected]>

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