Skip to content

Fix SHA256 calculation - #392

Merged
Gchbg merged 1 commit into
mainfrom
sha256fix
Sep 3, 2026
Merged

Fix SHA256 calculation#392
Gchbg merged 1 commit into
mainfrom
sha256fix

Conversation

@Gchbg

@Gchbg Gchbg commented Sep 3, 2026

Copy link
Copy Markdown
Member

What this PR does / why we need it:
This fixes an incorrect SHA256 calculation. The original code reads an EOF after the MD5 digest has drained the file object, which results in a fixed SHA256 sum - the one of the empty string.

Release note:

Fix SHA256 calculation

@moritzkirchnersap

Copy link
Copy Markdown

Thanks for spotting this!

@Gchbg
Gchbg merged commit ed7c87c into main Sep 3, 2026
6 of 9 checks passed
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