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: make client shard aware when verifying #282

Merged
merged 1 commit into from
Sep 30, 2022

Conversation

asraa
Copy link
Contributor

@asraa asraa commented Sep 30, 2022

Signed-off-by: Asra Ali asraa@google.com

Makes client aware of shards when verifying the root hash.

The root (!) cause of the issue with the backports is that we were attempting to verify consistency with a signed tree head with the root hash received in the inclusion proof (unsigned).

Requesting the current tree head was the current ACTIVE shard, NOT the shard the entry was on.

Now, we search the inactive shards too in case one of those matches the tree ID of the entry.

Signed-off-by: Asra Ali <asraa@google.com>
@asraa asraa merged commit 0ad6136 into slsa-framework:main Sep 30, 2022
ramonpetgrave64 pushed a commit to ramonpetgrave64/slsa-verifier that referenced this pull request Apr 18, 2024
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.

None yet

2 participants