feat(security): add SHA-256 checksums to release artifacts (B5)#57
Merged
feat(security): add SHA-256 checksums to release artifacts (B5)#57
Conversation
- Generate checksums.txt with SHA-256 for all release binaries - Publish checksums.txt as release asset alongside binaries - Enables downstream SDK integrity verification
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
Contributor
There was a problem hiding this comment.
Pull request overview
Adds SHA-256 checksum generation to the GitHub Release workflow so published CLI binaries ship with a verifiable checksums.txt asset (B5 security evaluation item).
Changes:
- Generate
checksums.txtwith SHA-256 hashes for the four release binaries. - Upload
checksums.txtalongside the release binaries.
Comment on lines
+37
to
+38
| - name: Generate checksums | ||
| run: sha256sum capiscio-linux-amd64 capiscio-darwin-amd64 capiscio-darwin-arm64 capiscio-windows-amd64.exe > checksums.txt |
There was a problem hiding this comment.
The workflow is still pinning Go to 1.24.0 (both build-cli and test jobs), while go.mod requires Go 1.25.0 and CI lint/test already run on 1.25.0. This makes releases/toolchain selection inconsistent and can break builds depending on toolchain auto-download behavior. Consider updating actions/setup-go to v5 and setting go-version to 1.25.0 here as well.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds SHA-256 checksum generation to the release workflow (B5 - design partner eval, part 1/3).
Changes
checksums.txtcontaining SHA-256 hashes for all 4 release binarieschecksums.txtas a release asset alongside the binariesRelated PRs
Evaluation Plan
Design partner eval item B5 (P1 — Security)