top | item 44037845

(no title)

wiktor-k | 9 months ago

Key IDs are based on fingerprints and fingerprints are calculated by SHA-1 hashing the primary key's public key and the creation timestamp. A computationally easy way to influence the fingerprint is to tweak the creation timestamp which is a 32 bit Unix epoch value. Of course it needs to be in the past so the range is limited but it's faster to do it this way instead of recomputing the cryptographic key.

discuss

order

yjftsjthsd-h|9 months ago

> the creation timestamp which is a 32 bit Unix epoch value.

GPG keys aren't 2038-safe?

dpwm|9 months ago

It's a 32-bit unsigned integer, so that should give us until Feb 2106.

> A time field is an unsigned 4-octet number containing the number of seconds elapsed since midnight, 1 January 1970 UTC.