From 60ca71f9954270e2deb640038986377bdb44ea08 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 29 Jun 2022 16:12:52 +0000 Subject: [PATCH] fix(deps): update rust crate crypto-utils to 0.4.0 --- Cargo.lock | 22 ++++++++++++++++++++-- server/Cargo.toml | 2 +- types/Cargo.toml | 2 +- 3 files changed, 22 insertions(+), 4 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 7076733..2826f9e 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -343,15 +343,17 @@ dependencies = [ [[package]] name = "crypto-utils" -version = "0.3.0" +version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8d09d7237fa1de6fb962d691ece115c8f9d69e36aad536129e0b03bdaf8bda96" +checksum = "3ce0daeee37b2a787f5a0d66c60d72722af27f7a6f10925bcdbdae752eaf13e9" dependencies = [ "chrono", + "hmac", "jsonwebtoken", "serde", "sha1", "sha2", + "thiserror", ] [[package]] @@ -362,6 +364,7 @@ checksum = "f2fb860ca6fafa5552fb6d0e816a69c8e49f0908bf524e30a90d97c85892d506" dependencies = [ "block-buffer", "crypto-common", + "subtle", ] [[package]] @@ -643,6 +646,15 @@ version = "0.4.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7f24254aa9a54b5c858eaee2f5bccdb46aaf0e486a595ed5fd8f86ba55232a70" +[[package]] +name = "hmac" +version = "0.12.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6c49c37c09c17a53d937dfbb742eb3a961d65a994e6bcdcf37e7399d0cc8ab5e" +dependencies = [ + "digest", +] + [[package]] name = "homedisk" version = "0.0.0" @@ -1464,6 +1476,12 @@ dependencies = [ "unicode-normalization", ] +[[package]] +name = "subtle" +version = "2.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6bdef32e8150c2a081110b42772ffe7d7c9032b606bc226c8260fd97e0976601" + [[package]] name = "syn" version = "1.0.98" diff --git a/server/Cargo.toml b/server/Cargo.toml index d5189c3..a852b53 100644 --- a/server/Cargo.toml +++ b/server/Cargo.toml @@ -11,7 +11,7 @@ byte-unit = "4.0.14" futures = "0.3.21" hyper = { version = "0.14.19", features = ["full"] } log = "0.4.17" -crypto-utils = { version = "0.3.0", features = ["jwt"] } +crypto-utils = { version = "0.4.0", features = ["jwt"] } serde = { version = "1.0.137", features = ["derive"] } thiserror = "1.0.31" tower-http = { version = "0.3.4", features = ["full"] } diff --git a/types/Cargo.toml b/types/Cargo.toml index fec3ed9..9325ac7 100644 --- a/types/Cargo.toml +++ b/types/Cargo.toml @@ -16,6 +16,6 @@ zeroize = { version = "1.5.5", features = ["derive"] } axum = { version = "0.5.10", optional = true } toml = { version = "0.5.9", optional = true } dirs = { version = "4.0.0", optional = true } -crypto-utils = { version = "0.3.0", features = ["sha"], optional = true } +crypto-utils = { version = "0.4.0", features = ["sha"], optional = true } hex = { version = "0.4.3", optional = true } sqlx = { version = "0.6.0", features = ["sqlite"], optional = true }