aboutsummaryrefslogtreecommitdiffstats
path: root/plumbing/object/signature.go
diff options
context:
space:
mode:
authorPaulo Gomes <pjbgf@linux.com>2024-08-21 19:44:32 +0000
committerGitHub <noreply@github.com>2024-08-21 19:44:32 +0000
commit060f00f3e2b6fde3ca5e01227fed60d62e349fa5 (patch)
tree96b31e6ef8ed53fd0281bd7b39e4fff601d14b08 /plumbing/object/signature.go
parent6d583524d3e1d79c171d4666eee3e1d174c210d0 (diff)
parent9ac14c4ac7c6d1043394c0cc1be5e0c931b8f6c4 (diff)
downloadgo-git-060f00f3e2b6fde3ca5e01227fed60d62e349fa5.tar.gz
Merge pull request #1169 from yoavamit/parse-x509-signed-message
plumbing: signature, support the same x509 signature formats as git
Diffstat (limited to 'plumbing/object/signature.go')
-rw-r--r--plumbing/object/signature.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/plumbing/object/signature.go b/plumbing/object/signature.go
index 91cf371..f9c3d30 100644
--- a/plumbing/object/signature.go
+++ b/plumbing/object/signature.go
@@ -19,6 +19,7 @@ var (
// a PKCS#7 (S/MIME) signature.
x509SignatureFormat = signatureFormat{
[]byte("-----BEGIN CERTIFICATE-----"),
+ []byte("-----BEGIN SIGNED MESSAGE-----"),
}
// sshSignatureFormat is the format of an SSH signature.