Skip to content

Update sha2 to 0.11.1 - #1382

Open
AlexWaygood wants to merge 1 commit into
mainfrom
alex/pbs-sha2-011
Open

AlexWaygood wants to merge 1 commit into
mainfrom
alex/pbs-sha2-011

Conversation

@AlexWaygood

Copy link
Copy Markdown
Member

Upgrade sha2 from 0.10.9 to 0.11.1. The new release no longer implements std::io::Write for Sha256, so the previous archive hashing code does not compile.

Hash LLVM archives in chunks while reading them. An archive that fails size or SHA-256 verification is rejected before decompression; when verification succeeds, rewind the file so decompression reads it from the beginning.

@AlexWaygood

Copy link
Copy Markdown
Member Author

(this is pure codex, unreviewed by me, please feel free to close this if it's unhelpful!)

@AlexWaygood
AlexWaygood marked this pull request as ready for review October 21, 2026 20:34

This branch has not been deployed

No deployments
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