Skip to content

crypto: print SHA-256 checksum bytes - #11

Merged
crazy-max merged 1 commit into
devfrom
pr-196-fix-sha256-checksum-output
Aug 18, 2026
Merged

crazy-max merged 1 commit into
devfrom
pr-196-fix-sha256-checksum-output

Conversation

@crazy-max

Copy link
Copy Markdown
Owner

The SHA-256 formatter accidentally iterated over checksum.sha1 and printed bytes from the SHA-1 buffer. Use checksum.sha256 so checksum listings and mismatch diagnostics report the stored SHA-256 digest.

Cherry-picked from dscharrer#196 (cc @Red54)

Upstream commit: eac2fc9

The SHA-256 formatter accidentally iterated over checksum.sha1 and printed bytes from the SHA-1 buffer. Use checksum.sha256 so checksum listings and mismatch diagnostics report the stored SHA-256 digest.

Cherry-picked from dscharrer#196.

Upstream commit: eac2fc9
@crazy-max
crazy-max marked this pull request as ready for review August 18, 2026 16:38
@crazy-max
crazy-max merged commit 2ed429e into dev Aug 18, 2026
33 checks passed
@crazy-max
crazy-max deleted the pr-196-fix-sha256-checksum-output branch August 18, 2026 16:38
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