-
Notifications
You must be signed in to change notification settings - Fork 553
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bundle inspection and generation utilities #3794
Comments
(re:
Yeah, this one is probably redundant with existing verify commands, so it can be omitted. |
Okay, so merging in the content from #3855, what about if we start with:
Can we just assume this will only output new protobuf bundles? I think that's okay - I'm not sure why someone would be looking to take detached materials and create an old bundle. Or do we need a Then for trusted roots we can do something like:
If this interface looks reasonable, I can start implementing! |
LGTM! A few details:
Yes! For |
To tack on: another useful set of subcommand(s) here would be for interacting with PEP 740 attestation and provenance objects, which are semantically compatible with Sigstore bundles but have their own structure (to make them mesh with Python packaging land). As a rough sketch, some things that would be useful: # maybe this could be another `bundle synthesize` variant?
# convert an entire provenance object into >=1 sigstore bundles
cosign bundle convert-pep740 --provenance foo-1.2.3.tar.gz.provenance
# convert a single attestation object into its corresponding bundle
cosign bundle convert-pep740 --attestation foo-1.2.3.tar.gz.publish.attestation The inverse (bundle to PEP 740) might also be useful, although this is already covered within standard uploading/signing flows. |
Description
Inspired by @codysoyland's https://github.com/codysoyland/sigstore-bundle-upgrade and building on the upcoming bundle support (#3139), it would be great to have utilities to work with or create bundles outside of signing and verification workflows. This could include:
In order:
verify-blob
without artifact verification, I'd skip this one, or at least rename)cat foo.sigstore.json | jq
)Discussion: https://sigstore.slack.com/archives/C0440BFT43H/p1721088432507969
The text was updated successfully, but these errors were encountered: