Repository navigation
chore(deps): update rust crate sha2 to 0.11 #44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -45,5 +45,5 @@ aes-gcm = "0.11" | |
| async-trait = "0.1" | ||
| hkdf = "0.12" | ||
| rustix = { version = "1", features = ["pty"] } | ||
| sha2 = "0.10" | ||
| sha2 = "0.11" | ||
|
Comment on lines
46
to
+48
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 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 hkdf = "0.13"
rustix = { version = "1", features = ["pty"] }
sha2 = "0.11"Prompt for LLMTalk to Kody by mentioning @kody Was this suggestion helpful? React with π or π to help Kody learn from this interaction. ββ There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. WHAT: The Kody rule violation: Validate new/updated dependencies for CVEs and supply-chain risk Prompt for LLMTalk to Kody by mentioning @kody Was this suggestion helpful? React with π or π to help Kody learn from this interaction. ββ
Comment on lines
46
to
+48
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Version mismatch in Cargo.toml dev-dependencies: hkdf = "0.13"
rustix = { version = "1", features = ["pty"] }
sha2 = "0.11"Prompt for LLMTalk to Kody by mentioning @kody Was this suggestion helpful? React with π or π to help Kody learn from this interaction. ββ |
||
| tempfile = "3" | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
WHAT: The
sha2dependency 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
digest0.11, but the existinghkdf = "0.12"(and likelyaes-gcm/RustCrypto peers) depends ondigest0.10. Code likeHkdf<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 auditor check OSV for sha2 0.11 and add the output to the PR description. Commit the updated Cargo.lock. Either bumphkdf(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
Talk to Kody by mentioning @kody
Was this suggestion helpful? React with π or π to help Kody learn from this interaction.
ββ