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:
parent
b1dae9f2c8
commit
2ac78c75d0
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