-
Notifications
You must be signed in to change notification settings - Fork 0
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
Bundle signing using TSA #5
base: dm/tsp
Are you sure you want to change the base?
Conversation
Signed-off-by: Alexis <[email protected]>
Signed-off-by: Alexis <[email protected]>
Signed-off-by: Alexis <[email protected]>
Signed-off-by: Alexis <[email protected]>
Signed-off-by: Alexis <[email protected]>
Signed-off-by: Alexis <[email protected]>
Signed-off-by: Alexis <[email protected]>
Signed-off-by: Alexis <[email protected]>
Signed-off-by: Alexis <[email protected]>
Signed-off-by: Alexis <[email protected]>
Signed-off-by: Alexis <[email protected]>
@@ -58,6 +58,18 @@ jobs: | |||
- name: test | |||
run: make test TEST_ARGS="-vv --showlocals" | |||
|
|||
- name: test (timestamp-authority) |
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.
FLAG: This tests the new Timestamping Functionalities by downloading sigstore/timestamp-authority
.
This could either use an external (and reliable) TSA or be more aggressively cached.
pass | ||
|
||
|
||
class TimestampAuthorityClient: |
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.
FLAG: I'm not fond of the name here, but I couldn't come up with a better one.
sigstore/_internal/timestamping.py
Outdated
msg = f"Invalid network: {error}" | ||
raise TimestampError(msg) | ||
|
||
# Check that we can parse the response but does not *verify* it |
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.
NOTE: We can't verify here because we may not have access to the TSA certificates.
The tests are expected to fail because it does not use (yet) the unreleased version of |
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.
great work! I left a few minor comments
Signed-off-by: Alexis <[email protected]>
Co-authored-by: Facundo Tuesca <[email protected]> Signed-off-by: dm <[email protected]>
Signed-off-by: Alexis <[email protected]>
For the internal review round
Based on the verification branch to ease the review.