sane-secrets-dump: fix oathtool invocation to always specify --totp
This commit is contained in:
@@ -122,7 +122,7 @@ main() {
|
||||
printKeyValue "$format" "username" "$username"
|
||||
printKeyValue "$format" "password" "$password"
|
||||
if [ -n "$totp" ]; then
|
||||
totp=$(echo "$totp" | oathtool -b -)
|
||||
totp=$(echo "$totp" | oathtool -b --totp -)
|
||||
printKeyValue "$format" "totp" "$totp"
|
||||
fi
|
||||
fi
|
||||
|
Reference in New Issue
Block a user