Commit 2cdf8d1
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 17ac497 commit 2cdf8d1
3 files changed
Lines changed: 288 additions & 47 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
203 | 203 | | |
204 | 204 | | |
205 | 205 | | |
| 206 | + | |
206 | 207 | | |
207 | 208 | | |
208 | 209 | | |
| |||
211 | 212 | | |
212 | 213 | | |
213 | 214 | | |
| 215 | + | |
214 | 216 | | |
215 | 217 | | |
216 | 218 | | |
| |||
221 | 223 | | |
222 | 224 | | |
223 | 225 | | |
| 226 | + | |
224 | 227 | | |
225 | 228 | | |
226 | 229 | | |
| |||
232 | 235 | | |
233 | 236 | | |
234 | 237 | | |
| 238 | + | |
235 | 239 | | |
236 | 240 | | |
237 | 241 | | |
| |||
622 | 626 | | |
623 | 627 | | |
624 | 628 | | |
| 629 | + | |
625 | 630 | | |
626 | 631 | | |
627 | 632 | | |
| |||
0 commit comments