Gitea: GPG keys that do not expire default their expiry time to 0001-01-01

Created on 23 Feb 2018  ·  3Comments  ·  Source: go-gitea/gitea

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

image

kinbug kinui

Most helpful comment

That should come from that change https://github.com/go-gitea/gitea/commit/f2e20c81b66e6a937ecdb686f8d1011371433365#diff-b39af036c147da90df23fbbd6b50e41fL29 the check is not the same.

All 3 comments

That should come from that change https://github.com/go-gitea/gitea/commit/f2e20c81b66e6a937ecdb686f8d1011371433365#diff-b39af036c147da90df23fbbd6b50e41fL29 the check is not the same.

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

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

Was this page helpful?
0 / 5 - 0 ratings

Related issues

BNolet picture BNolet  ·  3Comments

tuxfanou picture tuxfanou  ·  3Comments

lunny picture lunny  ·  3Comments

cookiengineer picture cookiengineer  ·  3Comments

Fastidious picture Fastidious  ·  3Comments