Repository navigation
feat: take the cosign options a release can't tell from the definition for its checksum files - #325
Merged
Merged
Conversation
…n for its checksum files Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
When ar2 checks a release's checksum files, it reads the signer, the certificate and the signature off the release, and the definition's
checksum.cosigncounts only asenabled: false. So nothing could say how far to trust a signature, and orlangure/gocovsh's v0.5.0 and v0.5.1 stay unpublished. They signchecksums.txtwith a certificate that has no embedded SCT (certificate does not include required embedded SCT), and their definition's--insecure-ignore-sctwas ignored (aquaproj/aqua-registry-g2#19902).Of the definition's
checksum.cosign.opts, the options that nothing in the release says are now added after the ones read off the signature. These are--insecure-ignore-sctand--insecure-ignore-tlog. Anything else there, such as a signer or a certificate, is left out, because the release is what says those, and the signer read off it is still checked.Tests cover which options are taken and that they go after the inferred ones with the signer unchanged.
🤖 Generated with Claude Code