Invaild expiration date shown for GPG key without expiry date #791

Closed
opened 2022-11-10 20:13:23 +01:00 by akib · 6 comments
Image

I just found the following for my "never going to expire" GPG key in the SSH / GPG Keys settings page:

These public GPG keys are associated with your account. Keep your private keys safe as they allow commits to be verified.
Matched Identities: akib@disroot.org
Key ID: E74F0EFA922AE7F5 Subkeys: 87B1B3891789593F 5535FCF54D88616B
Added on Feb 02, 2022 - Valid until Jan 01, 0001 

What's that "Jan 01, 0001"? That's 2021 years ago!

Anyway, is it a good idea to not have a expiry date?

I just found the following for my "never going to expire" GPG key in the [SSH / GPG Keys settings](https://codeberg.org/user/settings/keys) page: ``` These public GPG keys are associated with your account. Keep your private keys safe as they allow commits to be verified. Matched Identities: akib@disroot.org Key ID: E74F0EFA922AE7F5 Subkeys: 87B1B3891789593F 5535FCF54D88616B Added on Feb 02, 2022 - Valid until Jan 01, 0001 ``` What's that "Jan 01, 0001"? That's 2021 years ago! Anyway, is it a good idea to *not* have a expiry date?
Image Gusted self-assigned this 2022-11-29 08:32:35 +01:00
Image
Owner
Opened a bug fix at https://github.com/go-gitea/gitea/pull/22171
Image
Author

Merged to Gitea, but looks like it hasn't reached Codeberg yet. Should I wait until the fix to land here or close it now?

Merged to Gitea, but looks like it hasn't reached Codeberg yet. Should I wait until the fix to land here or close it now?
Image
Owner

It will be fixed when Codeberg pulls the next update. Closing for now as this will be seen live in a few days.

It will be fixed when Codeberg pulls the next update. Closing for now as this will be seen live in a few days.
Image

I see this is closed, but I have this problem as well. GPG keys made on Windows with Kleopatra and a never expire. I also changed the key to expire and had the same issue with verification and a time difference error: The provided GPG key, signature and token do not match or token is out-of-date.

image
image

I see this is closed, but I have this problem as well. GPG keys made on Windows with Kleopatra and a never expire. I also changed the key to expire and had the same issue with verification and a time difference error: `The provided GPG key, signature and token do not match or token is out-of-date.` ![image](/attachments/1a190c44-c615-4d0c-8f07-7f87697a73f8) ![image](/attachments/84334c6b-d47b-40e8-bbd0-6d396c1c37b2)
Image
Owner

I see this is closed, but I have this problem as well. GPG keys made on Windows with Kleopatra and a never expire. I also changed the key to expire and had the same issue with verification and a time difference error: The provided GPG key, signature and token do not match or token is out-of-date.

image
image

Hello, that's a different problem. That's related to GPG verification, but your screenshot says it's already verified. If it's still a problem, feel free to open a new issue about it.

> I see this is closed, but I have this problem as well. GPG keys made on Windows with Kleopatra and a never expire. I also changed the key to expire and had the same issue with verification and a time difference error: `The provided GPG key, signature and token do not match or token is out-of-date.` > > ![image](/attachments/1a190c44-c615-4d0c-8f07-7f87697a73f8) > ![image](/attachments/84334c6b-d47b-40e8-bbd0-6d396c1c37b2) Hello, that's a different problem. That's related to GPG verification, but your screenshot says it's already verified. If it's still a problem, feel free to open a new issue about it.
Image

for the Verified keys though it shows Verified, this just says, it matches.

image

I can start a new issue. Thanks!

for the Verified keys though it shows Verified, this just says, it matches. ![image](/attachments/a076664b-e99a-4a0c-9de3-ec7d528255b5) I can start a new issue. Thanks!
Sign in to join this conversation.
No milestone
No project
No assignees
3 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Codeberg/Community#791
No description provided.