diff --git a/Cargo.lock b/Cargo.lock index 65dbe816..13d9fe28 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -228,6 +228,15 @@ dependencies = [ "generic-array", ] +[[package]] +name = "block-buffer" +version = "0.10.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "69cce20737498f97b993470a6e536b8523f0af7892a4f928cceb1ac5e52ebe7e" +dependencies = [ + "generic-array", +] + [[package]] name = "block-padding" version = "0.2.1" @@ -517,6 +526,16 @@ dependencies = [ "zeroize", ] +[[package]] +name = "crypto-common" +version = "0.1.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1bfb12502f3fc46cca1bb51ac28df9d618d813cdc3d2f25b9fe775a34af26bb3" +dependencies = [ + "generic-array", + "typenum", +] + [[package]] name = "crypto-mac" version = "0.8.0" @@ -553,7 +572,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0b9fdf9972b2bd6af2d913799d9ebc165ea4d2e65878e329d9c6b372c4491b61" dependencies = [ "byteorder", - "digest", + "digest 0.9.0", "rand_core 0.5.1", "subtle", "zeroize", @@ -643,6 +662,16 @@ dependencies = [ "generic-array", ] +[[package]] +name = "digest" +version = "0.10.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "adfbc57365a37acbd2ebf2b64d7e69bb766e2fea813521ed536f5d0520dcf86c" +dependencies = [ + "block-buffer 0.10.3", + "crypto-common", +] + [[package]] name = "dirs-next" version = "2.0.0" @@ -693,7 +722,7 @@ checksum = "c762bae6dcaf24c4c84667b8579785430908723d5c889f469d76a41d59cc7a9d" dependencies = [ "curve25519-dalek", "ed25519", - "sha2", + "sha2 0.9.9", "zeroize", ] @@ -1079,7 +1108,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "126888268dcc288495a26bf004b38c5fdbb31682f992c84ceb046a1f0fe38840" dependencies = [ "crypto-mac 0.8.0", - "digest", + "digest 0.9.0", ] [[package]] @@ -1089,7 +1118,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2a2a2320eb7ec0ebe8da8f744d7812d9fc4cb4d09344ac01898dbcb6a20ae69b" dependencies = [ "crypto-mac 0.11.1", - "digest", + "digest 0.9.0", ] [[package]] @@ -1244,7 +1273,7 @@ dependencies = [ "serde", "serde_derive", "serde_json", - "sha2", + "sha2 0.10.6", "subtle-encoding", "tendermint", "tendermint-light-client", @@ -1276,7 +1305,7 @@ dependencies = [ "rand 0.8.4", "serde", "serde_json", - "sha2", + "sha2 0.10.6", "subtle-encoding", "tendermint", "tendermint-rpc", @@ -1336,7 +1365,7 @@ dependencies = [ "serde_derive", "serde_json", "serial_test", - "sha2", + "sha2 0.10.6", "signature", "subtle-encoding", "tendermint", @@ -1435,7 +1464,7 @@ dependencies = [ "hex", "prost", "ripemd160", - "sha2", + "sha2 0.9.9", "sha3", "sp-std", ] @@ -1524,7 +1553,7 @@ dependencies = [ "cfg-if 1.0.0", "ecdsa", "elliptic-curve", - "sha2", + "sha2 0.9.9", ] [[package]] @@ -1676,7 +1705,7 @@ dependencies = [ "regex", "serde", "serde_json", - "sha2", + "sha2 0.9.9", "tempfile", "thiserror", "tracing", @@ -2326,8 +2355,8 @@ version = "0.9.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2eca4ecc81b7f313189bf73ce724400a07da2a6dac19588b03c8bd76a2dcc251" dependencies = [ - "block-buffer", - "digest", + "block-buffer 0.9.0", + "digest 0.9.0", "opaque-debug", ] @@ -2659,10 +2688,10 @@ version = "0.9.8" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "99cd6713db3cf16b6c84e06321e049a9b9f699826e16096d23bbcc44d15d51a6" dependencies = [ - "block-buffer", + "block-buffer 0.9.0", "cfg-if 1.0.0", "cpufeatures", - "digest", + "digest 0.9.0", "opaque-debug", ] @@ -2674,25 +2703,36 @@ checksum = "2579985fda508104f7587689507983eadd6a6e84dd35d6d115361f530916fa0d" [[package]] name = "sha2" -version = "0.9.8" +version = "0.9.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b69f9a4c9740d74c5baa3fd2e547f9525fa8088a8a958e0ca2409a514e33f5fa" +checksum = "4d58a1e1bf39749807d89cf2d98ac2dfa0ff1cb3faa38fbb64dd88ac8013d800" dependencies = [ - "block-buffer", + "block-buffer 0.9.0", "cfg-if 1.0.0", "cpufeatures", - "digest", + "digest 0.9.0", "opaque-debug", ] +[[package]] +name = "sha2" +version = "0.10.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "82e6b795fe2e3b1e845bafcb27aa35405c4d47cdfc92af5fc8d3002f76cebdc0" +dependencies = [ + "cfg-if 1.0.0", + "cpufeatures", + "digest 0.10.5", +] + [[package]] name = "sha3" version = "0.9.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f81199417d4e5de3f04b1e871023acea7389672c4135918f05aa9cbf2f2fa809" dependencies = [ - "block-buffer", - "digest", + "block-buffer 0.9.0", + "digest 0.9.0", "keccak", "opaque-debug", ] @@ -2731,7 +2771,7 @@ version = "1.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f2807892cfa58e081aa1f1111391c7a0649d4fa127a4ffbe34bcbfb35a1171a4" dependencies = [ - "digest", + "digest 0.9.0", "rand_core 0.6.3", ] @@ -2871,7 +2911,7 @@ dependencies = [ "serde_bytes", "serde_json", "serde_repr", - "sha2", + "sha2 0.9.9", "signature", "subtle", "subtle-encoding", @@ -3070,7 +3110,7 @@ dependencies = [ "pbkdf2", "rand 0.7.3", "rustc-hash", - "sha2", + "sha2 0.9.9", "thiserror", "unicode-normalization", "wasm-bindgen", diff --git a/modules/Cargo.toml b/modules/Cargo.toml index 17242868..cb119ea9 100644 --- a/modules/Cargo.toml +++ b/modules/Cargo.toml @@ -38,7 +38,7 @@ prost-types = { version = "0.9", default-features = false } bytes = { version = "1.1.0", default-features = false } safe-regex = { version = "0.2.4", default-features = false } subtle-encoding = { version = "0.5", default-features = false } -sha2 = { version = "0.9.8", default-features = false } +sha2 = { version = "0.10.6", default-features = false } flex-error = { version = "0.4.4", default-features = false } [dependencies.tendermint] @@ -60,7 +60,7 @@ env_logger = "0.9.0" tracing-subscriber = { version = "0.3.2", features = ["fmt", "env-filter", "json"]} test-log = { version = "0.2.8", features = ["trace"] } modelator = "0.3.2" -sha2 = { version = "0.9.8" } +sha2 = { version = "0.10.6" } tendermint-rpc = { version = "=0.23.1", features = ["http-client", "websocket-client"] } tendermint-testgen = { version = "=0.23.1" } # Needed for generating (synthetic) light blocks. diff --git a/relayer/Cargo.toml b/relayer/Cargo.toml index 7c3b1ac7..bc8a6af7 100644 --- a/relayer/Cargo.toml +++ b/relayer/Cargo.toml @@ -46,7 +46,7 @@ hex = "0.4" bitcoin = { version = "=0.27", features = ["use-serde"] } tiny-bip39 = "0.8.0" hdpath = { version = "0.6.0", features = ["with-bitcoin"] } -sha2 = "0.9.8" +sha2 = "0.10.6" tiny-keccak = { version = "2.0.2", features = ["keccak"], default-features = false } ripemd160 = "0.9.1" bech32 = "0.8.1" diff --git a/tools/integration-test/Cargo.toml b/tools/integration-test/Cargo.toml index 79cda5d7..9c2ca96a 100644 --- a/tools/integration-test/Cargo.toml +++ b/tools/integration-test/Cargo.toml @@ -34,7 +34,7 @@ serde_json = "1" itertools = "0.10" toml = "0.5" subtle-encoding = "0.5.1" -sha2 = "0.9.8" +sha2 = "0.10.6" crossbeam-channel = "0.5.1" prost = { version = "0.9", default-features = false } prost-types = { version = "0.9", default-features = false }