ietf-openpgp
[Top] [All Lists]

Re: [openpgp] v5 in the crypto-refresh draft

2021-06-07 06:34:33
Peter Pentchev <roam(_at_)ringlet(_dot_)net> writes:

Obviously not speaking for any of the people who actually work on this, but
you need to keep in mind that the time field is defined as an *unsigned* 32-
bit number, so we'll have another 68 years after the year 2038 to take care
of that.

Except that time_t is signed so it's going to cause breakage if you just
assign a 32-bit OpenPGP time to a 32-bit time_t.  Making it 64 bits would both
prevent this and signal to 32-bit time_t users that they need to take special
care with time values.

Peter.


_______________________________________________
openpgp mailing list
openpgp(_at_)ietf(_dot_)org
https://www.ietf.org/mailman/listinfo/openpgp