diff --git a/attestation/policyverify/policyverify.go b/attestation/policyverify/policyverify.go index d63429d9..60b4d769 100644 --- a/attestation/policyverify/policyverify.go +++ b/attestation/policyverify/policyverify.go @@ -199,7 +199,7 @@ func (a *Attestor) Attest(ctx *attestation.AttestationContext) error { return fmt.Errorf("failed to generate verification summary: %w", err) } - return policyErr + return nil } func verificationSummaryFromResults(ctx *attestation.AttestationContext, policyEnvelope dsse.Envelope, policyResult policy.PolicyResult, accepted bool) (slsa.VerificationSummary, error) {