-
Notifications
You must be signed in to change notification settings - Fork 614
Default to using the new protobuf format #4318
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
base: main
Are you sure you want to change the base?
Conversation
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #4318 +/- ##
==========================================
- Coverage 40.10% 34.32% -5.78%
==========================================
Files 155 216 +61
Lines 10044 15007 +4963
==========================================
+ Hits 4028 5151 +1123
- Misses 5530 9192 +3662
- Partials 486 664 +178 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Overall LGTM. Let's hold off on this PR until we land #4316 and #4319, do a pass over the other open PRs, and review the Cosign v3 brainstorm to see if there's anything else we want to get in. Then let's cut a new release of Cosign, hopefully the last v2 release, and then start merging these breaking changes. |
Signed-off-by: Zach Steindler <[email protected]>
Signed-off-by: Zach Steindler <[email protected]>
…ml; until cosign sign supports new bundle format Signed-off-by: Zach Steindler <[email protected]>
Signed-off-by: Zach Steindler <[email protected]>
Signed-off-by: Zach Steindler <[email protected]>
Signed-off-by: Zach Steindler <[email protected]>
Have `cosign sign` default to true Signed-off-by: Zach Steindler <[email protected]>
1326825
to
307f358
Compare
Signed-off-by: Zach Steindler <[email protected]>
So, in some senses this is not a breaking change, in that we've made it so that
Verifies if you explicitly say it's the old bundle format:
... but also verifies if you omit the bundle format (defaults to true):
I spent some time looking into providing this fallback behavior for OCI verify commands ( |
Signed-off-by: Zach Steindler <[email protected]>
There's some issues with how the trusted root file is working in |
Signed-off-by: Zach Steindler <[email protected]>
Signed-off-by: Zach Steindler <[email protected]>
Signed-off-by: Zach Steindler <[email protected]>
I couldn't get the scaffolding working with the new bundle format - I think there was some issue with how the trusted root was constructed - but we can update it when we overhaul the scaffolding test. |
Summary
This is a first step towards #4221, where we default
--new-bundle-format
totrue
instead offalse
.We never did add protobuf support to cosign sign (see #3927 and #3139) - maybe we want to wait until that is done? Otherwise we could just have
--new-bundle-format
default totrue
when we add it to cosign sign.Release Note
attest
,attest-blob
,sign
,sign-blob
,dockerfile-verify
,manifest-verify
,verify
,verify-attestation
,verify-blob
,verify-blob-attestation
so that--new-bundle-format
defaults totrue
instead offalse
.Documentation
Ran
make docgen
as part of this PR.