Skip to content

fix: use hardcoded checksum for minisign verification#16

Merged
ramonclaudio merged 2 commits intomainfrom
fix/minisign-checksum
Sep 7, 2025
Merged

fix: use hardcoded checksum for minisign verification#16
ramonclaudio merged 2 commits intomainfrom
fix/minisign-checksum

Conversation

@ramonclaudio
Copy link
Owner

Summary

Fixes the failing publish workflow by using a hardcoded SHA256 checksum for minisign binary verification.

Problem

The publish workflow was failing with:

sha256sum: minisign-0.12-linux.tar.gz.sha256: no properly formatted checksum lines found

Investigation revealed that minisign releases don't provide .sha256 checksum files - they only provide .minisig signature files for cryptographic verification.

Solution

  • Removed the attempt to download non-existent .sha256 file
  • Added hardcoded SHA256 checksum (9a599b48ba6eb7b1e80f12f36b94ceca7c00b7a5173c95c3efc88d9822957e73) for minisign v0.12 Linux binary
  • Simplified cleanup to only remove the tarball (no .sha256 file to remove)

Testing

Verified the checksum by downloading the binary and computing its SHA256:

curl -sL https://github.com/jedisct1/minisign/releases/download/0.12/minisign-0.12-linux.tar.gz | sha256sum
# Output: 9a599b48ba6eb7b1e80f12f36b94ceca7c00b7a5173c95c3efc88d9822957e73  -

This fix will allow the publish workflow to successfully generate security artifacts (minisign signatures, GPG signatures, SBOMs, SLSA attestations) for all releases.

The minisign releases provide .minisig signature files, not .sha256 checksums.
This fix uses a hardcoded SHA256 checksum to verify the minisign binary download
since the .sha256 file doesn't exist at the expected GitHub URL.
Add concurrency groups to CI and Security workflows to prevent duplicate
runs when PRs are created and merged. The workflows will now cancel
in-progress runs when new commits are pushed, saving CI resources.
@ramonclaudio ramonclaudio merged commit eea3bb3 into main Sep 7, 2025
5 checks passed
@ramonclaudio ramonclaudio deleted the fix/minisign-checksum branch September 7, 2025 15:47
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