way to see what cipher/algo was used to create your key?

MichaelQuigley at TheWay.Org MichaelQuigley at TheWay.Org
Tue Jun 19 15:05:41 CEST 2012


gnupg-users-bounces at gnupg.org wrote on 06/19/2012 01:50:04 AM:
> ----- Message from Sam Smith <smickson at hotmail.com> on Mon, 18 Jun 
> 2012 19:30:44 -0400 -----
> 
> To:
> 
> Gnupg <gnupg-users at gnupg.org>
> 
> Subject:
> 
> RE: way to see what cipher/algo was used to create your key?
> 
> Does anybody know a way to learn what cipher & hash was used to 
> create the secret key? 

The details file documents using the --list-keys command with the and 
specifying the --with-fingerprint option twice.  This produces a list 
which shows the algorithm used for the key.  This can also be used with 
the --list-secret-keys command.

e.g., enter the following command:

gpg --with-fingerprint --with-fingerprint --with-colons --list-secret-keys

Description from DETAILS:

 4. Field:  Algorithm:  1 = RSA
                       16 = Elgamal (encrypt only)
                       17 = DSA (sometimes called DH, sign only)
                       20 = Elgamal (sign and encrypt - don't use them!)
            (for other id's see include/cipher.h)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/attachments/20120619/a2ed7424/attachment.htm>


More information about the Gnupg-users mailing list