diff options
Diffstat (limited to 'src/bin')
-rw-r--r-- | src/bin/rbw/commands.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/rbw/commands.rs b/src/bin/rbw/commands.rs index ee767c7..c1f9291 100644 --- a/src/bin/rbw/commands.rs +++ b/src/bin/rbw/commands.rs @@ -1494,7 +1494,7 @@ fn parse_totp_secret(secret: &str) -> anyhow::Result<Vec<u8>> { } else { secret.to_string() }; - base32::decode(base32::Alphabet::RFC4648 { padding: false }, &secret_str) + base32::decode(base32::Alphabet::RFC4648 { padding: false }, &secret_str.replace(" ", "")) .ok_or_else(|| anyhow::anyhow!("totp secret was not valid base32")) } |