From 9f5817e86aca58fbd8a97b16c193a72a7b105271 Mon Sep 17 00:00:00 2001 From: Jun Kimura Date: Thu, 21 Nov 2024 17:43:48 +0900 Subject: [PATCH] bump sha2 to v0.10.8 Signed-off-by: Jun Kimura --- enclave/Cargo.lock | 24 ++++++++++++------------ enclave/Cargo.toml | 2 +- modules/commitments/Cargo.toml | 2 +- 3 files changed, 14 insertions(+), 14 deletions(-) diff --git a/enclave/Cargo.lock b/enclave/Cargo.lock index 8558b3e3..8eb4b926 100644 --- a/enclave/Cargo.lock +++ b/enclave/Cargo.lock @@ -273,7 +273,7 @@ dependencies = [ "lcp-types", "prost", "serde", - "sha2 0.10.6", + "sha2 0.10.8", ] [[package]] @@ -441,9 +441,9 @@ dependencies = [ [[package]] name = "digest" -version = "0.10.5" +version = "0.10.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "adfbc57365a37acbd2ebf2b64d7e69bb766e2fea813521ed536f5d0520dcf86c" +checksum = "9ed9a281f7bc9b7576e61468ba615a66a5c8cfdff42420a70aa82701a3b1e292" dependencies = [ "block-buffer 0.10.3", "crypto-common", @@ -776,7 +776,7 @@ dependencies = [ "serde", "serde_derive", "serde_json", - "sha2 0.10.6", + "sha2 0.10.8", "subtle-encoding", "tendermint", "tendermint-light-client-verifier", @@ -815,7 +815,7 @@ dependencies = [ "hex", "prost", "ripemd", - "sha2 0.10.6", + "sha2 0.10.8", "sha3", ] @@ -1262,7 +1262,7 @@ version = "0.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bd124222d17ad93a644ed9d011a40f4fb64aa54275c08cc216524a9ea82fb09f" dependencies = [ - "digest 0.10.5", + "digest 0.10.7", ] [[package]] @@ -1517,12 +1517,12 @@ dependencies = [ [[package]] name = "sha2" -version = "0.10.6" -source = "git+https://github.com/bluele/hashes?branch=0.10.6-sha256-hwa-disabled#d7be7095f363f7710570815cda8cbde24903f1b3" +version = "0.10.8" +source = "git+https://github.com/bluele/hashes?branch=0.10.8-sha256-hwa-disabled#64b5261e4e44d0e990564f959e982279a60187db" dependencies = [ "cfg-if", "cpufeatures", - "digest 0.10.5", + "digest 0.10.7", ] [[package]] @@ -1531,7 +1531,7 @@ version = "0.10.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bdf0c33fae925bdc080598b84bc15c55e7b9a4a43b3c704da051f977469691c9" dependencies = [ - "digest 0.10.5", + "digest 0.10.7", "keccak", ] @@ -1636,7 +1636,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "cda53c85447577769cdfc94c10a56f34afef2c00e4108badb57fce6b1a0c75eb" dependencies = [ "bytes", - "digest 0.10.5", + "digest 0.10.7", "ed25519", "ed25519-consensus", "flex-error", @@ -1649,7 +1649,7 @@ dependencies = [ "serde_bytes", "serde_json", "serde_repr", - "sha2 0.10.6", + "sha2 0.10.8", "signature", "subtle", "subtle-encoding", diff --git a/enclave/Cargo.toml b/enclave/Cargo.toml index 701282b7..5fb34d8d 100644 --- a/enclave/Cargo.toml +++ b/enclave/Cargo.toml @@ -20,7 +20,7 @@ tendermint-lc = { path = "../modules/tendermint-lc", default-features = false } [patch."crates-io"] # TODO these patches would be better as optional -sha2-0106 = { git = "https://github.com/bluele/hashes", branch = "0.10.6-sha256-hwa-disabled", package = "sha2" } +sha2-0106 = { git = "https://github.com/bluele/hashes", branch = "0.10.8-sha256-hwa-disabled", package = "sha2" } sha2-099 = { git = "https://github.com/bluele/hashes", branch = "0.9.9-sha256-hwa-disabled", package = "sha2" } [profile.release] diff --git a/modules/commitments/Cargo.toml b/modules/commitments/Cargo.toml index 05e24f91..88d815c6 100644 --- a/modules/commitments/Cargo.toml +++ b/modules/commitments/Cargo.toml @@ -7,7 +7,7 @@ edition = "2021" serde = { version = "1.0.184", default-features = false, features = ["alloc"] } prost = { version = "0.11", default-features = false } hex = { version = "0.4", default-features = false, features = ["alloc"] } -sha2 = { version = "0.10.6", default-features = false } +sha2 = { version = "0.10.8", default-features = false } flex-error = { version = "0.4.4", default-features = false } alloy-sol-types = { version = "0.8", default-features = false }