diff --git a/Cargo.lock b/Cargo.lock index 07b9346f..3e8228bd 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -255,7 +255,7 @@ checksum = "aefc9be9f17185f4ebccae6575d342063f775924d57df0000edb1880c0fb7095" dependencies = [ "bech32 0.7.2", "bitcoin_hashes 0.9.4", - "secp256k1", + "secp256k1 0.19.0", ] [[package]] @@ -519,7 +519,7 @@ dependencies = [ "num-bigint 0.2.6", "prost 0.6.1", "prost-types 0.6.1", - "secp256k1", + "secp256k1 0.22.2", "serde", "serde_json", "tiny-bip39 0.6.2", @@ -541,7 +541,7 @@ dependencies = [ "prost 0.6.1", "prost-types 0.6.1", "ring", - "secp256k1", + "secp256k1 0.22.2", "transport", ] @@ -563,7 +563,7 @@ dependencies = [ "parking_lot 0.10.2", "prost 0.6.1", "prost-types 0.6.1", - "secp256k1", + "secp256k1 0.22.2", "serde", "serde_json", "tiny-bip39 0.6.2", @@ -585,7 +585,7 @@ dependencies = [ "hex 0.4.2", "lazy_static", "prost 0.6.1", - "secp256k1", + "secp256k1 0.22.2", "transport", ] @@ -610,7 +610,7 @@ dependencies = [ "prost 0.6.1", "prost-types 0.6.1", "ring", - "secp256k1", + "secp256k1 0.22.2", "serde", "serde_derive", "serde_json", @@ -658,7 +658,7 @@ dependencies = [ "reqwest", "rlp", "rustc-hex", - "secp256k1", + "secp256k1 0.22.2", "serde", "serde_derive", "serde_json", @@ -694,7 +694,7 @@ dependencies = [ "prost 0.6.1", "prost-types 0.6.1", "ring", - "secp256k1", + "secp256k1 0.22.2", "serde", "serde_cbor", "serde_json", @@ -743,7 +743,7 @@ dependencies = [ "hex 0.3.2", "keccak-hash", "prost 0.6.1", - "secp256k1", + "secp256k1 0.22.2", "tiny-keccak 1.5.0", "transport", ] @@ -772,7 +772,7 @@ dependencies = [ "regex 1.4.2", "ring", "rustc-serialize", - "secp256k1", + "secp256k1 0.22.2", "serde", "serde_derive", "serde_json", @@ -1134,7 +1134,7 @@ dependencies = [ "regex 1.4.2", "ring", "rsa", - "secp256k1", + "secp256k1 0.22.2", "serde", "serde_derive", "serde_json", @@ -3792,9 +3792,18 @@ name = "secp256k1" version = "0.19.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c6179428c22c73ac0fbb7b5579a56353ce78ba29759b3b8575183336ea74cdfb" +dependencies = [ + "secp256k1-sys 0.3.0", +] + +[[package]] +name = "secp256k1" +version = "0.22.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "295642060261c80709ac034f52fca8e5a9fa2c7d341ded5cdb164b7c33768b2a" dependencies = [ "rand 0.6.5", - "secp256k1-sys", + "secp256k1-sys 0.5.2", ] [[package]] @@ -3806,6 +3815,15 @@ dependencies = [ "cc", ] +[[package]] +name = "secp256k1-sys" +version = "0.5.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "152e20a0fd0519390fc43ab404663af8a0b794273d2a91d60ad4a39f13ffe110" +dependencies = [ + "cc", +] + [[package]] name = "secrecy" version = "0.6.0" diff --git a/common/Cargo.toml b/common/Cargo.toml index 2cd9454b..db619b32 100644 --- a/common/Cargo.toml +++ b/common/Cargo.toml @@ -23,7 +23,7 @@ num-integer = "0.1.42" prost = "0.6.1" bytes = "0.5.4" prost-types = "0.6.1" -secp256k1 = {version ="0.19.0", features = ["rand", "recovery"] } +secp256k1 = {version ="0.22.2", features = ["rand", "recovery"] } failure = "0.1.8" hyper-timeout = "0.3" lazy_static = "1.3.0" diff --git a/device/Cargo.toml b/device/Cargo.toml index f5b6bd66..2394de4b 100644 --- a/device/Cargo.toml +++ b/device/Cargo.toml @@ -19,7 +19,7 @@ aes-soft = "0.3.3" block-modes = "0.3.3" hex-literal = "0.2.1" hex = "0.4.2" -secp256k1 = {version ="0.19.0", features = ["rand", "recovery", "rand-std"] } +secp256k1 = {version ="0.22.2", features = ["rand", "recovery", "rand-std"] } rand = "0.8.0" sha1 = "0.6.0" rsa = "0.4.0" diff --git a/wallet/coin-bch/Cargo.toml b/wallet/coin-bch/Cargo.toml index 14167a42..0893c801 100644 --- a/wallet/coin-bch/Cargo.toml +++ b/wallet/coin-bch/Cargo.toml @@ -13,7 +13,7 @@ transport = {path = "../../transport"} bch_addr = "0.1.0" bitcoin = "0.25.0" -secp256k1 = {version ="0.19.0", features = ["rand", "recovery"] } +secp256k1 = {version ="0.22.2", features = ["rand", "recovery"] } tiny-bip39 = "0.6.0" #bitcoinconsensus = { version = "0.16", optional = true } failure = "0.1.5" diff --git a/wallet/coin-bitcoin/Cargo.toml b/wallet/coin-bitcoin/Cargo.toml index 28030dc8..75957522 100644 --- a/wallet/coin-bitcoin/Cargo.toml +++ b/wallet/coin-bitcoin/Cargo.toml @@ -12,7 +12,7 @@ device = {path = "../../device"} transport = {path = "../../transport"} bitcoin = "0.25.0" hex = "0.4.2" -secp256k1 = {version ="0.19.0", features = ["rand", "recovery"] } +secp256k1 = {version ="0.22.2", features = ["rand", "recovery"] } ring = "0.16.9" bitcoin_hashes = "0.7.3" num-bigint = "0.2.6" diff --git a/wallet/coin-btc-fork/Cargo.toml b/wallet/coin-btc-fork/Cargo.toml index 7ddead7a..39cf2496 100644 --- a/wallet/coin-btc-fork/Cargo.toml +++ b/wallet/coin-btc-fork/Cargo.toml @@ -12,7 +12,7 @@ device = {path = "../../device"} transport = {path = "../../transport"} bitcoin = "0.25.0" -secp256k1 = {version ="0.19.0", features = ["rand", "recovery"] } +secp256k1 = {version ="0.22.2", features = ["rand", "recovery"] } tiny-bip39 = "0.6.0" #bitcoinconsensus = { version = "0.16", optional = true } failure = "0.1.5" diff --git a/wallet/coin-ckb/Cargo.toml b/wallet/coin-ckb/Cargo.toml index f367eebb..81963b5d 100644 --- a/wallet/coin-ckb/Cargo.toml +++ b/wallet/coin-ckb/Cargo.toml @@ -17,6 +17,6 @@ hex = "0.4.0" byteorder = "1.3.2" prost = "0.6.1" lazy_static = "1.4.0" -secp256k1 = {version ="0.19.0", features = ["rand", "recovery"] } +secp256k1 = {version ="0.22.2", features = ["rand", "recovery"] } base64 = "0.10.1" bitcoin = "0.25.0" \ No newline at end of file diff --git a/wallet/coin-cosmos/Cargo.toml b/wallet/coin-cosmos/Cargo.toml index 8e05a00d..584a7205 100644 --- a/wallet/coin-cosmos/Cargo.toml +++ b/wallet/coin-cosmos/Cargo.toml @@ -13,7 +13,7 @@ transport = {path = "../../transport"} bitcoin_hashes = "0.7.3" hex = "0.3.2" bitcoin = "0.25.0" -secp256k1 = {version ="0.19.0", features = ["rand", "recovery"] } +secp256k1 = {version ="0.22.2", features = ["rand", "recovery"] } ring = "0.16.9" #bech32 = "0.7.1" bech32 = { git = "https://github.com/sipa/bech32" } diff --git a/wallet/coin-ethereum/Cargo.toml b/wallet/coin-ethereum/Cargo.toml index 84225de6..10cb39fb 100644 --- a/wallet/coin-ethereum/Cargo.toml +++ b/wallet/coin-ethereum/Cargo.toml @@ -11,7 +11,7 @@ common = {path = "../../common"} device = {path = "../../device"} transport = {path = "../../transport"} rlp = "0.4.0" -secp256k1 = {version ="0.19.0", features = ["rand", "recovery"] } +secp256k1 = {version ="0.22.2", features = ["rand", "recovery"] } ethereum-types = "0.6.0" keccak-hash = "0.2.0" lazy_static = "1.4.0" diff --git a/wallet/coin-filecoin/Cargo.toml b/wallet/coin-filecoin/Cargo.toml index 38848d4d..2a3a6e72 100644 --- a/wallet/coin-filecoin/Cargo.toml +++ b/wallet/coin-filecoin/Cargo.toml @@ -14,7 +14,7 @@ transport = {path = "../../transport"} bitcoin_hashes = "0.7.3" hex = "0.3.2" -secp256k1 = {version ="0.19.0", features = ["rand", "recovery"] } +secp256k1 = {version ="0.22.2", features = ["rand", "recovery"] } ring = "0.16.9" #bech32 = "0.7.1" bech32 = { git = "https://github.com/sipa/bech32" } diff --git a/wallet/coin-tron/Cargo.toml b/wallet/coin-tron/Cargo.toml index 8ae2798e..fd4eb8b5 100644 --- a/wallet/coin-tron/Cargo.toml +++ b/wallet/coin-tron/Cargo.toml @@ -15,5 +15,5 @@ common = {path = "../../common"} device = {path = "../../device"} transport = {path = "../../transport"} prost = "0.6.1" -secp256k1 = {version ="0.19.0", features = ["rand", "recovery"] } +secp256k1 = {version ="0.22.2", features = ["rand", "recovery"] } tiny-keccak = "1.4" \ No newline at end of file