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

Simplify DSSE bundle tests #115

Merged
merged 1 commit into from
Dec 18, 2023

Conversation

bdehamer
Copy link
Contributor

Updates the recently-added DSSE bundle tests to simplify the test set-up. Previously, the attestation subject was a binary artifact. With this update, the subject is now a simple text file (similar to the other test subjects).

I've also removed the RFC31616 timestamp from all of the test bundles -- due to an error in code used to generate the test bundles, the timestamp was invalid. When I've fixed the issue, I'll submit another PR to re-add test cases around RFC3161 timestamp verification.

Signed-off-by: Brian DeHamer <bdehamer@github.com>
@woodruffw woodruffw added the component:tests Unit and integration tests label Dec 18, 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! @steiza @tnytown could you give this a look as well?

Copy link
Member

@steiza steiza left a comment

Choose a reason for hiding this comment

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

Looks good to me!

@woodruffw woodruffw merged commit 245737c into sigstore:main Dec 18, 2023
3 checks passed
@bdehamer bdehamer deleted the bdehamer/dsse-bundle-refresh branch December 19, 2023 18:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component:tests Unit and integration tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants