From b2ad0f5475b8285187f8198fc62cec7934b2a123 Mon Sep 17 00:00:00 2001 From: Pierre HUBERT Date: Sat, 24 Aug 2024 00:28:19 +0000 Subject: [PATCH] Update Rust crate totp_rfc6238 to 0.6.0 --- Cargo.lock | 8 +++++--- Cargo.toml | 2 +- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index b052b1f..aec566f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3075,11 +3075,13 @@ dependencies = [ [[package]] name = "totp_rfc6238" -version = "0.5.3" +version = "0.6.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "efe950e61b731398f35972293f727453b7a85e7d4c216f05fc0cf40c54fe3a49" +checksum = "1329a48ffb99a7257f792c0db25d989248c552dc15073dd24ab70752f74c5b1f" dependencies = [ - "ring", + "hmac", + "sha1", + "sha2", ] [[package]] diff --git a/Cargo.toml b/Cargo.toml index e9cbf81..581b63c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -30,7 +30,7 @@ jwt-simple = { version = "0.12.9", default-features = false, features = ["pure-r digest = "0.10.7" sha2 = "0.10.8" lazy-regex = "3.1.0" -totp_rfc6238 = "0.5.3" +totp_rfc6238 = "0.6.0" base32 = "0.5.0" qrcode-generator = "4.1.9" webauthn-rs = { version = "0.5.0", features = ["danger-allow-state-serialisation"] }