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

add RFC3161 timestamp tests #116

Merged
merged 1 commit into from
Jan 3, 2024
Merged

Conversation

bdehamer
Copy link
Contributor

Adds one positive and one negative test for RFC3161 timestamps:

  • Updates d.txt.good.sigstore to include an RFC3161 timestamp.
  • Updates trusted_root.d.json to include the necessary timestamp authority cert chain.
  • Adds the test_verify_rejects_bad_tsa_timestamp test case which attempts to verify a bundle containing an RFC3161 timestamp which was issued outside the validity window of the Fulcio signing certificate.

Signed-off-by: Brian DeHamer <[email protected]>
@bdehamer
Copy link
Contributor Author

/cc @steiza

woodruffw
woodruffw previously approved these changes Dec 19, 2023
Copy link
Member

@woodruffw woodruffw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM structurally, I think we'll need another xfail line for this for sigstore-python 🙂

@steiza
Copy link
Member

steiza commented Jan 3, 2024

This looks good to me!

@woodruffw woodruffw merged commit b6c407f into sigstore:main Jan 3, 2024
4 of 5 checks passed
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.

4 participants