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 suffix with digest to signature file output for recursive signing #1267

Merged
merged 1 commit into from
Jan 15, 2022

Conversation

sabre1041
Copy link
Contributor

Currently, when specifying an output signature file name during signing, the signature file is overridden when attempting to sign recursively. This feature enables appending a suffix of the image digest to the name of the output file provided. The @ in the digest string is replaced by a - in a similar fashion as when tags are applied to signatures and attestations

Non recursive sign: <signature_output_provided>
Recursive sign: <signature_output_provided>-<modified_digest>

Resolves #1257

@dlorenc dlorenc merged commit 78ee720 into sigstore:main Jan 15, 2022
@github-actions github-actions bot added this to the v1.5.0 milestone Jan 15, 2022
@sabre1041 sabre1041 deleted the sign-certificate-output-suffix branch January 25, 2022 00:47
mlieberman85 pushed a commit to mlieberman85/cosign that referenced this pull request May 6, 2022
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.

Signature and Certificate Files Overwritten During signing when recursive option chosen
2 participants