forked from forgejo/forgejo
Backport #30174 by @KN4CK3R Fixes #30119 Include the encoding in the signature payload. before  after  --------- Co-authored-by: KN4CK3R <admin@oldschoolhack.me> (cherry picked from commit 2ac78c75d08cbd4c9a47e982021789e6d85a1a32)
This commit is contained in:
parent
953914d1f7
commit
8d3db1264c
3 changed files with 75 additions and 0 deletions
|
@ -84,6 +84,8 @@ readLoop:
|
|||
commit.Committer = &Signature{}
|
||||
commit.Committer.Decode(data)
|
||||
_, _ = payloadSB.Write(line)
|
||||
case "encoding":
|
||||
_, _ = payloadSB.Write(line)
|
||||
case "gpgsig":
|
||||
_, _ = signatureSB.Write(data)
|
||||
_ = signatureSB.WriteByte('\n')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue