Repository navigation
chore(deps): update rust crate sha2 to 0.11 - #44
cachekit-renovate-bot[bot] wants to merge 1 commit into
Conversation
Code Review Completed! 🔥The code review was successfully completed based on your current configurations. Kody Guide: Usage and ConfigurationInteracting with Kody
Providing Context (Files & MCPs)Add these hints in your PR description (or a comment) to unlock deeper checks:
Current Kody ConfigurationReview OptionsThe following review options are enabled or disabled:
Kody Code Review — 2 suggested fixes. 🛠️ Open Agent Prompt |
| hkdf = "0.12" | ||
| rustix = { version = "1", features = ["pty"] } | ||
| sha2 = "0.10" | ||
| sha2 = "0.11" |
There was a problem hiding this comment.
WHAT: The sha2 dependency moves from 0.10 to 0.11. This diff has no evidence of a CVE or supply-chain check, and no matching Cargo.lock update is visible.
WHY: For 0.x crates, a minor version bump is semver-breaking. sha2 0.11 depends on digest 0.11, but the existing hkdf = "0.12" (and likely aes-gcm/RustCrypto peers) depends on digest 0.10. Code like Hkdf<Sha256> would then fail to compile, or the build would pull in duplicate digest versions. Dependency changes also need audit evidence before merge.
HOW: Run cargo audit or check OSV for sha2 0.11 and add the output to the PR description. Commit the updated Cargo.lock. Either bump hkdf (and any other digest-0.10 consumers) to versions built on digest 0.11, or keep sha2 at 0.10 until the whole RustCrypto set can move together.
Kody rule violation: Validate new/updated dependencies for CVEs and supply-chain risk
Prompt for LLM
File Cargo.toml:
Line 48:
WHAT: The `sha2` dependency moves from 0.10 to 0.11. This diff has no evidence of a CVE or supply-chain check, and no matching Cargo.lock update is visible.
WHY: For 0.x crates, a minor version bump is semver-breaking. sha2 0.11 depends on `digest` 0.11, but the existing `hkdf = "0.12"` (and likely `aes-gcm`/RustCrypto peers) depends on `digest` 0.10. Code like `Hkdf<Sha256>` would then fail to compile, or the build would pull in duplicate digest versions. Dependency changes also need audit evidence before merge.
HOW: Run `cargo audit` or check OSV for sha2 0.11 and add the output to the PR description. Commit the updated Cargo.lock. Either bump `hkdf` (and any other digest-0.10 consumers) to versions built on digest 0.11, or keep sha2 at 0.10 until the whole RustCrypto set can move together.
Talk to Kody by mentioning @kody
Was this suggestion helpful? React with 👍 or 👎 to help Kody learn from this interaction.
| hkdf = "0.12" | ||
| rustix = { version = "1", features = ["pty"] } | ||
| sha2 = "0.10" | ||
| sha2 = "0.11" |
There was a problem hiding this comment.
Version mismatch in Cargo.toml dev-dependencies: sha2 0.11 implements digest 0.11 traits, while hkdf 0.12 depends on digest 0.10.7 through hmac 0.12.1 (per Cargo.lock). When cargo test compiles the frozen module, the Hkdf::<Sha256>::new(...) call in src/store.rs:327 fails because sha2 0.11's Sha256 does not satisfy hkdf 0.12's digest 0.10 trait bounds. Fix: bump hkdf to 0.13 (hmac 0.13 / digest 0.11) in the same change, or keep sha2 at 0.10.
hkdf = "0.13"
rustix = { version = "1", features = ["pty"] }
sha2 = "0.11"Prompt for LLM
File Cargo.toml:
Line 46 to 48:
Version mismatch in Cargo.toml dev-dependencies: sha2 0.11 implements digest 0.11 traits, while hkdf 0.12 depends on digest 0.10.7 through hmac 0.12.1 (per Cargo.lock). When `cargo test` compiles the `frozen` module, the `Hkdf::<Sha256>::new(...)` call in src/store.rs:327 fails because sha2 0.11's `Sha256` does not satisfy hkdf 0.12's digest 0.10 trait bounds. Fix: bump hkdf to 0.13 (hmac 0.13 / digest 0.11) in the same change, or keep sha2 at 0.10.
Suggested Code:
hkdf = "0.13"
rustix = { version = "1", features = ["pty"] }
sha2 = "0.11"
Talk to Kody by mentioning @kody
Was this suggestion helpful? React with 👍 or 👎 to help Kody learn from this interaction.
This PR contains the following updates:
0.10→0.11Release Notes
RustCrypto/hashes (sha2)
v0.11.1Compare Source
v0.11.0Compare Source
Configuration
📅 Schedule: (in timezone Australia/Sydney)
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate.