question about determining the key length

vedaal at vedaal at
Wed Nov 15 00:17:25 CET 2017

On 11/14/2017 at 5:46 PM, "Cathy Smith"  wrote:   Is there a way to
determine the key length and the type of key  (RSA or other) used when
generating  the keyring?  I have a RHEL 5 box  using gpg 1.4.5 where I
need to determine how a key ring was generated.     Even on an Ubuntu
box using gpg2, the –list-secret-keys option does not print out that
To find the details about a key generated some time ago, export the
key in .asc form and do:
gpg --list-packets keyname.asc

To see all the information about the key as it is being generated, use
the options of --expert --verbose --verbose

The full command would then be:
gpg --expert --verbose --verbose --gen-key

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Gnupg-users mailing list