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

Fix incorrect error check when verifying SCT #1422

Merged
merged 1 commit into from
Feb 8, 2022

Conversation

haydentherapper
Copy link
Contributor

Introduced in #1396, this incorrectly checked err instead
of verifySctErr. This resulted in no error being printed
when SCT validation failed. Verified this is working
correctly now with local testing.

Signed-off-by: Hayden Blauzvern hblauzvern@google.com

Summary

Ticket Link

Fixes

Release Note


Introduced in sigstore#1396, this incorrectly checked err instead
of verifySctErr. This resulted in no error being printed
when SCT validation failed. Verified this is working
correctly now with local testing.

Signed-off-by: Hayden Blauzvern <hblauzvern@google.com>
@haydentherapper
Copy link
Contributor Author

Failing CI test seems unrelated, can someone kick it off again?

@dlorenc
Copy link
Member

dlorenc commented Feb 8, 2022

I have a fix for the ci here: #1415

@dlorenc dlorenc merged commit 1d15273 into sigstore:main Feb 8, 2022
@github-actions github-actions bot added this to the v1.6.0 milestone Feb 8, 2022
hatmarch pushed a commit to hatmarch/cosign that referenced this pull request Apr 19, 2022
Introduced in sigstore#1396, this incorrectly checked err instead
of verifySctErr. This resulted in no error being printed
when SCT validation failed. Verified this is working
correctly now with local testing.

Signed-off-by: Hayden Blauzvern <hblauzvern@google.com>
mlieberman85 pushed a commit to mlieberman85/cosign that referenced this pull request May 6, 2022
Introduced in sigstore#1396, this incorrectly checked err instead
of verifySctErr. This resulted in no error being printed
when SCT validation failed. Verified this is working
correctly now with local testing.

Signed-off-by: Hayden Blauzvern <hblauzvern@google.com>
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.

3 participants