diff --git a/Cargo.lock b/Cargo.lock index 00a6a41..fab05a7 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -261,9 +261,9 @@ checksum = "43da5946c66ffcc7745f48db692ffbb10a83bfe0afd96235c5c2a4fb23994929" [[package]] name = "crypto-bigint" -version = "0.7.0-pre.6" +version = "0.7.0-pre.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "98dc20cae677f0af161d98f18463804b680f9af060f6dbe6d4249bd7e838bca1" +checksum = "85ff38607b7ebe30e4715eeb0a0427ff42e3b6b47b2df55a775e767ef2658ccd" dependencies = [ "hybrid-array", "num-traits", @@ -410,8 +410,7 @@ checksum = "48c757948c5ede0e46177b7add2e67155f70e33c07fea8284df6576da70b3719" [[package]] name = "elliptic-curve" version = "0.14.0-rc.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c28ecec37eea07ab976cea93c7ce8b36d561cf161f6767925c1edc51024b0ad3" +source = "git+https://github.com/RustCrypto/traits#a10ef181945a480bba5d2fb36ad6f3f78a3474db" dependencies = [ "base16ct", "crypto-bigint", diff --git a/Cargo.toml b/Cargo.toml index 79c5444..8a740cf 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -15,6 +15,8 @@ members = [ opt-level = 2 [patch.crates-io] +elliptic-curve = { git = "https://github.com/RustCrypto/traits" } + # A global patch crates-io block is used to avoid duplicate dependencies # when pulling a member crate through git dsa = { path = "./dsa" } diff --git a/dsa/Cargo.toml b/dsa/Cargo.toml index a791a55..fde9fac 100644 --- a/dsa/Cargo.toml +++ b/dsa/Cargo.toml @@ -18,7 +18,7 @@ rust-version = "1.85" [dependencies] der = { version = "0.8.0-rc.7", features = ["alloc"] } digest = "0.11.0-rc.0" -crypto-bigint = { version = "=0.7.0-pre.6", default-features = false, features = ["alloc", "zeroize"] } +crypto-bigint = { version = "=0.7.0-pre.7", default-features = false, features = ["alloc", "zeroize"] } crypto-primes = { version = "=0.7.0-pre.1", default-features = false } rfc6979 = { version = "0.5.0-rc.0" } sha2 = { version = "0.11.0-rc.0", default-features = false }