From 5cf401996b9d73af2c4064cf46bf5fcdf41d1dce Mon Sep 17 00:00:00 2001 From: Awiteb Date: Sun, 19 May 2024 06:03:58 +0300 Subject: [PATCH] chore: Use the new name of `Alphabet::RFC4648` varint Based-on: dffd619b5ebcb1f2eb6516de03de39944451d1a0 --- src/vault/cipher.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vault/cipher.rs b/src/vault/cipher.rs index 88d306c..6d1c162 100644 --- a/src/vault/cipher.rs +++ b/src/vault/cipher.rs @@ -78,7 +78,7 @@ pub fn totp_now(secret_base32: &str, hash_function: &TotpHash) -> LprsResult<(St /// ## Errors /// - If the given string not valid base32 string pub fn base32_decode(base32_string: &str) -> LprsResult> { - base32::decode(Base32Alphabet::RFC4648 { padding: true }, base32_string) + base32::decode(Base32Alphabet::Rfc4648 { padding: true }, base32_string) .ok_or_else(|| LprsError::Base32("Invalid base32 string".to_owned())) }