Skip to content

Bump crypto deps to digest 0.11 line and toml to 1.1#26

Merged
ibnbd merged 1 commit intomainfrom
chore/bump-deps
Apr 5, 2026
Merged

Bump crypto deps to digest 0.11 line and toml to 1.1#26
ibnbd merged 1 commit intomainfrom
chore/bump-deps

Conversation

@ibnbd
Copy link
Copy Markdown
Contributor

@ibnbd ibnbd commented Apr 5, 2026

Summary

  • Upgrade sha2 (0.10→0.11), hmac (0.12→0.13), hkdf (0.12→0.13) to the digest 0.11 ecosystem
  • Upgrade chacha20poly1305 (0.10→0.11-rc.3), aes-gcm (0.10→0.11-rc.3), blake2 (0.10→0.11-rc.5), pbkdf2 (0.12→0.13-rc.10) — RC versions required as stable releases for digest 0.11 are not yet published by RustCrypto
  • Upgrade toml (1.0→1.1)
  • Fix hmac 0.13 API change: import KeyInit trait for new_from_slice
  • Fix chacha20poly1305 0.11 API changes: Nonce::from_sliceNonce::from, nonce passed by reference to decrypt/encrypt

Supersedes #19, #20, #22, #25 — Dependabot bumped these crates individually, but sha2/hmac/hkdf share the digest trait ecosystem and must be upgraded together to avoid digest 0.10 vs 0.11 trait conflicts.

Test plan

  • cargo clippy --workspace -- -D warnings passes
  • cargo test --workspace passes (all 166 unit tests)
  • cargo fmt --all -- --check passes

Upgrade sha2 (0.10→0.11), hmac (0.12→0.13), hkdf (0.12→0.13),
chacha20poly1305 (0.10→0.11-rc.3), aes-gcm (0.10→0.11-rc.3),
blake2 (0.10→0.11-rc.5), pbkdf2 (0.12→0.13-rc.10), and toml (1.0→1.1).

These crates share the digest trait ecosystem — sha2/hmac/hkdf moved to
digest 0.11 and the remaining RustCrypto crates need RC versions to match.
Dependabot PRs #20, #22, #25 failed CI because they bumped crates
individually, causing digest 0.10 vs 0.11 trait conflicts. PR #19 (toml)
had a merge conflict. This PR supersedes all four.
@ibnbd ibnbd force-pushed the chore/bump-deps branch from c3107e9 to 4e0a94e Compare April 5, 2026 03:09
@ibnbd ibnbd merged commit 157d5e9 into main Apr 5, 2026
4 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.

1 participant