diff --git a/Cargo.lock b/Cargo.lock index fd43b6f0..79981d8c 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -100,7 +100,7 @@ dependencies = [ "ark-serialize", "ark-std", "arrayvec", - "digest", + "digest 0.10.7", "educe", "itertools", "num-bigint", @@ -156,7 +156,7 @@ dependencies = [ "ark-serialize-derive", "ark-std", "arrayvec", - "digest", + "digest 0.10.7", "num-bigint", ] @@ -241,6 +241,15 @@ dependencies = [ "generic-array", ] +[[package]] +name = "block-buffer" +version = "0.12.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d2f6c7dbe95a6ed67ad9f18e57daf93a2f034c524b99fd2b76d18fdfeb6660aa" +dependencies = [ + "hybrid-array", +] + [[package]] name = "bs58" version = "0.5.1" @@ -344,6 +353,15 @@ dependencies = [ "libc", ] +[[package]] +name = "cpufeatures" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5ca28b0ae3115b884660db4118d803791fd6756b6e88f39c0f3f7859060d7566" +dependencies = [ + "libc", +] + [[package]] name = "crate-git-revision" version = "0.0.6" @@ -388,6 +406,15 @@ dependencies = [ "typenum", ] +[[package]] +name = "crypto-common" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ce6e4c961d6cd6c9a86db418387425e8bdeaf05b3c8bc1411e6dca4c252f1453" +dependencies = [ + "hybrid-array", +] + [[package]] name = "ctor" version = "0.5.0" @@ -411,9 +438,9 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "97fb8b7c4503de7d6ae7b42ab72a5a59857b4c937ec27a3d4539dba95b5ab2be" dependencies = [ "cfg-if", - "cpufeatures", + "cpufeatures 0.2.17", "curve25519-dalek-derive", - "digest", + "digest 0.10.7", "fiat-crypto", "rustc_version", "subtle", @@ -542,12 +569,22 @@ version = "0.10.7" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9ed9a281f7bc9b7576e61468ba615a66a5c8cfdff42420a70aa82701a3b1e292" dependencies = [ - "block-buffer", + "block-buffer 0.10.4", "const-oid", - "crypto-common", + "crypto-common 0.1.6", "subtle", ] +[[package]] +name = "digest" +version = "0.11.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f1dd6dbb5841937940781866fa1281a1ff7bd3bf827091440879f9994983d5c2" +dependencies = [ + "block-buffer 0.12.1", + "crypto-common 0.2.2", +] + [[package]] name = "downcast-rs" version = "1.2.1" @@ -582,7 +619,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ee27f32b5c5292967d2d4a9d7f1e0b0aed2c15daded5a60300e4abb9d8020bca" dependencies = [ "der", - "digest", + "digest 0.10.7", "elliptic-curve", "rfc6979", "signature", @@ -608,7 +645,7 @@ dependencies = [ "ed25519", "rand_core 0.6.4", "serde", - "sha2", + "sha2 0.10.9", "subtle", "zeroize", ] @@ -639,7 +676,7 @@ checksum = "b5e6043086bf7973472e0c7dff2142ea0b680d30e18d9cc40f267efbf222bd47" dependencies = [ "base16ct", "crypto-bigint", - "digest", + "digest 0.10.7", "ff", "generic-array", "group", @@ -888,7 +925,16 @@ version = "0.12.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6c49c37c09c17a53d937dfbb742eb3a961d65a994e6bcdcf37e7399d0cc8ab5e" dependencies = [ - "digest", + "digest 0.10.7", +] + +[[package]] +name = "hybrid-array" +version = "0.4.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "707114b52a152fa7bdb290cd7cd5912d9467273b6d74e21b8d81aca1f8533f6b" +dependencies = [ + "typenum", ] [[package]] @@ -985,7 +1031,7 @@ dependencies = [ "cfg-if", "ecdsa", "elliptic-curve", - "sha2", + "sha2 0.10.9", ] [[package]] @@ -994,7 +1040,7 @@ version = "0.1.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "cb26cec98cce3a3d96cbb7bced3c4b16e3d13f27ec56dbd62cbc8f39cfb9d653" dependencies = [ - "cpufeatures", + "cpufeatures 0.2.17", ] [[package]] @@ -1105,7 +1151,7 @@ dependencies = [ "ecdsa", "elliptic-curve", "primeorder", - "sha2", + "sha2 0.10.9", ] [[package]] @@ -1296,7 +1342,7 @@ dependencies = [ "multisig-account", "proptest", "receipt-shard", - "sha2", + "sha2 0.11.0", "soroban-env-host", "soroban-sdk", ] @@ -1306,7 +1352,7 @@ name = "receipt-shard" version = "0.1.0" dependencies = [ "accensa-common", - "sha2", + "sha2 0.11.0", "soroban-sdk", ] @@ -1565,8 +1611,19 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a7507d819769d01a365ab707794a4084392c824f54a7a6a7862f8c3d0892b283" dependencies = [ "cfg-if", - "cpufeatures", - "digest", + "cpufeatures 0.2.17", + "digest 0.10.7", +] + +[[package]] +name = "sha2" +version = "0.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "446ba717509524cb3f22f17ecc096f10f4822d76ab5c0b9822c5f9c284e825f4" +dependencies = [ + "cfg-if", + "cpufeatures 0.3.1", + "digest 0.11.3", ] [[package]] @@ -1575,7 +1632,7 @@ version = "0.10.9" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "77fd7028345d415a4034cf8777cd4f8ab1851274233b45f84e3d955502d93874" dependencies = [ - "digest", + "digest 0.10.7", "keccak", ] @@ -1591,7 +1648,7 @@ version = "2.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "77549399552de45a898a580c1b41d445bf730df867cc44e6c0233bbc4b8329de" dependencies = [ - "digest", + "digest 0.10.7", "rand_core 0.6.4", ] @@ -1675,7 +1732,7 @@ dependencies = [ "rand 0.8.7", "rand_chacha 0.3.1", "sec1", - "sha2", + "sha2 0.10.9", "sha3", "soroban-builtin-sdk-macros", "soroban-env-common", @@ -1750,7 +1807,7 @@ dependencies = [ "macro-string", "proc-macro2", "quote", - "sha2", + "sha2 0.10.9", "soroban-env-common", "soroban-spec", "soroban-spec-rust", @@ -1765,7 +1822,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "473404322827b285cbcd87517f365986bd63af7842c78b2a86ee061715fda61e" dependencies = [ "base64", - "sha2", + "sha2 0.10.9", "stellar-xdr", "thiserror", "wasmparser", @@ -1780,7 +1837,7 @@ dependencies = [ "prettyplease", "proc-macro2", "quote", - "sha2", + "sha2 0.10.9", "soroban-spec", "stellar-xdr", "syn 2.0.118", @@ -1873,7 +1930,7 @@ dependencies = [ "hex", "serde", "serde_with", - "sha2", + "sha2 0.10.9", "stellar-strkey 0.0.13", ] diff --git a/contracts/receipt-anchor/Cargo.toml b/contracts/receipt-anchor/Cargo.toml index abdf72b1..e95afc4b 100644 --- a/contracts/receipt-anchor/Cargo.toml +++ b/contracts/receipt-anchor/Cargo.toml @@ -22,7 +22,7 @@ budget-assert = ["dep:budget_macros"] [dependencies] soroban-sdk = { workspace = true } accensa-common = { workspace = true } -sha2 = { version = "0.10.9", default-features = false } +sha2 = { version = "0.11.0", default-features = false } # Tollcraft/soroban-budget-assert — Tier A local assertion macros, used only # by the `#[cfg(test)]`-gated `budget_test` module. Cargo does not allow # optional *dev*-dependencies, so this lives here, optional, gated by the diff --git a/contracts/receipt-shard/Cargo.toml b/contracts/receipt-shard/Cargo.toml index 4a2dcd3c..08077ca8 100644 --- a/contracts/receipt-shard/Cargo.toml +++ b/contracts/receipt-shard/Cargo.toml @@ -12,7 +12,7 @@ crate-type = ["cdylib", "rlib"] [dependencies] accensa-common = { workspace = true } -sha2 = { version = "0.10.9", default-features = false } +sha2 = { version = "0.11.0", default-features = false } soroban-sdk = { workspace = true } [target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies]