Skip to content

Commit 0864509

Browse files
committed
provide patches to support ed25519
1 parent ea5fd70 commit 0864509

File tree

2 files changed

+83
-32
lines changed

2 files changed

+83
-32
lines changed

Cargo.lock

Lines changed: 69 additions & 29 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ log = { version = "0.4", optional = true }
2626
tokio = { version = "1", optional = true, features = ["rt", "net", "time"] }
2727
tokio-util = { version = "0.7", optional = true, features = ["codec"] }
2828
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"] }
3131
thiserror = "1"
3232
subtle = { version = "2", default-features = false }
3333
signature = { version = "2.3.0-pre.4", features = ["alloc"] }
@@ -43,7 +43,7 @@ env_logger = "0.11.3"
4343
rand = "0.8.5"
4444
rsa = { version = "0.10.0-pre.2", features = ["sha2", "sha1"] }
4545
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"] }
4747
testresult = "0.4.0"
4848
hex-literal = "0.4.1"
4949
ssh-key = { version = "0.7.0-pre.0", features = ["p256", "rsa"] }
@@ -57,3 +57,14 @@ secrecy = "0.8.0"
5757
retainer = "0.3.0"
5858
chrono = "0.4.38"
5959
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

Comments
 (0)