ed25519: Don't panic for invalid signature (#12965)

* ed25519: Don't panic for invalid signature

We should not panic for an invalid signature when the `UseDalekExt` is given.

* Update Cargo.toml

* Update primitives/io/Cargo.toml
This commit is contained in:
Bastian Köcher
2022-12-19 19:58:25 +01:00
committed by GitHub
parent 46932f2b47
commit 74da30c8a2
3 changed files with 30 additions and 6 deletions
+3 -2
View File
@@ -1566,9 +1566,9 @@ dependencies = [
[[package]]
name = "ed25519"
version = "1.0.3"
version = "1.5.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "37c66a534cbb46ab4ea03477eae19d5c22c01da8258030280b7bd9d8433fb6ef"
checksum = "1e9c280362032ea4203659fc489832d0204ef09f247a0506f170dafcac08c369"
dependencies = [
"signature",
]
@@ -9181,6 +9181,7 @@ name = "sp-io"
version = "7.0.0"
dependencies = [
"bytes",
"ed25519",
"ed25519-dalek",
"futures",
"libsecp256k1",