The number of lines of a key opened in a text-editor

Daniel Kahn Gillmor dkg at
Wed Dec 16 01:04:45 CET 2009

On 12/15/2009 06:05 PM, Robert J. Hansen wrote:
> A "public key" usually has a lot more data than just the key material.
> User IDs and signatures are usually present, too.  Some users even
> include a JPEG of themselves in their key.

If you're interested in making those unintelligible lines more
intelligible, you could also try running the key through gpg
--list-packets. if you've saved the file as example.cert, you'd do that
like this:

 gpg --list-packets < example.cert

(this assumes a regular shell on a modern operating system.  i don't
know if the windows shell supports this kind of redirection).

This will print out details of what exactly is in the certificate.



-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 891 bytes
Desc: OpenPGP digital signature
URL: </pipermail/attachments/20091215/6b682068/attachment.pgp>

More information about the Gnupg-users mailing list