Skip to content

Commit e6fd2f3

Browse files
committed
ROX-34488: verify sigstore bundle signatures via sigstore-go
Add verifySigstoreBundle which verifies DSSE-envelope signatures using sigstore-go directly, bypassing the cosign SimpleSigning path. The verifier now branches on signature format: SimpleSigning signatures continue through cosign.VerifyImageSignature, while sigstore bundles use sigstore-go's verify.SignedEntity with the same trust roots (public key or certificate identity/issuer). Partially generated by AI.
1 parent aa2e65b commit e6fd2f3

3 files changed

Lines changed: 367 additions & 32 deletions

File tree

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,7 @@ require (
121121
github.com/sigstore/cosign/v3 v3.1.2
122122
github.com/sigstore/rekor v1.5.3
123123
github.com/sigstore/sigstore v1.10.8
124+
github.com/sigstore/sigstore-go v1.2.1
124125
github.com/sourcegraph/conc v0.3.1-0.20240121214520-5f936abd7ae8
125126
github.com/spf13/cobra v1.10.2
126127
github.com/spf13/pflag v1.0.10
@@ -405,7 +406,6 @@ require (
405406
github.com/shopspring/decimal v1.4.0 // indirect
406407
github.com/sigstore/protobuf-specs v0.5.1 // indirect
407408
github.com/sigstore/rekor-tiles/v2 v2.3.0 // indirect
408-
github.com/sigstore/sigstore-go v1.2.1 // indirect
409409
github.com/sigstore/timestamp-authority/v2 v2.1.2 // indirect
410410
github.com/sirupsen/logrus v1.9.4 // indirect
411411
github.com/skeema/knownhosts v1.3.1 // indirect

0 commit comments

Comments
 (0)