<span style="font-family: Arial; font-size: 14px; line-height: 150%;"><br><span style="font-family:Arial;font-size:14px;line-height:150%;"><br><br>On 11/14/2017 at 5:46 PM, "Cathy Smith" <Cathy.Smith@pnnl.gov> wrote:</span><span style="font-family:Arial;font-size:14px;line-height:150%;"><blockquote style="border-left:solid 1px #ccc;margin-left:10px;padding-left:10px;"><div><font size="2" face="Calibri"><span style="font-size:11pt;"><div> </div></span></font><font size="2" face="Calibri"><span style="font-size:11pt;">
<div> 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.<br>=====<br>To find the details about a key generated some time ago, export the key in .asc form and do:<br>gpg --list-packets keyname.asc<br><br>To see all the information about the key as it is being generated, use the options of --expert --verbose --verbose<br><br>The full command would then be:<br>gpg --expert --verbose --verbose --gen-key<br><br>vedaal<br></div></span></font><br><br>
</div></blockquote></span></span>