Skip to content

Sign release checksums with Cosign - #914

Open
scop wants to merge 1 commit into
miniscruff:mainfrom
scop:chore/cosign-checksums
Open

Sign release checksums with Cosign#914
scop wants to merge 1 commit into
miniscruff:mainfrom
scop:chore/cosign-checksums

Conversation

@scop

@scop scop commented Jul 31, 2026

Copy link
Copy Markdown

Refs

This yields a checksums.txt.sigstore.json in release assets, which can be used to verify the checksums file and thus transitively files listed in it. This can be done manually using cosign, and software such as aqua and mise can do it automatically on install.

Closes #NNN

Check the following

  • Maintain high code coverage
  • Be properly formatted
  • Documentation changes are included
  • Include a change file if expected

Additional context

Note: with this, one likely wants to use --skip=sign if running goreleaser release --snapshot to test (other) things locally.

Caveat: untested, but have set this up for multiple projects, one recent sample at daveshanley/vacuum#927

Refs
- https://www.sigstore.dev
- https://docs.sigstore.dev/cosign/signing/overview/
- https://github.com/sigstore/cosign
- https://goreleaser.com/customization/sign/sign/#signing-with-cosign

This yields a checksums.txt.sigstore.json in release assets, which can
be used to verify the checksums file and thus transitively files listed
in it. This can be done manually using cosign, and software such as aqua
and mise can do it automatically on install.

Note: with this, one likely wants to use --skip=sign if running
goreleaser release --snapshot to test (other) things locally.
@codacy-production

Copy link
Copy Markdown

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.

@miniscruff

Copy link
Copy Markdown
Owner

Will create an issue for this and do some research, I really don't know much about sigstore or signature signing yet so its hard to know if this is helpful or not. Sorry for the delay.

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.

2 participants