chore(deps): bump sha2 from 0.10.9 to 0.11.0#517
Closed
dependabot[bot] wants to merge 2 commits intomainfrom
Closed
chore(deps): bump sha2 from 0.10.9 to 0.11.0#517dependabot[bot] wants to merge 2 commits intomainfrom
dependabot[bot] wants to merge 2 commits intomainfrom
Conversation
bfaca3c to
06b1392
Compare
Owner
|
@dependabot rebase |
Bumps [sha2](https://github.com/RustCrypto/hashes) from 0.10.9 to 0.11.0. - [Commits](RustCrypto/hashes@sha2-v0.10.9...sha2-v0.11.0) --- updated-dependencies: - dependency-name: sha2 dependency-version: 0.11.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
06b1392 to
c405cba
Compare
Owner
|
Superseded by #547 (cherry-pick + finalize() output type fix for sha2 0.11). |
Contributor
Author
|
OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting If you change your mind, just re-open this PR and I'll resolve any conflicts on it. |
qhkm
added a commit
that referenced
this pull request
Apr 25, 2026
## Summary
sha2 0.11 migrated \`digest\` to v0.11 which switched \`finalize()\`
output from \`GenericArray\` (impls \`LowerHex\`) to
\`hybrid-array::Array\` (does *not* impl \`LowerHex\`). Three call sites
used \`format!(\"{:x}\", hasher.finalize())\` and broke the build.
Switched all three to \`hex::encode(hasher.finalize())\` (we already
pull the \`hex\` crate directly). Identical lowercase-hex output, no
behavior change.
## Sites
- \`src/cache/response_cache.rs:75\` — response cache key
- \`src/security/pairing.rs:351\` — token hashing for pairing
- \`src/cli/update.rs:172\` — binary integrity verification
## Validation
- \`cargo check --release\` ✅
- \`cargo clippy --release -- -D warnings\` ✅
- \`cargo nextest run --lib\` → 3435 passed
- \`cargo update -p sha2\` → 0.11.0, also pulls digest 0.11.2 +
hybrid-array 0.4.11
Closes #517.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
* **Chores**
* Updated cryptographic library dependency to a newer version for
enhanced compatibility and security improvements.
* Refactored internal hash formatting implementation across caching,
verification, and security components for improved code consistency.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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.
Bumps sha2 from 0.10.9 to 0.11.0.
Commits
ffe0939Release sha2 0.11.0 (#806)8991b65Use the standard order of the[package]section fields (#807)3d2bc57sha2: refactor backends (#802)faa55fbsha3: bumpkeccakto v0.2 (#803)d3e6489sha3 v0.11.0-rc.9 (#801)bbf6f51sha2: tweak backend docs (#800)155dbbfsha3: add default value for theDSgeneric parameter onTurboShake128/256...ed514f2Use published version ofkeccakv0.2 (#799)702bcd8Migrate to closure-basedkeccak(#796)827c043sha3 v0.11.0-rc.8 (#794)