gnupg-users-boun...@gnupg.org wrote on 06/19/2012 01:50:04 AM:
> ----- Message from Sam Smith <smick...@hotmail.com> on Mon, 18 Jun 
> 2012 19:30:44 -0400 -----
> 
> To:
> 
> Gnupg <gnupg-users@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)
_______________________________________________
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users

Reply via email to