@@ -26,8 +26,8 @@ log = { version = "0.4", optional = true }
26
26
tokio = { version = " 1" , optional = true , features = [" rt" , " net" , " time" ] }
27
27
tokio-util = { version = " 0.7" , optional = true , features = [" codec" ] }
28
28
service-binding = { version = " ^3" }
29
- ssh-encoding = { version = " 0.3.0-pre.0" }
30
- ssh-key = { version = " 0.7.0-pre.0" , features = [" crypto" , " alloc" ] }
29
+ ssh-encoding = { version = " 0.3.0-pre.0" , features = [ " alloc " ] }
30
+ ssh-key = { version = " 0.7.0-pre.0" , features = [" crypto" , " alloc" , " rsa " ] }
31
31
thiserror = " 1"
32
32
subtle = { version = " 2" , default-features = false }
33
33
signature = { version = " 2.3.0-pre.4" , features = [" alloc" ] }
@@ -43,7 +43,7 @@ env_logger = "0.11.3"
43
43
rand = " 0.8.5"
44
44
rsa = { version = " 0.10.0-pre.2" , features = [" sha2" , " sha1" ] }
45
45
tokio = { version = " 1" , features = [" macros" , " rt-multi-thread" , " sync" ] }
46
- sha1 = { version = " 0.10.6 " , default-features = false , features = [" oid" ] }
46
+ sha1 = { version = " 0.11.0-pre.4 " , default-features = false , features = [" oid" ] }
47
47
testresult = " 0.4.0"
48
48
hex-literal = " 0.4.1"
49
49
ssh-key = { version = " 0.7.0-pre.0" , features = [" p256" , " rsa" ] }
@@ -57,3 +57,14 @@ secrecy = "0.8.0"
57
57
retainer = " 0.3.0"
58
58
chrono = " 0.4.38"
59
59
interprocess = " 2.2.0"
60
+
61
+ [patch .crates-io ]
62
+ # https://github.com/RustCrypto/SSH/pull/251
63
+ ssh-key = { git = " https://github.com/RustCrypto/SSH.git" }
64
+ # needs a patch of ssh-encoding otherwise the ssh-key patch will pull its own
65
+ # and we will have two Encode/Decode traits.
66
+ ssh-encoding = { git = " https://github.com/RustCrypto/SSH.git" }
67
+
68
+ # https://github.com/dalek-cryptography/curve25519-dalek/pull/676
69
+ curve25519-dalek = { git = " https://github.com/dalek-cryptography/curve25519-dalek.git" , branch = " rustcrypto-new-releases" }
70
+ ed25519-dalek = { git = " https://github.com/dalek-cryptography/curve25519-dalek.git" , branch = " rustcrypto-new-releases" }
0 commit comments