Skip to content

Commit 761483a

Browse files
authored
fixed #720 - bump deps (#721)
1 parent f1a0f18 commit 761483a

2 files changed

Lines changed: 11 additions & 12 deletions

File tree

russh/Cargo.toml

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -38,29 +38,28 @@ bytes.workspace = true
3838
cbc = { version = "0.2" }
3939
cipher = "0.5.1" # only pinned due to a cargo-minimal-versions failure in 0.5.0
4040
ctr = "0.10"
41-
curve25519-dalek = "=5.0.0-pre.6"
41+
curve25519-dalek = "=5.0.0-rc.0"
4242
crypto-bigint = { version = "0.7.3", features = ["alloc"] }
4343
data-encoding = "2.3"
4444
delegate.workspace = true
4545
digest.workspace = true
4646
der = "0.8"
4747
des = { version = "0.9", optional = true }
4848
ecdsa = "=0.17.0-rc.18"
49-
ed25519-dalek = { version = "=3.0.0-pre.7", features = ["alloc", "rand_core", "pkcs8"] }
50-
elliptic-curve = { version = "=0.14.0-rc.32", features = ["ecdh"] }
49+
ed25519-dalek = { version = "=3.0.0-rc.0", features = ["alloc", "rand_core", "pkcs8"] }
50+
elliptic-curve = { version = "=0.14.0-rc.33", features = ["ecdh"] }
5151
enum_dispatch = "0.3.13"
5252
flate2 = { version = "1.0.15", optional = true }
5353
futures.workspace = true
5454
generic-array = { version = "1.3.3", features = ["compat-0_14"] }
55-
getrandom = { version = "0.2.15", features = ["js"] }
55+
getrandom = { version = "0.4", features = ["wasm_js"] }
5656
ghash = "0.6.0" # only pinned due to a cargo-minimal-versions failure in 0.6.0-rc.3
5757
hex-literal = "1"
58-
hkdf = "0.13.0"
5958
hmac.workspace = true
60-
inout = { version = "0.1", features = ["std"] }
59+
inout = { version = "0.2" }
6160
keccak = "0.2.0"
6261
log.workspace = true
63-
md5 = "0.7"
62+
md5 = "0.8"
6463
ml-kem = "0.3"
6564
module-lattice = "0.2"
6665
# num-bigint 0.4.x only supports rand 0.8. PR #338 adds rand 0.10 support
@@ -69,9 +68,9 @@ module-lattice = "0.2"
6968
num-bigint = { package = "internal-russh-num-bigint", version = "=0.5.0", features = ["rand_0_10"] }
7069
num_bigint_0_4 = { package = "num-bigint", version = "0.4.6" }
7170
# num-integer = "0.1"
72-
p256 = { version = "=0.14.0-rc.9", features = ["ecdh"] }
73-
p384 = { version = "=0.14.0-rc.9", features = ["ecdh"] }
74-
p521 = { version = "=0.14.0-rc.9", features = ["ecdh"] }
71+
p256 = { version = "=0.14.0-rc.10", features = ["ecdh"] }
72+
p384 = { version = "=0.14.0-rc.10", features = ["ecdh"] }
73+
p521 = { version = "=0.14.0-rc.10", features = ["ecdh"] }
7574
pbkdf2 = "0.13"
7675
pkcs1 = { version = "=0.8.0-rc.4", optional = true }
7776
pkcs5 = "0.8"
@@ -100,7 +99,7 @@ thiserror.workspace = true
10099
tokio = { workspace = true, features = ["io-util", "sync", "time"] }
101100
typenum = "1.17"
102101
universal-hash = "0.6.1" # only pinned due to a cargo-minimal-versions failure in 0.6.0
103-
yasna = { version = "0.5.0", features = [
102+
yasna = { version = "0.6", features = [
104103
"bit-vec",
105104
"num-bigint",
106105
], optional = true }

russh/src/keys/format/pkcs5.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ pub fn decode_pkcs5(
1919
let mut c = md5::Context::new();
2020
c.consume(pass.as_bytes());
2121
c.consume(&iv[..8]);
22-
let md5 = c.compute();
22+
let md5 = c.finalize();
2323

2424
#[allow(clippy::unwrap_used)] // AES parameters are static
2525
let c = cbc::Decryptor::<Aes128>::new_from_slices(&md5.0, &iv[..]).unwrap();

0 commit comments

Comments
 (0)