-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GPG KEY FAILS IF SEC KEY START FROM 0 #10591
Comments
I wonder if this is related to #6778 where we didn't find the root cause but the key fingerprint seems to start with 0. For this specific case can you provide a generated private/public key pair (not yours) ? |
@sapk Take it, no password needed |
@videmort so I'm not certain that is necessarily the preceding zero as that should go in to the db without the preceding zero. Could you check if it is in the db with the keyid with/without the preceding the zero? I wonder if you're being hit with the Timezone bug? |
Fix go-gitea#10591 Signed-off-by: Andrew Thornton <[email protected]>
Sorry I finally got round to generating a key with a zero leading ID |
[x]
):Description
If GPG key starts from 0, gitea doesn't recognize the key. If the key starts from other numbers it works fine, however if key starts from 0 it does not work.
...
Screenshots
Here is the key added in the config options, as you can see start from 0 the key. That key is extracted from -->
gpg --list-secret-keys --keyid-format LONG
-->This is the commit signed, gitea doesn't recognize the key
I tried same key in GITHUB and GITLAB and woks perfect. It's means that is a bug from gitea
The text was updated successfully, but these errors were encountered: