Skip to content

ci: add Sigstore keyless release signing - #49

Merged
JacobOptimiza merged 1 commit into
mainfrom
ci/sigstore-release-signing
Aug 17, 2026
Merged

ci: add Sigstore keyless release signing#49
JacobOptimiza merged 1 commit into
mainfrom
ci/sigstore-release-signing

Conversation

@JacobOptimiza

Copy link
Copy Markdown
Owner

What

  • New sign-release.yml (workflow_dispatch): re-signs the assets of an existing immutable release without touching it — downloads assets, verifies them against the published SHA256SUMS.txt, signs each blob with cosign keyless (GitHub OIDC), and emits signatures/<tag>/ bundles plus an index.json (artifact → SHA-256 → bundle).
  • release.yml: build and publish jobs now sign every release artifact with cosign keyless and ship the .sigstore.json bundles as release assets from the start. id-token: write added only where signing happens (build already had it for attestations; publish gets it for the files generated there).

Trust model

  • No private keys stored anywhere; signer identity is the GitHub Actions OIDC token.
  • Issuer: https://token.actions.githubusercontent.com.
  • Identity patterns: sign-release.yml@refs/heads/main (retroactive signing), release.yml@refs/tags/v* (future releases).

v0.13.0 is immutable and is not modified by this PR; its bundles land in signatures/v0.13.0/ in a follow-up commit after the signing run.

- New sign-release workflow (workflow_dispatch): downloads the assets of
  an existing immutable release, verifies them against the published
  SHA256SUMS.txt, signs each with cosign keyless (GitHub OIDC identity)
  and produces a signature index.
- release.yml: future releases sign every artifact with cosign keyless
  in the build and publish jobs and ship the .sigstore.json bundles as
  release assets from the start.
- No private keys anywhere: identity is the GitHub Actions OIDC token
  (issuer https://token.actions.githubusercontent.com).
@JacobOptimiza
JacobOptimiza merged commit 36470f7 into main Aug 17, 2026
11 checks passed
@JacobOptimiza
JacobOptimiza deleted the ci/sigstore-release-signing branch August 17, 2026 11:46
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