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 v0.3 bundle support to DSSEBundleBuilder #1102

Merged
merged 3 commits into from
Apr 3, 2024
Merged

Conversation

bdehamer
Copy link
Collaborator

@bdehamer bdehamer commented Apr 2, 2024

Builds on #1093, updates the @sigstore/sign package to expose the option to generate v0.3-style Sigstore bundles. In order to ensure backward compatibility, the new flag is optional and defaults to generating v0.2 bundles.

Other than the new media type, the defining characteristic of v0.3 bundles is the use of the single certificate field in the verificationMaterial message -- this is why the newly-introduced flag is called singleCertificate.

Setting this new flag to false or leaving it undefined will cause v0.2 bundles to be generated.

@bdehamer bdehamer requested a review from a team as a code owner April 2, 2024 20:15
Copy link

changeset-bot bot commented Apr 2, 2024

🦋 Changeset detected

Latest commit: 33ef700

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@sigstore/sign Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@bdehamer bdehamer merged commit 77e9e17 into main Apr 3, 2024
27 checks passed
@bdehamer bdehamer deleted the bdehamer/sign-v03 branch April 3, 2024 17:53
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