Detection of sign-only vs. sign-and-encrypt keys

Carl William Spitzer IV cwsiv at keepandbeararms.com
Tue Jun 29 03:21:47 CEST 2004


On Tue, 2004-06-22 at 11:50, David Shaw wrote:
> On Tue, Jun 22, 2004 at 07:18:37PM +0200, Marcus Frings wrote:
> > Hello,
> > 
> > could anyone please point me to the right section in the man page
> > (which I'm obviously missing) how I can find out with a single gpg
> > command line option if a key is just a sign-only key or a "normal"
> > sign-and-encrypt key?
> 
> gpg --with-colons --list-keys (thekey)
> 
> Look in the 11th field.  Capital S means the key can sign.  Capital E
> means the key can encrypt.  Capital C means the key can certify
> (i.e. sign other keys).
> 
> David
 
cwsiv at linux:~> gpg --with-colons --list-keys
tru::0:1066600614:1237427459
pub:-:1024:17:A347DE566D347FFF:2000-05-22:::-:Dan Stromberg
<strombrg at uci.edu>::scESC:
sub:-:1024:16:4CCEB4037D432915:2000-05-22::::::e:
pub:-:1024:17:F04287FDA2667802:2003-10-19:::-:Peter Kerekes
<pkerekes at ca.inter.net>::scESC:
sub:-:2048:16:9FBA5531DDBB3A73:2003-10-19::::::e:
pub:-:1024:17:2014F5DBAE127015:2001-04-14:2008-02-24::-:Todd A. Lyons
(Cannonball) <todd at mrball.net>::scESC:
sub:-:1024:16:4CBA508200B8B965:2001-04-14::::::e:
pub:u:2048:1:24D9A247950AF4EC:2004-01-23:::u:Carl William Spitzer (new
key) <cwsiv at access-4-free.com>::escESC:
pub:u:1024:17:15288D7B735CAED2:2004-03-20:2009-03-19::u:CWSIV
<CWSIV at KeepAndBearArms.COM>::scESC:
sub:u:2048:16:738868947501072E:2004-03-20:2009-03-19:::::e:
sub:u:1024:17:F02B99A74F35B6C2:2004-03-20:2009-03-19:::::s:
pub:-:1024:17:0B44ECCD82DB500E:2004-01-15:::-:Crypto1969
<crypto1969 at aol.com>::scESC:
sub:-:2048:16:BCE381EB8184DA4D:2004-01-15::::::e:

Interesting I get only lowercase letters not the capitols you indicate.
I made my keys with 1.2.4 under and updated Suse 8.2 now 9.1
Is this a display variation or something wrong.  Note some have more
than one letter.

CWSIV




More information about the Gnupg-users mailing list