From 738bd99498b10b36fd9fc688279787f27e7cbde1 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 14 Dec 2021 00:31:37 +0000 Subject: [PATCH] chore: bump libsecp256k1 from 0.6.0 to 0.7.0 Bumps [libsecp256k1](https://github.com/paritytech/libsecp256k1) from 0.6.0 to 0.7.0. - [Release notes](https://github.com/paritytech/libsecp256k1/releases) - [Changelog](https://github.com/paritytech/libsecp256k1/blob/master/CHANGELOG.md) - [Commits](https://github.com/paritytech/libsecp256k1/commits) --- updated-dependencies: - dependency-name: libsecp256k1 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- Cargo.lock | 70 ++++++++++++++++++++++++++++------ programs/bpf_loader/Cargo.toml | 2 +- runtime/Cargo.toml | 2 +- sdk/Cargo.toml | 2 +- 4 files changed, 62 insertions(+), 14 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index de1577c0e7a44f..c3f3f5f0e6c717 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2377,9 +2377,9 @@ dependencies = [ "base64 0.12.3", "digest 0.9.0", "hmac-drbg", - "libsecp256k1-core", - "libsecp256k1-gen-ecmult", - "libsecp256k1-gen-genmult", + "libsecp256k1-core 0.2.2", + "libsecp256k1-gen-ecmult 0.2.1", + "libsecp256k1-gen-genmult 0.2.1", "rand 0.7.3", "serde", "sha2 0.9.8", @@ -2396,15 +2396,34 @@ dependencies = [ "base64 0.12.3", "digest 0.9.0", "hmac-drbg", - "libsecp256k1-core", - "libsecp256k1-gen-ecmult", - "libsecp256k1-gen-genmult", + "libsecp256k1-core 0.2.2", + "libsecp256k1-gen-ecmult 0.2.1", + "libsecp256k1-gen-genmult 0.2.1", "rand 0.7.3", "serde", "sha2 0.9.8", "typenum", ] +[[package]] +name = "libsecp256k1" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b0452aac8bab02242429380e9b2f94ea20cea2b37e2c1777a1358799bbe97f37" +dependencies = [ + "arrayref", + "base64 0.13.0", + "digest 0.9.0", + "hmac-drbg", + "libsecp256k1-core 0.3.0", + "libsecp256k1-gen-ecmult 0.3.0", + "libsecp256k1-gen-genmult 0.3.0", + "rand 0.8.4", + "serde", + "sha2 0.9.8", + "typenum", +] + [[package]] name = "libsecp256k1-core" version = "0.2.2" @@ -2416,13 +2435,33 @@ dependencies = [ "subtle", ] +[[package]] +name = "libsecp256k1-core" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5be9b9bb642d8522a44d533eab56c16c738301965504753b03ad1de3425d5451" +dependencies = [ + "crunchy", + "digest 0.9.0", + "subtle", +] + [[package]] name = "libsecp256k1-gen-ecmult" version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ccab96b584d38fac86a83f07e659f0deafd0253dc096dab5a36d53efe653c5c3" dependencies = [ - "libsecp256k1-core", + "libsecp256k1-core 0.2.2", +] + +[[package]] +name = "libsecp256k1-gen-ecmult" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3038c808c55c87e8a172643a7d87187fc6c4174468159cb3090659d55bcb4809" +dependencies = [ + "libsecp256k1-core 0.3.0", ] [[package]] @@ -2431,7 +2470,16 @@ version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "67abfe149395e3aa1c48a2beb32b068e2334402df8181f818d3aee2b304c4f5d" dependencies = [ - "libsecp256k1-core", + "libsecp256k1-core 0.2.2", +] + +[[package]] +name = "libsecp256k1-gen-genmult" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3db8d6ba2cec9eacc40e6e8ccc98931840301f1006e95647ceb2dd5c3aa06f7c" +dependencies = [ + "libsecp256k1-core 0.3.0", ] [[package]] @@ -4596,7 +4644,7 @@ version = "1.10.0" dependencies = [ "bincode", "byteorder", - "libsecp256k1 0.6.0", + "libsecp256k1 0.7.0", "log 0.4.14", "rand 0.7.3", "regex", @@ -5731,7 +5779,7 @@ dependencies = [ "fnv", "itertools 0.10.3", "lazy_static", - "libsecp256k1 0.6.0", + "libsecp256k1 0.7.0", "log 0.4.14", "memmap2 0.5.0", "num-derive", @@ -5787,7 +5835,7 @@ dependencies = [ "itertools 0.10.3", "js-sys", "lazy_static", - "libsecp256k1 0.6.0", + "libsecp256k1 0.7.0", "log 0.4.14", "memmap2 0.5.0", "num-derive", diff --git a/programs/bpf_loader/Cargo.toml b/programs/bpf_loader/Cargo.toml index efa655679345c4..30db097c20195f 100644 --- a/programs/bpf_loader/Cargo.toml +++ b/programs/bpf_loader/Cargo.toml @@ -16,7 +16,7 @@ regex = "1.5.4" bincode = "1.3.3" byteorder = "1.4.3" log = "0.4.14" -libsecp256k1 = "0.6.0" +libsecp256k1 = "0.7.0" solana-measure = { path = "../../measure", version = "=1.10.0" } solana-program-runtime = { path = "../../program-runtime", version = "=1.10.0" } solana-sdk = { path = "../../sdk", version = "=1.10.0" } diff --git a/runtime/Cargo.toml b/runtime/Cargo.toml index ffb1eb24971feb..c6bac025cd403b 100644 --- a/runtime/Cargo.toml +++ b/runtime/Cargo.toml @@ -60,7 +60,7 @@ name = "solana_runtime" [dev-dependencies] ed25519-dalek = "=1.0.1" -libsecp256k1 = "0.6.0" +libsecp256k1 = "0.7.0" assert_matches = "1.5.0" [package.metadata.docs.rs] diff --git a/sdk/Cargo.toml b/sdk/Cargo.toml index 6d888ba7444ac2..6809c4e577f04f 100644 --- a/sdk/Cargo.toml +++ b/sdk/Cargo.toml @@ -54,7 +54,7 @@ generic-array = { version = "0.14.4", default-features = false, features = ["ser hmac = "0.12.0" itertools = "0.10.3" lazy_static = "1.4.0" -libsecp256k1 = { version = "0.6.0", optional = true } +libsecp256k1 = { version = "0.7.0", optional = true } log = "0.4.14" memmap2 = { version = "0.5.0", optional = true } num-derive = "0.3"