Skip to content

feat: take the cosign options a release can't tell from the definition for its checksum files - #325

Merged
suzuki-shunsuke merged 1 commit into
mainfrom
checksum-cosign-extra-opts
Nov 23, 2026
Merged

suzuki-shunsuke merged 1 commit into
mainfrom
checksum-cosign-extra-opts

Conversation

@suzuki-shunsuke

Copy link
Copy Markdown
Member

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.cosign counts only as enabled: 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 sign checksums.txt with a certificate that has no embedded SCT (certificate does not include required embedded SCT), and their definition's --insecure-ignore-sct was 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-sct and --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

…n for its checksum files

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Nov 23, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: a6c89e98-19fb-408c-b87b-dea3c40cecc9

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@suzuki-shunsuke
suzuki-shunsuke merged commit 5a23b72 into main Nov 23, 2026
14 checks passed
@suzuki-shunsuke
suzuki-shunsuke deleted the checksum-cosign-extra-opts branch November 23, 2026 11:30
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.

1 participant