From 4591c43d4a86eac7632cb4bbddd9dec4e32f36c5 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 13 Jul 2021 07:08:51 -0700 Subject: [PATCH] build(deps): bump elliptic-curve from 0.10.3 to 0.10.4 (#328) Bumps [elliptic-curve](https://github.com/RustCrypto/traits) from 0.10.3 to 0.10.4. - [Release notes](https://github.com/RustCrypto/traits/releases) - [Commits](https://github.com/RustCrypto/traits/compare/elliptic-curve-v0.10.3...elliptic-curve-v0.10.4) --- updated-dependencies: - dependency-name: elliptic-curve dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- Cargo.lock | 37 +++++++++++++++++++++++++++++-------- ecdsa/Cargo.toml | 4 ++-- 2 files changed, 31 insertions(+), 10 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 003a85d..e712d74 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -76,11 +76,12 @@ dependencies = [ [[package]] name = "crypto-bigint" -version = "0.2.1" +version = "0.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bdc9968be9247fb330af911b91a58a267cbbcfcb8dea88debaf977738950dce5" +checksum = "b32a398eb1ccfbe7e4f452bc749c44d38dd732e9a253f19da224c416f00ee7f4" dependencies = [ "generic-array", + "rand_core 0.6.3", "subtle", "zeroize", ] @@ -151,7 +152,7 @@ name = "ecdsa" version = "0.12.2" dependencies = [ "der 0.4.0", - "elliptic-curve 0.10.3", + "elliptic-curve 0.10.4", "hex-literal", "hmac", "sha2", @@ -206,9 +207,9 @@ dependencies = [ [[package]] name = "elliptic-curve" -version = "0.10.3" +version = "0.10.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dd035cb119cbc25e91bb6f1abbfe341388ddb47a1fe5e77ca6bcbe231e87580b" +checksum = "83e5c176479da93a0983f0a6fdc3c1b8e7d5be0d7fe3fe05a99f15b96582b9a8" dependencies = [ "crypto-bigint", "ff", @@ -249,7 +250,18 @@ checksum = "8fc3cb4d91f53b50155bdcfd23f6a4c39ae1969c2ae85982b135750cccaf5fce" dependencies = [ "cfg-if", "libc", - "wasi", + "wasi 0.9.0+wasi-snapshot-preview1", +] + +[[package]] +name = "getrandom" +version = "0.2.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7fcd999463524c52659517fe2cea98493cfe485d10565e7b0fb07dbba7ad2753" +dependencies = [ + "cfg-if", + "libc", + "wasi 0.10.2+wasi-snapshot-preview1", ] [[package]] @@ -383,7 +395,7 @@ version = "0.7.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6a6b1679d49b24bbfe0c803429aa1874472f50d9b363131f0e89fc356b544d03" dependencies = [ - "getrandom", + "getrandom 0.1.16", "libc", "rand_chacha", "rand_core 0.5.1", @@ -406,7 +418,7 @@ version = "0.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "90bde5296fc891b0cef12a6d03ddccc162ce7b2aff54160af9338f8d40df6d19" dependencies = [ - "getrandom", + "getrandom 0.1.16", ] [[package]] @@ -414,6 +426,9 @@ name = "rand_core" version = "0.6.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d34f1408f55294453790c48b2f1ebbb1c5b4b7563eb1f418bcfcfdbb06ebb4e7" +dependencies = [ + "getrandom 0.2.3", +] [[package]] name = "rand_hc" @@ -560,6 +575,12 @@ version = "0.9.0+wasi-snapshot-preview1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "cccddf32554fecc6acb585f82a32a72e28b48f8c4c1883ddfeeeaa96f7d8e519" +[[package]] +name = "wasi" +version = "0.10.2+wasi-snapshot-preview1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fd6fbd9a79829dd1ad0cc20627bf1ed606756a7f77edff7b66b7064f9cb327c6" + [[package]] name = "wasm-bindgen" version = "0.2.74" diff --git a/ecdsa/Cargo.toml b/ecdsa/Cargo.toml index 86f760d..5abe1cc 100644 --- a/ecdsa/Cargo.toml +++ b/ecdsa/Cargo.toml @@ -14,7 +14,7 @@ categories = ["cryptography", "no-std"] keywords = ["crypto", "ecc", "nist", "secp256k1", "signature"] [dependencies] -elliptic-curve = { version = "0.10.2", default-features = false } +elliptic-curve = { version = "0.10.4", default-features = false } hmac = { version = "0.11", optional = true, default-features = false } signature = { version = ">= 1.3.0, < 1.4.0", default-features = false, features = ["rand-preview"] } @@ -22,7 +22,7 @@ signature = { version = ">= 1.3.0, < 1.4.0", default-features = false, features der = { version = "0.4", optional = true } [dev-dependencies] -elliptic-curve = { version = "0.10.2", default-features = false, features = ["dev"] } +elliptic-curve = { version = "0.10.4", default-features = false, features = ["dev"] } hex-literal = "0.3" sha2 = { version = "0.9", default-features = false }