Detection of sign-only vs. sign-and-encrypt keys
David Shaw
dshaw at jabberwocky.com
Tue Jun 22 20:50:43 CEST 2004
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
More information about the Gnupg-users
mailing list