-
Notifications
You must be signed in to change notification settings - Fork 50
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
inclusion proof returned a tree size larger than the verified tree size #285
Comments
Hey @ddworken! Thanks for the report, I'll investigate. We had started seeing this problem in our e2e tests, due to a race condition in Rekor: sigstore/rekor#1055, but we thought the fix was rolled out in production as of last tuesday. I'll try to see if I can reproduce the problem locally. It should be transient since it's a race condition, so I would attempt to try restarting. I'll post any updates as I dig in. |
Ah interesting! It does seem like that is what I ran into. To reproduce the error I originally reported:
which gives:
But I seem to now be running into a separate bug. To reproduce this one:
Which gives:
And this is the github action run that generated these files. |
Nice! The second separate bug you ran into is because of issues we're currently fixing. The prod rollout last week also changed the return response of Rekor to return back full UUIDs (since 40, rather than 32): so thees fixes are on the way. I just finished releasing slsa-verifier 1.3.1 and 1.2.1: that should include the fix for the separate bug. I'm working on the backports for v1.1/v1.0. I'm still really interested in if the first error is occurring after the rollout... |
Could you try if bumping to https://github.com/slsa-framework/slsa-verifier/releases/tag/v1.3.1 fixes the second issue? |
Ah yes, it appears bumping to v1.3.1 fixed the second issue! I also checked and I can no longer produce the original issue: all newly created attestations appear to be valid. Thank you very much for the help and quick replies! |
I'm using slsa-verifier as a library in my project to do secure updates. Recently, updates have started failing with the output:
The first line appears to be a log message, the second line is the error returned by
verifiers.Verify
. You can see my verification code here and my releasers here.This update flow used to work, but it seems as though it was recently broken. Do you happen to have any advice on how to debug/fix this?
The text was updated successfully, but these errors were encountered: