Skip to content

chore(deps): bump sha2 from 0.10.9 to 0.11.0#517

Closed
dependabot[bot] wants to merge 2 commits intomainfrom
dependabot/cargo/sha2-0.11.0
Closed

chore(deps): bump sha2 from 0.10.9 to 0.11.0#517
dependabot[bot] wants to merge 2 commits intomainfrom
dependabot/cargo/sha2-0.11.0

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github Apr 14, 2026

Bumps sha2 from 0.10.9 to 0.11.0.

Commits

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file rust Pull requests that update rust code labels Apr 14, 2026
@dependabot dependabot Bot force-pushed the dependabot/cargo/sha2-0.11.0 branch from bfaca3c to 06b1392 Compare April 23, 2026 00:58
@qhkm
Copy link
Copy Markdown
Owner

qhkm commented Apr 23, 2026

@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>
@dependabot dependabot Bot force-pushed the dependabot/cargo/sha2-0.11.0 branch from 06b1392 to c405cba Compare April 23, 2026 01:30
@qhkm
Copy link
Copy Markdown
Owner

qhkm commented Apr 25, 2026

Superseded by #547 (cherry-pick + finalize() output type fix for sha2 0.11).

@qhkm qhkm closed this Apr 25, 2026
@dependabot @github
Copy link
Copy Markdown
Contributor Author

dependabot Bot commented on behalf of github Apr 25, 2026

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 @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot dependabot Bot deleted the dependabot/cargo/sha2-0.11.0 branch April 25, 2026 04:32
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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file rust Pull requests that update rust code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant