How can one tell what kind of a key one has set up?

David Benfell benfell at greybeard95a.com
Thu Nov 27 20:51:53 CET 2003


On Thu, 27 Nov 2003 12:29:58 -0500, David Shaw wrote:
> On Thu, Nov 27, 2003 at 09:14:21AM -0800, David Benfell wrote:
> > Hello all,
> > 
> > I set my keys up sufficiently long ago, that I don't remember what
> > kind they are, let alone whether or not they are ElGamal.  How can one
> > tell?
> 
> gpg --list-keys (yourkey)
> 
> Here's my key.
> 
> pub  4096R/99242560 2002-01-28 David M. Shaw <dshaw at jabberwocky.com>
> sub  2048g/1643B926 2002-01-28 [expires: 2012-01-26]
> sub  1024D/49E1CBC9 2002-01-28 [expires: 2012-01-26]
> 
> ---------^
> Look here.
> 
> If there is a capital "G" after the key size, that's an Elgamal
> sign+encrypt key.  Anything else is safe.  It must be a capital "G"; a
> lowercase "g" is also safe.
> 
gpg: NOTE: old default options file `/Users/benfell/.gnupg/options' ignored
pub  1024D/A1E6FBBB 1999-12-31 David Benfell <dbenfell at linuxcare.com>
uid                            David Benfell (31 December 1999) <benfell at greybeard95a.com>
uid                            David Benfell <benfell at parts-unknown.org>
uid                            David Benfell <benfell at axispt.com>
sub  2048g/83232DEC 1999-12-31
sub  1024G/E0B6354E 2001-01-31

Ouch.  Thanks!

-- 
David Benfell, LCP
benfell at parts-unknown.org
---
Resume available at http://www.parts-unknown.org/resume.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 478 bytes
Desc: not available
Url : /pipermail/attachments/20031127/013b0984/attachment.bin


More information about the Gnupg-users mailing list