Skip to content

ci(release): sign checksums-sha256.txt with cosign keyless (#1327) - #1394

Merged
ajianaz merged 2 commits into
developfrom
ci/release-cosign-sign-checksums
Oct 9, 2026
Merged

ajianaz merged 2 commits into
developfrom
ci/release-cosign-sign-checksums

Conversation

@ajianaz

@ajianaz ajianaz commented Oct 9, 2026

Copy link
Copy Markdown
Collaborator

What

  • release job in release.yml: adds id-token: write, installs cosign (sigstore/cosign-installer@v3) and runs cosign sign-blob --yes --bundle checksums-sha256.txt.bundle checksums-sha256.txt right after the checksums are generated, so the bundle is uploaded with the other release assets.
  • SECURITY.md: how to verify the signature (cosign verify-blob with the workflow identity and the GitHub OIDC issuer) and then the archive.

Why

Stage 1 of #1327. The checksums file comes from the same release as the archive, so it only detects corruption. A keyless signature bound to this workflow's identity lets anyone prove the checksums were produced by the release workflow, with no signing key to manage. uteke upgrade is deliberately not changed here (stage 2, separate PR once a signed release exists and verifies).

Testing

  • release.yml parses as valid YAML; the change is two additive steps plus one permission
  • NOT tested: the signing step itself. It only runs on a tag push, so the first real run is the next release. The identity string in SECURITY.md (.../release.yml@refs/tags/<tag>) follows the Sigstore convention for tag-triggered workflows and must be confirmed against the first signed release before stage 2
  • Risk if it fails: the release job fails before publishing; revert this PR to restore the old flow

🤖 Generated with Claude Code

ajianaz and others added 2 commits October 9, 2026 08:19
Optional `name` keeps rooms whose id or title contains the text
(case-insensitive). Omitted or blank keeps the full list.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
The release job gets id-token: write, installs cosign and publishes
checksums-sha256.txt.bundle next to the checksums. SECURITY.md documents how
to verify it. uteke upgrade is unchanged.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
@github-actions

github-actions Bot commented Oct 9, 2026

Copy link
Copy Markdown

🔍 Cora AI Code Review

✅ No issues found. Code looks good!


Review powered by cora-code · BYOK · MIT

@ajianaz
ajianaz merged commit bfe41d6 into develop Oct 9, 2026
15 checks passed
@ajianaz
ajianaz deleted the ci/release-cosign-sign-checksums branch October 9, 2026 01:33
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