mirror of
https://github.com/go-gitea/gitea.git
synced 2025-12-15 21:45:35 +08:00
Instance signing rule `pubkey` is described as "Only sign if the user has a public key", however if the user only has SSH public keys, this check will fail, as it only checks for GPG keys. Changed the `pubkey` checks to call a helper `userHasPubkeys` which sequentially checks for GPG, then SSH keys. Related #34341 --------- Co-authored-by: wxiaoguang <wxiaoguang@gmail.com> |
||
|---|---|---|
| .. | ||
| commit_test.go | ||
| commit.go | ||
| deploy_key.go | ||
| main_test.go | ||
| sign_test.go | ||
| sign.go | ||
| ssh_key_authorized_keys.go | ||
| ssh_key_authorized_principals.go | ||
| ssh_key_principals.go | ||
| ssh_key_test.go | ||
| ssh_key.go | ||