-
-
Notifications
You must be signed in to change notification settings - Fork 5.9k
Closed
Labels
type/enhancementAn improvement of existing functionalityAn improvement of existing functionalitytype/proposalThe new feature has not been accepted yet but needs to be discussed first.The new feature has not been accepted yet but needs to be discussed first.
Milestone
Description
Feature Description
SSH signatures are only recognized on commits with real email addresses:
gitea/models/asymkey/ssh_key_commit_verification.go
Lines 39 to 45 in 6fe756d
activated := false | |
for _, e := range committerEmailAddresses { | |
if e.IsActivated && strings.EqualFold(e.Email, c.Committer.Email) { | |
activated = true | |
break | |
} | |
} |
For comparison, GPG signatures include NOREPLY logic already:
gitea/models/asymkey/gpg_key.go
Lines 272 to 274 in 0ebb45c
if user.KeepEmailPrivate && strings.EqualFold(email, user.GetEmail()) { | |
return true, user.GetEmail() | |
} |
Should there be similar logic for SSH signatures? Otherwise I'd need to reveal my real email address in order to use SSH signatures.
Screenshots
No response
brian6932
Metadata
Metadata
Assignees
Labels
type/enhancementAn improvement of existing functionalityAn improvement of existing functionalitytype/proposalThe new feature has not been accepted yet but needs to be discussed first.The new feature has not been accepted yet but needs to be discussed first.