Skip to content

Commit

Permalink
Update deps (#363)
Browse files Browse the repository at this point in the history
  • Loading branch information
rukai authored Oct 21, 2024
1 parent 9fe7301 commit 72aa097
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion pageant/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ thiserror = { workspace = true }
rand = { workspace = true }
tokio = { workspace = true, features = ["io-util", "rt"] }
bytes = "1.7"
delegate = "0.12"
delegate = "0.13"

[target.'cfg(windows)'.dependencies]
windows = { version = "0.58", features = [
Expand Down
4 changes: 2 additions & 2 deletions russh-keys/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ openssl = { workspace = true, optional = true }
p256 = "0.13"
p384 = "0.13"
p521 = "0.13"
pbkdf2 = "0.11"
pbkdf2 = "0.12"
pkcs1 = "0.7"
pkcs5 = "0.7"
pkcs8 = { version = "0.10", features = ["pkcs5", "encryption"] }
Expand Down Expand Up @@ -80,7 +80,7 @@ home = "0.5"
pageant = { version = "0.0.1-beta.3", path = "../pageant" }

[dev-dependencies]
env_logger = "0.10"
env_logger = "0.11"
tempdir = "0.3"
tokio = { workspace = true, features = ["test-util", "macros", "process"] }

Expand Down
2 changes: 1 addition & 1 deletion russh-keys/src/format/pkcs8_legacy.rs
Original file line number Diff line number Diff line change
Expand Up @@ -150,10 +150,10 @@ impl KeyDerivation {
match *self {
KeyDerivation::Pbkdf2 { ref salt, rounds } => {
pbkdf2::pbkdf2::<hmac::Hmac<sha2::Sha256>>(password, salt, rounds as u32, key)
.map_err(|_| Error::InvalidParameters)
// pbkdf2_hmac(password, salt, rounds as usize, digest, key)?
}
}
Ok(())
}
}
fn asn1_read_pbes2(
Expand Down
2 changes: 1 addition & 1 deletion russh/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ tokio = { workspace = true, features = ["io-util", "sync", "time"] }

[dev-dependencies]
anyhow = "1.0"
env_logger = "0.10"
env_logger = "0.11"
clap = { version = "3.2", features = ["derive"] }
tokio = { version = "1.17.0", features = [
"io-std",
Expand Down

0 comments on commit 72aa097

Please sign in to comment.