From e94062c05360fdd49cbf596cf677435dac749f6b Mon Sep 17 00:00:00 2001 From: Adam Hughes <9903835+tri-adam@users.noreply.github.com> Date: Thu, 15 Sep 2022 19:36:42 +0000 Subject: [PATCH] feat: add DSSE support Add support for Dead Simple Signing Envelope (DSSE) data object. --- pkg/sif/sif.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkg/sif/sif.go b/pkg/sif/sif.go index 2d1c2091..5155175c 100644 --- a/pkg/sif/sif.go +++ b/pkg/sif/sif.go @@ -133,6 +133,7 @@ const ( DataGeneric // generic / raw data DataCryptoMessage // cryptographic message data object DataSBOM // software bill of materials + DataDSSEEnvelope // dead simple signing envelope ) // String returns a human-readable representation of t. @@ -156,6 +157,8 @@ func (t DataType) String() string { return "Cryptographic Message" case DataSBOM: return "SBOM" + case DataDSSEEnvelope: + return "DSSE Envelope" } return "Unknown" }