-
Notifications
You must be signed in to change notification settings - Fork 32
Return verification #1490
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?
Return verification #1490
Conversation
|
Signed-off-by: indexzero <[email protected]>
Signed-off-by: indexzero <[email protected]>
Co-authored-by: Claude <[email protected]> Signed-off-by: indexzero <[email protected]>
Signed-off-by: indexzero <[email protected]>
Signed-off-by: indexzero <[email protected]>
91d1ae5 to
2d7da9b
Compare
|
LGTM |
|
friendly ping @bdehamer |
bdehamer
left a comment
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.
@indexzero Thanks for contributing this change!
Everything looks great. My only request is that you also run npx changeset and commit the resulting changeset file (minor version bump to the sigstore package).
|
@bdehamer roger that! I had put this down for the few weeks around JSConf, but will button it up this week for a final review & merge 🫶 |
Howdy all 👋 looking forward to contributing to the project. Many thanks to @wlynch and @hectorj2f for helping me ramp up on the codebases 🫶
Summary
This PR updates the behavior of
verifyto be consistent with thesigstore-goimplementation. Thisresultis returned to but not consumed bycosignso the correspondingpackages/clifunctionality was not updated as part of this PR to maximize cohesionverifybehavior: sigstore/sigstore-go/pkg/verify/signed_entity.go#798cosign verify-blobbehavior: sigstore/cosign/cmd/cosign/cli/verify/verify_blob.go#192Release Note
verify(bundle[, payload][, options])now returns aSignerobject containing the public key and identity information from the verification.Documentation
Updated
README.mdto indicate the new returnAdditional Remarks
🤖
claudehelped here, but all of thepackages/*code itself was 100% old fashioned fingers on keyboard. I don't usejestoften so it was helpful in adding the test coverage for this change. No offense will be taken if it is updated or removed.