Skip to content

Commit 72aa097

Browse files
authored
Update deps (#363)
1 parent 9fe7301 commit 72aa097

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

pageant/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ thiserror = { workspace = true }
1515
rand = { workspace = true }
1616
tokio = { workspace = true, features = ["io-util", "rt"] }
1717
bytes = "1.7"
18-
delegate = "0.12"
18+
delegate = "0.13"
1919

2020
[target.'cfg(windows)'.dependencies]
2121
windows = { version = "0.58", features = [

russh-keys/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ openssl = { workspace = true, optional = true }
3535
p256 = "0.13"
3636
p384 = "0.13"
3737
p521 = "0.13"
38-
pbkdf2 = "0.11"
38+
pbkdf2 = "0.12"
3939
pkcs1 = "0.7"
4040
pkcs5 = "0.7"
4141
pkcs8 = { version = "0.10", features = ["pkcs5", "encryption"] }
@@ -80,7 +80,7 @@ home = "0.5"
8080
pageant = { version = "0.0.1-beta.3", path = "../pageant" }
8181

8282
[dev-dependencies]
83-
env_logger = "0.10"
83+
env_logger = "0.11"
8484
tempdir = "0.3"
8585
tokio = { workspace = true, features = ["test-util", "macros", "process"] }
8686

russh-keys/src/format/pkcs8_legacy.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,10 +150,10 @@ impl KeyDerivation {
150150
match *self {
151151
KeyDerivation::Pbkdf2 { ref salt, rounds } => {
152152
pbkdf2::pbkdf2::<hmac::Hmac<sha2::Sha256>>(password, salt, rounds as u32, key)
153+
.map_err(|_| Error::InvalidParameters)
153154
// pbkdf2_hmac(password, salt, rounds as usize, digest, key)?
154155
}
155156
}
156-
Ok(())
157157
}
158158
}
159159
fn asn1_read_pbes2(

russh/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ tokio = { workspace = true, features = ["io-util", "sync", "time"] }
5858

5959
[dev-dependencies]
6060
anyhow = "1.0"
61-
env_logger = "0.10"
61+
env_logger = "0.11"
6262
clap = { version = "3.2", features = ["derive"] }
6363
tokio = { version = "1.17.0", features = [
6464
"io-std",

0 commit comments

Comments
 (0)