Enable RSA support in russh

This commit is contained in:
ZhenYi 2026-05-14 21:45:05 +08:00
parent a3ecf0c88b
commit a1d245a767
2 changed files with 7 additions and 2 deletions

5
Cargo.lock generated
View File

@ -4676,6 +4676,7 @@ dependencies = [
"ed25519-dalek 3.0.0-pre.6",
"hex",
"hmac 0.13.0",
"num-bigint-dig",
"p256 0.14.0-rc.7",
"p384 0.14.0-rc.7",
"p521",
@ -5989,6 +5990,7 @@ dependencies = [
"num-iter",
"num-traits",
"rand 0.8.5",
"serde",
"smallvec",
"zeroize",
]
@ -8237,6 +8239,7 @@ dependencies = [
"rand_core 0.10.0",
"sha2 0.11.0",
"signature 3.0.0-rc.10",
"spki 0.8.0-rc.4",
"zeroize",
]
@ -8292,12 +8295,14 @@ dependencies = [
"pageant",
"pbkdf2 0.12.2",
"pbkdf2 0.13.0",
"pkcs1 0.8.0-rc.4",
"pkcs5",
"pkcs8 0.11.0-rc.11",
"polyval 0.7.1",
"rand 0.10.1",
"rand_core 0.10.0",
"ring",
"rsa 0.10.0-rc.16",
"russh-cryptovec",
"russh-util",
"salsa20",

View File

@ -106,7 +106,7 @@ prost-build = "0.14.3"
qdrant-client = "1.17.0"
prost-types = "0.14.3"
rand = "0.10.0"
russh = { version = "0.60.2", default-features = false, features = ["ring"] }
russh = { version = "0.60.2", default-features = false, features = ["ring", "rsa"] }
hmac = { version = "0.13" }
hkdf = "0.13.0"
sha1_smol = "1.0.1"
@ -237,4 +237,4 @@ documentation.workspace = true
[lib]
path = "lib.rs"
crate-type = ["lib"]
crate-type = ["lib"]