Include encoding in signature payload (#30174)

Fixes #30119

Include the encoding in the signature payload.

before

![grafik](01ab94a3-8af5-4d6f-be73-a10b65a15421)

after

![grafik](3a37d438-c70d-4d69-b178-d170e74aa683)

(cherry picked from commit b6a3cd4b8dc20ba48d0044a972f6ff0f0de6e49e)
This commit is contained in:
KN4CK3R 2024-03-29 22:55:10 +01:00 committed by Gergely Nagy
parent bef622d3e7
commit 6925c0eee4
No known key found for this signature in database
3 changed files with 75 additions and 0 deletions

View file

@ -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.