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 May 31, 2016 · 2 revisions

user@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
gpg: key C01D2DBD: public key "Dashamir Hoxha <[email protected]>" imported
gpg: 3 marginal(s) needed, 1 complete(s) needed, PGP trust model
gpg: depth: 0  valid:   1  signed:   0  trust: 0-, 0q, 0n, 0m, 0f, 1u
gpg: next trustdb check due at 2017-04-22
gpg: Total number processed: 1
gpg:               imported: 1  (RSA: 1)

user@laptop:~$ egpg contact ls

id: 4A8872C20D6282D1
uid: Test User <[email protected]>
fpr: 515B 8C7D 8106 0DC6 E6E8 F28F 4A88 72C2 0D62 82D1 
trust: ultimate
cert: 4A8872C20D6282D1 2016-04-22 2017-04-22 
auth: CEA9603E528CED7D 2016-04-22 2017-04-22 
sign: 253F0000B8264D90 2016-04-22 2017-04-22 
encr: A29A4814128F99FF 2016-04-22 2017-04-22 


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

user@laptop:~$ egpg contact certify Dashamir

user@laptop:~$ egpg contact trust Dashamir

user@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
cert: 562AC309C01D2DBD 2015-12-27 2020-12-31 
encr: 95B9FAD9DEF9A02A 2015-12-27 2020-12-31 
certified by: Test User <[email protected]> (4A8872C20D6282D1)

user@laptop:~$ egpg contact rm Dashamir

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

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