This repository was archived by the owner on Sep 11, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 534
Message on signed tagged commits contains extra new line #1111
Comments
Attached is a test repository. There are two signed tags. Here's a public key for verification:
|
I just realized that there is already pull request to fix this: #1104 |
# for free
to subscribe to this conversation on GitHub.
Already have an account?
#.
The following code reads one extra new line past the PGP signature block and appends it to
Message
:go-git/plumbing/object/tag.go
Lines 140 to 159 in 8c3c8b3
I am not sure what a proper fix is, but bailing out of the loop on this line instead of setting
pgpsig = false
seemed to correct the problem:go-git/plumbing/object/tag.go
Line 144 in 8c3c8b3
We noticed this when trying to manually reconstruct the payload and verify the PGP signature.
Commit 8c3c8b3 seems to partially mask the problem.
The text was updated successfully, but these errors were encountered: