Skip to content

Add release verification tooling - #108

Open
mtg0001 wants to merge 1 commit into
Bitflash-sh:mainfrom
mtg0001:release-signature-verification
Open

Add release verification tooling#108
mtg0001 wants to merge 1 commit into
Bitflash-sh:mainfrom
mtg0001:release-signature-verification

Conversation

@mtg0001

@mtg0001 mtg0001 commented Aug 2, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Add scripts/verify-release.sh to download release assets, verify SHA256SUMS.asc when present, and check every asset listed in SHA256SUMS.
  • Add scripts/make-release-checksums.sh so maintainers can create SHA256SUMS and optionally sign it as SHA256SUMS.asc.
  • Document the user and maintainer release verification flow.
  • Wire the tooling through make checksums, make sign-checksums, and make verify-release.

Why

SHA256SUMS proves a download matches the checksum file, but it does not prove who wrote that checksum file. A detached signature over SHA256SUMS gives releases a clearer chain of custody: users can verify the signer first, then verify the binaries.

This is not reproducible builds yet. It is the smaller release-hardening step that makes future assets auditable before users run them.

Testing

  • bash -n scripts/verify-release.sh scripts/make-release-checksums.sh
  • make verify-release TAG=v1.2.13
  • temporary release-asset fixture with scripts/make-release-checksums.sh followed by sha256sum -c SHA256SUMS
  • scripts/verify-release.sh v1.2.13 --require-signature fails as expected because v1.2.13 does not publish SHA256SUMS.asc
  • git diff --check

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