question about determining the key length

vedaal at nym.hush.com vedaal at nym.hush.com
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
information.
=====
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

vedaal
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gnupg.org/pipermail/gnupg-users/attachments/20171114/65c92951/attachment.html>


More information about the Gnupg-users mailing list