GPG keys that do not expire default their expiry time to 0001-01-01 #1558

Closed
opened 2025-11-02 04:04:55 -06:00 by GiteaMirror · 3 comments
Owner

Originally created by @thehowl on GitHub (Feb 23, 2018).

Example with my GPG key, which does not have an expiry time set.

image

Originally created by @thehowl on GitHub (Feb 23, 2018). Example with my [GPG key](https://pgp.mit.edu/pks/lookup?op=vindex&search=0x40D328300D245DA5), which does not have an expiry time set. ![image](https://user-images.githubusercontent.com/4681308/36618267-c9f16588-18ea-11e8-95a4-2d3868626967.png)
GiteaMirror added the topic/uitype/bug labels 2025-11-02 04:04:55 -06:00
Author
Owner

@sapk commented on GitHub (Feb 25, 2018):

That should come from that change f2e20c81b6 (diff-b39af036c147da90df23fbbd6b50e41fL29) the check is not the same.

@sapk commented on GitHub (Feb 25, 2018): That should come from that change https://github.com/go-gitea/gitea/commit/f2e20c81b66e6a937ecdb686f8d1011371433365#diff-b39af036c147da90df23fbbd6b50e41fL29 the check is not the same.
Author
Owner

@lunny commented on GitHub (Feb 26, 2018):

@sapk good catch. It's not zero. I will send a PR to fix that.

@lunny commented on GitHub (Feb 26, 2018): @sapk good catch. It's not zero. I will send a PR to fix that.
Author
Owner

@sapk commented on GitHub (Feb 26, 2018):

@lunny thanks for the PR, I haven't time to fix it and test it ^^

@sapk commented on GitHub (Feb 26, 2018): @lunny thanks for the PR, I haven't time to fix it and test it ^^
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#1558