[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: gpg key type check



> I've read all the gpg doc I have, but I have not found how to find out of what 
> type is a public key I've got from a Debian applicant.
> 
> gpg -vv --edit-key   and --list-key does not help.
> 
> Actually, I want to check that his key is not ElGamal.

The letter D/g indicates this (D=DSA, g=Elgamal) :

%gpg --list-keys treinen
pub  1024D/E0BA04C1 2000-02-26 Ralf Treinen <treinen@club-internet.fr>
uid                            Ralf Treinen <treinen@debian.org>
sub  1024g/D3DF40EF 2000-02-26

         ^
         |

So my main key is DSA and the sub is ElGamal.
See http://www.gnupg.org/gph/en/manual.html#AEN244

-Ralf.



Reply to: