openpgp fingerprints for subkeys

Daniel Kahn Gillmor at
Mon Jun 16 07:12:37 CEST 2008

Hey Folks--

Another thought about OpenPGP certificate/key infrastructure (i'm
submitting this here because the trac installation seems to be defunct
From the spam, and i'm not sure what the rightful heir is).

gnutls_openpgp_privkey_get_fingerprint() and
gnutls_openpgp_crt_get_fingerprint() both are capable of returning the
fingerprint of the primary key.  However, subkeys can have
fingerprints too, and in many circumstances it can be useful to
calculate the subkey's fingerprint.

Having a parallel subkey-specific fingerprint function would be good.

If you want to verify the subkey fingerprint calculations, you can see
them emitted with gpg with two --fingerprint options:

 gpg --fingerprint --fingerprint --list-key "$KEYID"


-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 826 bytes
Desc: not available
URL: </pipermail/attachments/20080616/c34079f2/attachment.pgp>

More information about the Gnutls-devel mailing list