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

View File

@ -106,7 +106,7 @@ prost-build = "0.14.3"
qdrant-client = "1.17.0" qdrant-client = "1.17.0"
prost-types = "0.14.3" prost-types = "0.14.3"
rand = "0.10.0" 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" } hmac = { version = "0.13" }
hkdf = "0.13.0" hkdf = "0.13.0"
sha1_smol = "1.0.1" sha1_smol = "1.0.1"
@ -237,4 +237,4 @@ documentation.workspace = true
[lib] [lib]
path = "lib.rs" path = "lib.rs"
crate-type = ["lib"] crate-type = ["lib"]