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 crash with missing checkpoint #260

Merged

Conversation

haydentherapper
Copy link
Contributor

@haydentherapper haydentherapper commented Aug 8, 2024

Summary

It was assumed that if an inclusion proof is present, then a checkpoint would be present too. Some bundles exist where the checkpoint was not present, particularly for v0.1. This is a bug, so we should err out, but we shouldn't crash if the checkpoint is missing.

Fixes #259

Release Note

Fixed crash when log checkpoint was missing

Documentation

It was assumed that if an inclusion proof is present, then a checkpoint
would be present too. Some bundles exist where the checkpoint was not
present, particularly for v0.1. This is a bug, so we should err out, but
we shouldn't crash if the checkpoint is missing.

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

@steiza steiza 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!

@haydentherapper haydentherapper merged commit d19dc5b into sigstore:main Aug 9, 2024
10 checks passed
@haydentherapper haydentherapper deleted the fix-checkpoint-crash branch August 9, 2024 14:58
@woodruffw
Copy link
Member

Thanks @haydentherapper!

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.

Verification crashes for v0.1 bundles missing checkpoints
3 participants