Hacker News new | ask | show | jobs
by yjftsjthsd-h 401 days ago
> the creation timestamp which is a 32 bit Unix epoch value.

GPG keys aren't 2038-safe?

2 comments

PGP is pretty old at this point, and kinda jank.

RFC 1991 only gives them 4 bytes (32bit); not sure if there have been any later additions to rectify this but I don’t think so since even the latest RFC (9580) has them listed as 4 bytes…

https://datatracker.ietf.org/doc/html/rfc1991

https://www.rfc-editor.org/rfc/rfc9580#section-3.5

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.