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

user@laptop:~$ egpg contact search Dashamir

gpg: data source: http://schluesselbruecke.de: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

user@laptop:~$ egpg contact ls

id: 55FA7A73FD847AF1
uid: Test User <[email protected]>
fpr: 74E4 1805 1992 F203 E3AB BD88 55FA 7A73 FD84 7AF1 
trust: ultimate
sign: 55FA7A73FD847AF1 2016-05-29 2017-05-29 
decr: 63ED1339BF9FFD7B 2016-05-29 2017-05-29 


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 

user@laptop:~$ egpg contact certify Dashamir

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

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.

user@laptop:~$ egpg contact trust Dashamir

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

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
sign: 562AC309C01D2DBD 2015-12-27 2020-12-31 
decr: 95B9FAD9DEF9A02A 2015-12-27 2020-12-31 
certified by: Test User <[email protected]> (55FA7A73FD847AF1)

user@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