Skip to content

Sign release checksums with cosign keyless#84

Merged
andrew merged 1 commit intomainfrom
cosign-signing
Apr 13, 2026
Merged

Sign release checksums with cosign keyless#84
andrew merged 1 commit intomainfrom
cosign-signing

Conversation

@andrew
Copy link
Copy Markdown
Contributor

@andrew andrew commented Apr 13, 2026

Adds sigstore keyless signing to the release pipeline, matching git-pkgs/git-pkgs@0a82984.

The workflow gets id-token: write permission so cosign can exchange the GitHub OIDC token with Fulcio for a short-lived signing cert. No keys to manage. Releases will publish checksums.txt.sig and checksums.txt.pem alongside the binaries.

Bumped cosign-installer to v4.1.1 (the git-pkgs commit used v3.10.0).

Verify with:

cosign verify-blob \
  --certificate checksums.txt.pem \
  --signature checksums.txt.sig \
  --certificate-identity-regexp 'https://github.com/git-pkgs/proxy/.github/workflows/release.yml@refs/tags/v.*' \
  --certificate-oidc-issuer https://token.actions.githubusercontent.com \
  checksums.txt

@andrew andrew merged commit d3d1144 into main Apr 13, 2026
7 checks passed
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