Generation of key ID's

Daniel Kahn Gillmor dkg at fifthhorseman.net
Sun Sep 22 22:30:52 CEST 2013


On 09/21/2013 11:56 AM, Ralf Ramsauer wrote:

> Both, signature and encryption key get their own ID's. How are these
> ID's generated? Randomly?

the key IDs are the low-order bits of the fingerprints.  the
fingerprints are an SHA-1 digest of the creation date of the key plus
the public elements of the key plus some boilerplate/formatting.

You can read up on the specifics in the standard:

 https://tools.ietf.org/html/rfc4880#section-12.2

hth,

	--dkg

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 1027 bytes
Desc: OpenPGP digital signature
URL: </pipermail/attachments/20130922/3293f4eb/attachment.sig>


More information about the Gnupg-users mailing list