-
Notifications
You must be signed in to change notification settings - Fork 165
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
Include checkpoint (STH) in entry upload and retrieve responses #1015
Conversation
Tests are lacking - Not sure what's the best way to test this without significant refactoring. I added a check that a checkpoint is present on |
Codecov Report
@@ Coverage Diff @@
## main #1015 +/- ##
==========================================
- Coverage 41.59% 41.47% -0.13%
==========================================
Files 71 71
Lines 6933 6980 +47
==========================================
+ Hits 2884 2895 +11
- Misses 3748 3781 +33
- Partials 301 304 +3
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
b8c268c
to
eaa57ba
Compare
Sample response from an upload:
|
This associates a root hash in an inclusion proof with a signed commitment from the log. Previously, without this included, there was no connection between an inclusion proof and the log. An inclusion proof and checkpoint can be an alternative proof of inclusion instead of a SET. Ref sigstore#988 Signed-off-by: Hayden Blauzvern <hblauzvern@google.com>
Signed-off-by: Hayden Blauzvern <hblauzvern@google.com>
Signed-off-by: Hayden Blauzvern <hblauzvern@google.com>
eaa57ba
to
5df9779
Compare
Addressed feedback, there's a lot less code duplication now. |
Signed-off-by: Hayden Blauzvern <hblauzvern@google.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks! looking great
Signed-off-by: Hayden Blauzvern <hblauzvern@google.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yay!
Thanks y'all, it's ready to merge! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nice!!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nice!!
This associates a root hash in an inclusion proof with a signed
commitment from the log. Previously, without this included, there was no
connection between an inclusion proof and the log. An inclusion proof
and checkpoint can be an alternative proof of inclusion instead of a
SET.
Ref #988
Signed-off-by: Hayden Blauzvern hblauzvern@google.com
Summary
Release Note
Added a signed checkpoint when requesting an inclusion proof
Documentation