-
Notifications
You must be signed in to change notification settings - Fork 547
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
Deprecate --certificate-email flag. Make --certificate-identity and -… #2411
Conversation
…-certificate-oidc-issuer required for verification. --certificate-email is now an alias for --certificate-identity. Also removed some redundant subject/issuer checking. Signed-off-by: kpk47 <[email protected]>
Codecov Report
@@ Coverage Diff @@
## main #2411 +/- ##
==========================================
- Coverage 30.04% 29.41% -0.63%
==========================================
Files 140 140
Lines 8671 8654 -17
==========================================
- Hits 2605 2546 -59
- Misses 5687 5745 +58
+ Partials 379 363 -16
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
Signed-off-by: kpk47 <[email protected]>
Signed-off-by: kpk47 <[email protected]>
Signed-off-by: kpk47 <[email protected]>
Signed-off-by: kpk47 <[email protected]>
Signed-off-by: kpk47 <[email protected]>
…r for verification. Signed-off-by: kpk47 <[email protected]>
Signed-off-by: kpk47 <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall LGTM. Needs a rebase before we can merge.
I'd be interested in putting this validation all in the same place. Maybe factor out some of these arguments into a new options.VerifyOpts
and have a function to parse them into cosign/verify.CheckOpts
. But I'm okay doing that later.
Signed-off-by: kpk47 <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
adding approving review so tests run
Signed-off-by: kpk47 <[email protected]>
Signed-off-by: kpk47 <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
approving for tests
test failure looks related! |
Signed-off-by: kpk47 <[email protected]>
Signed-off-by: kpk47 <[email protected]>
Signed-off-by: kpk47 <[email protected]>
Signed-off-by: kpk47 <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just need to rerun make docgen
, this looks great!
Signed-off-by: kpk47 <[email protected]>
@kpk47 Can you update
And update https://github.com/sigstore/cosign/blob/main/test/testdata/README.md, the openssl command, to be :
You can remove all the output below the command too, You may need to update tests to check for this example SAN. Feel free to rerun the command too if you have a preferred email value. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks so much for working on this!
Signed-off-by: kpk47 <[email protected]>
@znewman01 once tests finish, do you want to merge? |
E2e tests are failing, once we get those fixed I can merge (will take a quick skim today too) |
Signed-off-by: kpk47 <[email protected]>
Signed-off-by: kpk47 <[email protected]>
Signed-off-by: kpk47 <[email protected]>
Signed-off-by: kpk47 <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
test failure is unrelated
@kpk47 do you know if the docs on https://docs.sigstore.dev/cosign/keyless/ were updated for this change or not? |
Docs are being actively updated for cosign 2.0. Keyless will likely be removed as it’s not duplicated with the verify doc, which has been updated. |
…-certificate-oidc-issuer required for verification.
--certificate-email is now an alias for --certificate-identity
Signed-off-by: kpk47 [email protected]
Summary
Closes #2056
Release Note
Documentation