Get signatures from a keyring file

John Clizbe JPClizbe at
Tue Nov 14 13:53:16 CET 2006

Yiannis Pefkianakis wrote:
> Hi,
> My question is how I can export the signatures from the keyring file.  
> The answer I am looking for, is not the command "check" because I  
> want to extract the actual signature.
> I had an idea to convert the keyring to ascii and parse it, but i  
> don't know the format of file so I cannot do it.

A keyring is (at present) just a collection of packets. You may find definitions
of the packet structure in RFC 2440. Latest draft is at

You could also use the output of 'gpg --list-keys --with-colons'. An explanation
of its output format is in the documentation that comes with the source.

John P. Clizbe                   Inet:   JPClizbe(a)comcast DOT nyet
Golden Bear Networks             PGP/GPG KeyID: 0x608D2A10
"Be who you are and say what you feel because those who mind don't matter
and those who matter don't mind." - Dr Seuss, "Oh the Places You'll Go"

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 663 bytes
Desc: OpenPGP digital signature
Url : /pipermail/attachments/20061114/d4972085/signature-0001.pgp

More information about the Gnupg-users mailing list