diff options
author | Spencer Judd <spencercjudd@gmail.com> | 2019-04-03 22:26:03 -0700 |
---|---|---|
committer | Filip Navara <navara@emclient.com> | 2019-04-20 20:45:40 +0200 |
commit | 2e4f90007aace73cc0ba0d9c5c3744c99a20bb97 (patch) | |
tree | 1ebfebe667cd26ddd7dee3baf3fa29299766cb40 /plumbing/protocol/packp/ulreq_decode_test.go | |
parent | aa6f288c256ff8baf8a7745546a9752323dc0d89 (diff) | |
download | go-git-2e4f90007aace73cc0ba0d9c5c3744c99a20bb97.tar.gz |
plumbing: object, Fix tag message decoding
The Decode method was adding one too many newlines to the tag message,
causing signature verification to fail. This is because in signed tags
produced by `git`, there is a newline after the PGP signature block,
resulting in `messageAndSig` having one extra (empty) `[]byte` element.
This caused `t.Message` to receive one extra newline.
Signed-off-by: Spencer Judd <spencercjudd@gmail.com>
Diffstat (limited to 'plumbing/protocol/packp/ulreq_decode_test.go')
0 files changed, 0 insertions, 0 deletions