From d0280cd4841bdc859d72c9d98cbd6ce922cfbce1 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 28 Mar 2023 09:11:31 +0000 Subject: [PATCH] chore: bump hmac from 0.10.1 to 0.12.1 Bumps [hmac](https://github.com/RustCrypto/MACs) from 0.10.1 to 0.12.1. - [Release notes](https://github.com/RustCrypto/MACs/releases) - [Commits](https://github.com/RustCrypto/MACs/compare/hmac-v0.10.1...hmac-v0.12.1) --- updated-dependencies: - dependency-name: hmac dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- Cargo.lock | 77 +++++++++++++++++++++++++++++++++++--------------- sdk/Cargo.toml | 2 +- 2 files changed, 55 insertions(+), 24 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 4b5816fad60709..91a0846f408942 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1,5 +1,7 @@ # This file is automatically @generated by Cargo. # It is not intended for manual editing. +version = 3 + [[package]] name = "Inflector" version = "0.11.4" @@ -332,7 +334,16 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4152116fd6e9dadb291ae18fc1ec3575ed6d84c29642d97890f4b4a3417297e4" dependencies = [ "block-padding 0.2.1", - "generic-array 0.14.3", + "generic-array 0.14.7", +] + +[[package]] +name = "block-buffer" +version = "0.10.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3078c7629b62d3f0439517fa394996acacc5cbc91c5a20d8c658e77abd503a71" +dependencies = [ + "generic-array 0.14.7", ] [[package]] @@ -793,6 +804,16 @@ version = "0.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7a81dae078cea95a014a339291cec439d2f232ebe854a9d672b796c6afafa9b7" +[[package]] +name = "crypto-common" +version = "0.1.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1bfb12502f3fc46cca1bb51ac28df9d618d813cdc3d2f25b9fe775a34af26bb3" +dependencies = [ + "generic-array 0.14.7", + "typenum", +] + [[package]] name = "crypto-mac" version = "0.7.0" @@ -809,8 +830,8 @@ version = "0.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b584a330336237c1eecd3e94266efb216c56ed91225d634cb2991c5f3fd1aeab" dependencies = [ - "generic-array 0.14.3", - "subtle 2.2.2", + "generic-array 0.14.7", + "subtle 2.4.1", ] [[package]] @@ -819,8 +840,8 @@ version = "0.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "4857fd85a0c34b3c3297875b747c1e02e06b6a0ea32dd892d8192b9ce0813ea6" dependencies = [ - "generic-array 0.14.3", - "subtle 2.2.2", + "generic-array 0.14.7", + "subtle 2.4.1", ] [[package]] @@ -864,7 +885,7 @@ dependencies = [ "byteorder", "digest 0.8.1", "rand_core 0.5.1", - "subtle 2.2.2", + "subtle 2.4.1", "zeroize", ] @@ -877,7 +898,7 @@ dependencies = [ "byteorder", "digest 0.9.0", "rand_core 0.5.1", - "subtle 2.2.2", + "subtle 2.4.1", "zeroize", ] @@ -946,7 +967,18 @@ version = "0.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d3dd60d1080a57a05ab032377049e0591415d2b31afd7028356dbf3cc6dcb066" dependencies = [ - "generic-array 0.14.3", + "generic-array 0.14.7", +] + +[[package]] +name = "digest" +version = "0.10.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8168378f4e5023e7218c89c891c0fd8ecdb5e5e4f18cb78f38cf245dd021e76f" +dependencies = [ + "block-buffer 0.10.4", + "crypto-common", + "subtle 2.4.1", ] [[package]] @@ -1397,9 +1429,9 @@ dependencies = [ [[package]] name = "generic-array" -version = "0.14.3" +version = "0.14.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "60fb4bb6bba52f78a471264d9a3b7d026cc0af47b22cd2cffbc0b787ca003e63" +checksum = "85649ca51fd72272d7821adaf274ad91c288277713d9c18820d8499a7ff69e9a" dependencies = [ "serde", "typenum", @@ -1619,12 +1651,11 @@ dependencies = [ [[package]] name = "hmac" -version = "0.10.1" +version = "0.12.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c1441c6b1e930e2817404b5046f1f989899143a12bf92de603b69f4e0aee1e15" +checksum = "6c49c37c09c17a53d937dfbb742eb3a961d65a994e6bcdcf37e7399d0cc8ab5e" dependencies = [ - "crypto-mac 0.10.0", - "digest 0.9.0", + "digest 0.10.6", ] [[package]] @@ -2146,7 +2177,7 @@ dependencies = [ "hmac-drbg", "rand 0.7.3", "sha2 0.8.2", - "subtle 2.2.2", + "subtle 2.4.1", "typenum", ] @@ -4418,7 +4449,7 @@ checksum = "0d0c1cf7dafbcf4e1e0a56b7b28848bdf41a5e3065e9763d3aae892027109956" dependencies = [ "bs58", "bv", - "generic-array 0.14.3", + "generic-array 0.14.7", "log 0.4.11", "memmap2", "rustc_version", @@ -4436,7 +4467,7 @@ version = "1.6.0" dependencies = [ "bs58", "bv", - "generic-array 0.14.3", + "generic-array 0.14.7", "log 0.4.11", "memmap2", "rustc_version", @@ -5059,9 +5090,9 @@ dependencies = [ "curve25519-dalek 2.1.0", "digest 0.9.0", "ed25519-dalek", - "generic-array 0.14.3", + "generic-array 0.14.7", "hex", - "hmac 0.10.1", + "hmac 0.12.1", "itertools", "lazy_static", "libsecp256k1", @@ -5607,9 +5638,9 @@ checksum = "2d67a5a62ba6e01cb2192ff309324cb4875d0c451d55fe2319433abe7a05a8ee" [[package]] name = "subtle" -version = "2.2.2" +version = "2.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7c65d530b10ccaeac294f349038a597e435b18fb456aadd0840a623f83b9e941" +checksum = "6bdef32e8150c2a081110b42772ffe7d7c9032b606bc226c8260fd97e0976601" [[package]] name = "symlink" @@ -6453,9 +6484,9 @@ checksum = "1410f6f91f21d1612654e7cc69193b0334f909dcf2c790c4826254fbb86f8887" [[package]] name = "typenum" -version = "1.12.0" +version = "1.16.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "373c8a200f9e67a0c95e62a4f52fbf80c23b4381c05a17845531982fa99e6b33" +checksum = "497961ef93d974e23eb6f433eb5fe1b7930b659f06d12dec6fc44a8f554c0bba" [[package]] name = "ucd-trie" diff --git a/sdk/Cargo.toml b/sdk/Cargo.toml index 988f1aedb88a19..ecb21373124387 100644 --- a/sdk/Cargo.toml +++ b/sdk/Cargo.toml @@ -44,7 +44,7 @@ chrono = { version = "0.4", optional = true } curve25519-dalek = { version = "2.1.0", optional = true } generic-array = { version = "0.14.3", default-features = false, features = ["serde", "more_lengths"], optional = true } hex = "0.4.2" -hmac = "0.10.1" +hmac = "0.12.1" itertools = "0.9.0" lazy_static = "1.4.0" log = "0.4.11"