-
-
Notifications
You must be signed in to change notification settings - Fork 5.7k
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
Gitea doesn't recognize my GPG key #2401
Comments
It seems that it's not the key you used to sign the commit. When I clone your repo example on try.gitea.io, I get that you sign with |
To verify that : git clone https://try.gitea.io/sondr3/test1.git
cd test1
git log --show-signature |
Yeah, this was my fault. Apparently I had exported a subkey and not the actual GPG key itself, so I was using the wrong one. My bad, thanks for pointing it out, it works fine now that I'm using the correct one. |
Glad to here that. enjoy 😄 |
I was having this issue with key Gitea kept saying No known key found for this signature in database and the person running the Gitea instance thought that it may be a problem with amount of subkeys that I have. |
@Mikaela Please fire another issue since your problem is different from this one. |
@lunny I don't know what subject to use or anything and I managed to get it workarounded. As the symptom is the same as in the subject of this one, I think this should be reopened in case you can reproduce the issue. |
I have a similiar/the same problem, but when i imported the public gpg key on my pc it shows the signature is verified ( |
Hmmm i created a new keypair (2048 Bits rsa) and signed it via my ios app (where i had problem with signed commits) and it did not work. But in both cases my local git recognized both signatures made from the ios app and the pc... |
@Panzer1119 any log on your backend? |
What kinda log? I believe the App is creating the signature different than the computer? |
I'm using gnupg 1.4.18 from Debian with a 4096Bits key, I am not able to confirm signed tags either (open padlock with "not a signed commit"). Edit: after some testing, the problem appears with tags only, the padlock is green for commits. |
I am having this same problem but for commits. Can verify the commits locally all good, all using the same key. But in Gitea, they are now marked as https://git.autonomic.zone/kawaiipunk/walkaway-wiki/commits/branch/master As far as I know, nothing has changed in my configs. Signing is working all good on Gitlab and Github. I just can't see any problems except at the Gitea end of things. My
I tried re-adding my GPG pub key to the Gitea interface in a few different ways but same story. |
@georgeowell Please don't write on closed issues - comments are very likely to be missed. This is a different problem to the OPs issue - although it fits with the previous person who also wrote on an already closed issue. My initial suspicion is that you are hitting #10420 but without knowing your version I cannot confirm. We need to know what version of Gitea you are running. |
[x]
):Description
I've added my GPG key to a 1.2-rc1 version of Gitea that I'm running, and it says that it can't find any key matching my email for that address. Github recognizes it and supports it just fine, but Gitea for some reason doesn't. I can't recall what settings I used to generate the GPG key anymore, it's been a while since I created it.
Screenshots
The text was updated successfully, but these errors were encountered: