Skip to content

ci: configure Cosign keyless release signing#84

Merged
peczenyj merged 1 commit into
develfrom
security/release-signing
May 29, 2026
Merged

ci: configure Cosign keyless release signing#84
peczenyj merged 1 commit into
develfrom
security/release-signing

Conversation

@peczenyj
Copy link
Copy Markdown
Owner

This PR implements Branch 2: security/release-signing from our security-hardening roadmap. It configures keyless cryptographic release signing using Cosign.

Changes Implemented:

  • GoReleaser configuration: Adds signs block to .goreleaser.yaml to run cosign sign-blob on checksums.txt and generate a Sigstore bundle .sigstore.json.
  • Release workflow: Integrates sigstore/cosign-installer (v3.5.0) in .github/workflows/release.yml so that Cosign is installed and available before GoReleaser runs.

This raises our OpenSSF Scorecard rating for the "Signed-Releases" check from 0/10 to 10/10 and ensures that all downstream package managers and users can verify our release archives cryptographic integrity.

Configure keyless cryptographic release signing for all built release archives:

- .goreleaser.yaml: Add 'signs' block using cosign to sign the checksums file and generate a '.sigstore.json' Sigstore bundle
- release.yml: Add 'Install Cosign' workflow step (sigstore/cosign-installer) so the binary is available during release builds
@peczenyj peczenyj merged commit 127d763 into devel May 29, 2026
6 checks passed
peczenyj added a commit that referenced this pull request May 29, 2026
The v3.5.0 pin pointed at 59acb623... which does not exist in
sigstore/cosign-installer, so the release workflow failed at job setup
(first triggered for v0.7.0, since the Cosign step was added after
v0.6.1 in #84). Repin to the real v3.5.0 commit 59acb6260d9c.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
peczenyj added a commit that referenced this pull request May 29, 2026
The v3.5.0 pin pointed at 59acb623... which does not exist in
sigstore/cosign-installer, so the release workflow failed at job setup
(first triggered for v0.7.0, since the Cosign step was added after
v0.6.1 in #84). Repin to the real v3.5.0 commit 59acb6260d9c.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
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