diff --git a/Cargo.lock b/Cargo.lock index 77fee0a9b..fb88935e2 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2931,6 +2931,20 @@ dependencies = [ "sha2", ] +[[package]] +name = "p521" +version = "0.13.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0fc9e2161f1f215afdfce23677034ae137bbd45016a880c2eb3ba8eb95f085b2" +dependencies = [ + "base16ct", + "ecdsa", + "elliptic-curve", + "primeorder", + "rand_core 0.6.4", + "sha2", +] + [[package]] name = "packet" version = "0.1.4" @@ -3719,9 +3733,9 @@ dependencies = [ [[package]] name = "russh" -version = "0.40.2" +version = "0.42.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "93dab9e1c313d0d04a42e39c0995943fc38c037e2e3fa9c33685777a1aecdfb2" +checksum = "394cc2733c5b5ca9f342d9532b78599849633ccabdbf40f1af094cacf4d86b62" dependencies = [ "aes", "aes-gcm", @@ -3765,9 +3779,9 @@ dependencies = [ [[package]] name = "russh-keys" -version = "0.40.1" +version = "0.42.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9d0de3cb3cbfa773b7f170b6830565fac207a0d630cc666a29f80097cc374dd8" +checksum = "3e98aa03d476f8d2bf6e4525291c1eb8e22f4ae9653d7a5458fd53cb0191c741" dependencies = [ "aes", "async-trait", @@ -3789,6 +3803,7 @@ dependencies = [ "num-integer", "openssl", "p256", + "p521", "pbkdf2 0.11.0", "rand 0.7.3", "rand_core 0.6.4", diff --git a/warpgate-admin/Cargo.toml b/warpgate-admin/Cargo.toml index 53d41ac6d..549c1e9b6 100644 --- a/warpgate-admin/Cargo.toml +++ b/warpgate-admin/Cargo.toml @@ -24,7 +24,7 @@ poem-openapi = { version = "2.0", features = [ "uuid", "static-files", ] } -russh-keys = { version = "0.40.1", features = ["openssl"] } +russh-keys = { version = "0.42.0", features = ["openssl"] } # russh-keys = { version = "0.23.0-beta.1", features = ["openssl"], path = "../../russh/russh-keys" } rust-embed = "6.3" sea-orm = { version = "0.12.2", features = [ diff --git a/warpgate-protocol-ssh/Cargo.toml b/warpgate-protocol-ssh/Cargo.toml index c03b8f66c..423ac05e8 100644 --- a/warpgate-protocol-ssh/Cargo.toml +++ b/warpgate-protocol-ssh/Cargo.toml @@ -12,9 +12,9 @@ bimap = "0.6" bytes = "1.3" dialoguer = "0.10" futures = "0.3" -russh = { version = "0.40.2", features = ["vendored-openssl"] } +russh = { version = "0.42.0", features = ["vendored-openssl"] } # russh = { version = "0.35.0-beta.6", features = ["vendored-openssl"], path = "../../russh/russh"} -russh-keys = { version = "0.40.1", features = ["vendored-openssl"] } +russh-keys = { version = "0.42.0", features = ["vendored-openssl"] } # russh-keys = { version = "0.23.0-beta.1", features = ["vendored-openssl"], path = "../../russh/russh-keys" } sea-orm = { version = "0.12.2", features = [ "runtime-tokio-native-tls",