diff --git a/Cargo.lock b/Cargo.lock index d7f48c17f8726..beef4b0848075 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1860,7 +1860,7 @@ dependencies = [ "der", "elliptic-curve", "rfc6979", - "signature", + "signature 1.6.4", ] [[package]] @@ -1869,7 +1869,16 @@ version = "1.5.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "91cff35c70bba8a626e3185d8cd48cc11b5437e1a5bcd15b9b5fa3c64b6dfee7" dependencies = [ - "signature", + "signature 1.6.4", +] + +[[package]] +name = "ed25519" +version = "2.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3cf420a7ec85d98495b0c34aa4a58ca117f982ffbece111aeb545160148d7010" +dependencies = [ + "signature 2.0.0", ] [[package]] @@ -1879,7 +1888,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c762bae6dcaf24c4c84667b8579785430908723d5c889f469d76a41d59cc7a9d" dependencies = [ "curve25519-dalek 3.2.0", - "ed25519", + "ed25519 1.5.3", "rand 0.7.3", "serde", "sha2 0.9.9", @@ -9524,6 +9533,12 @@ dependencies = [ "rand_core 0.6.4", ] +[[package]] +name = "signature" +version = "2.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8fe458c98333f9c8152221191a77e2a44e8325d0193484af2e9421a53019e57d" + [[package]] name = "simba" version = "0.8.0" @@ -9993,7 +10008,7 @@ name = "sp-io" version = "7.0.0" dependencies = [ "bytes", - "ed25519", + "ed25519 2.1.0", "ed25519-dalek", "futures", "libsecp256k1", @@ -12250,7 +12265,7 @@ dependencies = [ "serde", "sha-1", "sha2 0.9.9", - "signature", + "signature 1.6.4", "subtle", "thiserror", "tokio", diff --git a/primitives/io/Cargo.toml b/primitives/io/Cargo.toml index e56bfcf56041a..99b707d01b1a5 100644 --- a/primitives/io/Cargo.toml +++ b/primitives/io/Cargo.toml @@ -35,7 +35,7 @@ tracing-core = { version = "0.1.28", default-features = false} # Required for backwards compatibility reason, but only used for verifying when `UseDalekExt` is set. ed25519-dalek = { version = "1.0.1", default-features = false, optional = true } # Force the usage of ed25519, this is being used in `ed25519-dalek`. -ed25519 = { version = "1.5.2", optional = true } +ed25519 = { version = "2.1.0", optional = true } [features] default = ["std"]