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

Inclusion proof is required #658

Merged
merged 1 commit into from
Mar 19, 2024
Merged

Inclusion proof is required #658

merged 1 commit into from
Mar 19, 2024

Conversation

loosebazooka
Copy link
Member

@loosebazooka loosebazooka commented Mar 14, 2024

This makes inclusion proof on entry.verification not optional.

Verification of an entry implies the inclusion proof will also be verified.

Rework the code a bit to reflect this and update tests.

Why?
Inclusion proof being optional was a function of rekor initially not providing an inclusion proof when an entry was inserted into the log. Now, at insertion time, the returned entry contains a proof.

Consequences?
v1 bundles generated without an inclusion proof will fail to verify.

This makes inclusion proof on entry.verification not optional.

Verification of an entry implies the inclusion proof will also
be verified.

Rework the code a bit to reflect this and update tests.

Signed-off-by: Appu Goundan <[email protected]>
@loosebazooka loosebazooka requested review from vlsi and patflynn March 14, 2024 21:27
@loosebazooka loosebazooka merged commit 7063a81 into main Mar 19, 2024
15 checks passed
@loosebazooka loosebazooka deleted the must-have-inclusion-proof branch March 19, 2024 20:16
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.

2 participants