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 issue 919 #930

Merged
merged 1 commit into from
Oct 20, 2021
Merged

fix issue 919 #930

merged 1 commit into from
Oct 20, 2021

Conversation

vaikas
Copy link
Contributor

@vaikas vaikas commented Oct 20, 2021

Summary

Closes #919
There were couple of issues going on here from what I can tell. One was the actual nil deref, but the other one and seemingly a bigger one was that for Attestations, the signature (at least for keyless case) was always failing because it was using the same codepath for both Signature / Attestation even though they have a different set of assumptions.

I added couple of comments to a few places that I think might have been helpful because lack of them led me a bit astray.

Ticket Link

Fixes #919

Release Note

Fix verify-attestations for keyless verify-attestation 

Signed-off-by: Ville Aikas <[email protected]>
@dlorenc
Copy link
Member

dlorenc commented Oct 20, 2021

Nice!

@dlorenc dlorenc merged commit 9e406b3 into sigstore:main Oct 20, 2021
@github-actions github-actions bot added this to the v1.3.0 milestone Oct 20, 2021
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.

keyless verify-attestation dereferences nil pointer
2 participants