diff options
| author | Marc Vertes <mvertes@free.fr> | 2022-05-13 13:47:14 +0200 |
|---|---|---|
| committer | Marc Vertes <mvertes@free.fr> | 2022-05-13 13:47:14 +0200 |
| commit | cba68be4f36e9a1d34bc7a2d88ceda7a08ea0ddd (patch) | |
| tree | cc80a7fde9d70a4cf113f709b89235b216677e7f /bin/gauth | |
| parent | 1e1a1087f799632c021af612eb3c919cf1143237 (diff) | |
update
Diffstat (limited to 'bin/gauth')
| -rwxr-xr-x | bin/gauth | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,8 +1,8 @@ #!/bin/sh # Use backup from andOTP -# cat ~/.otp_accounts.json | -gpg -qd ~/.otp_accounts.json.gpg 2>/dev/null | +#gpg -qd ~/.otp_accounts.json.gpg 2>/dev/null | +cat ~/.otp_accounts.json | jq -r '.[] | "\(.label) \(.secret)"' | while read -r l s; do echo "$l $(oathtool --totp -b "$s")" |
