deps: bump hmac 0.13 and sha2 0.11 together - #684
Merged
Merged
Conversation
The two crates share digest 0.11, so the separate Dependabot bumps do not compile. Node getrandom moves to 0.4. bitcoin requirement matches the locked 0.32.102. Compatible lock updates come along.
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.
Summary
Dependabot #673 (
sha20.11) and #674 (hmac0.13) each fail because those crates must move together onto digest 0.11. This PR bumps both, and importshmac::KeyInitsoHmacSha256::new_from_slicestill resolves. Tor SAFECOOKIE uses that HMAC.Also in this bump:
getrandom0.3 → 0.4 (samefillcall; store, net, and rpc were already 0.4).bitcoinrequirement 0.32.101 → 0.32.102 (the lock was already there).bitflags2.13.2,cc1.4.7,hex-conservative0.2.3 / 1.3.0,hyper1.11.1,smallvec1.16.1,syn3.0.6,zerocopy0.8.57, and a few smaller ones.Left where they are:
bitcoin_hashes0.14.101. 1.2.0 exists, andbitcoin0.32 still requires 0.14.tokio-tungstenite0.29. 0.30 exists, and axum 0.8 still depends on 0.29.getrandom0.2 and 0.3 stay in the lock becauserand_core0.6 / 0.9 still need them.libc1.0 is an alpha. We stay on 0.2.generic-array0.14.7 andmatchit0.8.4 did not move under the current resolver.Test plan
cargo test -p rbitcoin-node --lib -- tor_ safecookiecargo clippy -p rbitcoin-node --all-targets -- -D warningscargo deny check