Re: SKS-Keyserver returns negative timestamp

Andrew Gallagher via Gnupg-devel <[email protected]>
Newsgroups gmane.comp.encryption.gpg.devel
Message-ID <[email protected]>
On 26 Feb 2024, at 17:42, Jan Girlich <[email protected]> wrote:
> 
> On Mon, 2024-02-26 at 17:14 +0000, Andrew Gallagher wrote:
>> On 26 Feb 2024, at 14:29, Jan Girlich <[email protected]>
>> wrote:
>>> 
>>> How is the timestamp '-62135596800' to be interpreted?
>> 
>> It would normally be interpreted as “seconds before the epoch”, but
>> in this particular case the key is unparseable, so the number is
>> meaningless. Keys can be unparseable for many reasons, but the most
>> common one is the use of an obsolete primary key algorithm, such as
>> RSA512 or Elgamal encrypt-and-sign.
> 
> thanks for this explanation. I know that this key worked fine from the
> same keyserver before.

This was most likely before it was migrated from sks-keyserver to hockeypuck, about three(?) years ago.

> Should I be worried about the integrity of the
> web of trust with regard to corrupted keys? Or could it be that since
> this key has been revoked that the keyserver is giving nonsensical
> responses on purpose?

So, for a bit of context, epoch minus 62135596800 is 1 Jan 0001. This is the default “zero time” in golang, meaning that any uninitialised timestamp variable will return this value. The expiry time for this key is uninitialised because there are no valid self-signatures over this key, which in turn is because it is an RSA1024 key, which is no longer supported by go-crypto/openpgp and therefore its signatures are unparseable by hockeypuck. In a sense, it is “not even revoked”. Any WoT certifications made by this key are no longer cryptographically sound and should not be relied upon.

A

_______________________________________________
Gnupg-devel mailing list
[email protected]
https://lists.gnupg.org/mailman/listinfo/gnupg-devel
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIyBAEBCgAdFiEEKR55odxVrielLu+DXB7EBNWQZikFAmXc2hUACgkQXB7EBNWQ
Zimr6Q/4woG174DoZig+1I+4nTwuIROYf4pD37rEo8vB1dIiwkiv5xJIS3k6Pify
yEShvirMk77crrpYZSP2dhHxY2n8c+s9ZYA+Pc56J14GyEQ4C1UEmNCjTb+h4+YN
PWCxeWBHnEQqnlUy3Jmrpz09G4qIX/wtt52MLKG9HpkTgDMID3gAcb+Ws8IzCSlT
uFxCMskDGoG4gZm1qTMU+W8X/pWudFuU/EESH63840fAvXvqLA+k7i+up5W5eVA+
ZsmPDglP8Z9J0Nrua2nHHOMbLYbl2MR3wQG4Tjde8v52xyWormG6u0vodaG52vaH
1i4cOtvZxG7giiEQXFLyrk3VdhojJQA8LZ5qMgqKJSVNc+CDHQ0SUWsGU3xpxLcK
jVfk2vCTZ99Ld3O0QU2KUF9x2xHwhF8Sv9wzao9hmMdU1kEStbh+GHPH1MfwGByz
NvTEWPHZmdivvbKMQVUXMDNF0/t7Zu+DwQNLlaZ50XWaZI5PwSHZw98I992Z80pI
qlPh03Z4pSagxLA0UUZHAOsOSFYMCxwAV4H1dhUV6UxRhxB0wW5bRdPq8ry+Gq6o
uf1npXmT+IwwL3RPWZuFJ93HneU/SKkt3PTjXVCqZkGwcwbMokRixN3e+ASl7s2W
PfUp143JWChf1hCyt7ZDYs8cQQ0OrIBZDOlEsM0vJv1OQaZppg==
=kTWw
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.