diff options
Diffstat (limited to 'bin/gauth')
| -rwxr-xr-x | bin/gauth | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1,7 +1,8 @@ #!/bin/sh # Use backup from andOTP -gpg -qd ~/.otp_accounts.json.gpg | +# gpg -qd ~/.otp_accounts.json.gpg | +cat ~/otp_accounts.json | jq -r '.[] | "\(.label) \(.secret)"' | while read -r l s; do echo "$l $(oathtool --totp -b "$s")" |
