Description
Description
Seeing #17743, I get the impression that SSH signed commits should be recognised by Gitea.
I have git set up to sign with my SSH key.
[user]
name = TEC
email = [email protected]
signingkey = ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOZZqcJOLdN+QFHKyW8ST2zz750+8TdvO9IT5geXpQVt
[commit]
gpgsign = true
[gpg]
format = ssh
[gpg "ssh"]
allowedSignersFile = /home/tec/.ssh/allowed_signers
I made a testing
repo on try.gitea.io, and pushed
the SSH signed commit https://try.gitea.io/tecosaur/testing/commit/399bfb.
I know that Gitea is aware of this key, because I used it to push to the repo via an ssh git@...
remote path.
This can also be verified by looking at https://try.gitea.io/tecosaur.keys
If I run git log --show-signature
I see:
Good "git" signature for [email protected] with ED25519 key SHA256:eobz41Mnm0/iYWBvWThftS0ElEs1 ftBr6jamutnXc/A
However, in the Gitea UI one sees " No known key found for this signature in database".
This issue was first noticed in my personal Gitea 1.16.9 instance, the issue has persisted after upgrading to 1.17.0, at which point I thought I'd try replicating on try.gitea.io and then making this issue.
Gitea Version
1.16.9 then 1.17.0, and try.gitea.io's version
Can you reproduce the bug on the Gitea demo site?
Yes
Log Gist
No response
Screenshots
Git Version
2.34
Operating System
NixOS
How are you running Gitea?
I'm running Gitea on a VM, and also reproduced this behaviour on try.gitea.io.
Database
PostgreSQL