mirror of
https://github.com/go-gitea/gitea
synced 2025-07-13 14:07:20 +00:00
Backport #30174 by @KN4CK3R Fixes #30119 Include the encoding in the signature payload. before  after  Co-authored-by: KN4CK3R <admin@oldschoolhack.me>
This commit is contained in:
@ -84,6 +84,8 @@ readLoop:
|
||||
commit.Committer = &Signature{}
|
||||
commit.Committer.Decode(data)
|
||||
_, _ = payloadSB.Write(line)
|
||||
case "encoding":
|
||||
_, _ = payloadSB.Write(line)
|
||||
case "gpgsig":
|
||||
fallthrough
|
||||
case "gpgsig-sha256": // FIXME: no intertop, so only 1 exists at present.
|
||||
|
Reference in New Issue
Block a user