Skip to content
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

Read Fulcio certificate chain as bytes in verify command #796

Merged
merged 3 commits into from
Oct 17, 2023

Conversation

mayaCostantini
Copy link
Contributor

Summary

Fixes #795

Fix opening the PEM file argument of the --certificate-chain option in sigstore verify <identity, github> as bytes instead of str.

Release Note

None

Signed-off-by: Maya Costantini <maya.costantini@protonmail.com>
@di
Copy link
Member

di commented Oct 17, 2023

/gcbrun

@di
Copy link
Member

di commented Oct 17, 2023

This might be a good candidate for a conformance test here: https://github.com/sigstore/sigstore-conformance/blob/main/test/test_certificate_verify.py

woodruffw
woodruffw previously approved these changes Oct 17, 2023
@woodruffw
Copy link
Member

Thanks @mayaCostantini! Would you mind adding a fix CHANGELOG entry for this?

@mayaCostantini
Copy link
Contributor Author

Done, thanks!

Signed-off-by: Maya Costantini <maya.costantini@protonmail.com>
@woodruffw
Copy link
Member

/gcbrun

CHANGELOG.md Outdated Show resolved Hide resolved
Signed-off-by: William Woodruff <william@yossarian.net>
@woodruffw
Copy link
Member

/gcbrun

Copy link
Member

@woodruffw woodruffw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks @mayaCostantini!

@di will have to app and merge since I made a CHANGELOG tweak.

@woodruffw woodruffw enabled auto-merge (squash) October 17, 2023 17:06
@woodruffw woodruffw merged commit ee3d313 into sigstore:main Oct 17, 2023
21 checks passed
@mayaCostantini mayaCostantini deleted the cert-chain-bytes branch October 17, 2023 17:30
@woodruffw woodruffw mentioned this pull request Oct 17, 2023
mayaCostantini pushed a commit to mayaCostantini/ansible-sign that referenced this pull request Oct 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Fulcio certificate chain should be opened as bytes in verify command
3 participants