sigstore-bundle: add sigstore bundle image verification #567
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fixes #388
This is a very early stage implementation of the new sigstore bundle format verification for use in podman, skopeo and co.
Cosign v3 was released a few months ago with a change to the default format they use for signatures. The new format is not compatible with this library, and therefore verification fails on any image pushed using the default settings in cosign v3.
This depends on being able to run Go 1.25+, but some dependencies need updating before this is possible.
This does NOT implement pushing new signatures, purely reading and verifying.
This introduces a new library from sigstore themselves to prevent reinventing the wheel. The subdependencies pulled in seem okay and have been vendored.
I expect to iterate over this PR in draft for a while. Just raised this here for some early feedback. Fulcio is completely new to me and have not yet been able to test this use-case, yet.
Assisted by: Claude Opus 4.5 via Cursor