How to list GnuPG or GPG secret keys

When you create or generate a new GPG or GnuPG key pair, it is stored in your key ring. Keys stored within the key ring can be listed using using the command as below in the Linux terminal.

$ gpg --list-secret-keys <enter>

/home/user/.gnupg/secring.gpg
------------------------------
sec 4096R/3949C65A 2014-11-28 [expires: 2015-11-28]
uid John N. Doe <john.doe@emaildomain.com>
ssb 4096R/F0F04E4E 2014-11-28

Leave a Reply

  

  

  

Blue Captcha Image
Refresh

*

October 2019
M T W T F S S
« Sep    
 123456
78910111213
14151617181920
21222324252627
28293031