From 403b050566d0afc89311fc2dd9a15104286f6cd3 Mon Sep 17 00:00:00 2001 From: laurentsimon Date: Tue, 15 Aug 2023 17:39:33 +0000 Subject: [PATCH] updates Signed-off-by: laurentsimon --- verifiers/internal/gcb/slsaprovenance/v0.1/provenance.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/verifiers/internal/gcb/slsaprovenance/v0.1/provenance.go b/verifiers/internal/gcb/slsaprovenance/v0.1/provenance.go index 1b44f33e2..12a2d7abb 100644 --- a/verifiers/internal/gcb/slsaprovenance/v0.1/provenance.go +++ b/verifiers/internal/gcb/slsaprovenance/v0.1/provenance.go @@ -105,7 +105,7 @@ func New(payload []byte) (iface.Provenance, error) { if err := json.Unmarshal(payload, &provenance); err != nil { return nil, fmt.Errorf("%w: %s", serrors.ErrorInvalidDssePayload, err.Error()) } - fmt.Println(provenance.StatementHeader) + // Validate the intoto type. if provenance.StatementHeader.Type != statementInToto { return nil, fmt.Errorf("%w: expected statement header type '%s', got '%s'",