diff options
| author | Marc Vertes <mvertes@free.fr> | 2021-06-20 16:50:57 +0200 |
|---|---|---|
| committer | Marc Vertes <mvertes@free.fr> | 2021-06-20 16:50:57 +0200 |
| commit | c54b5ef0f166a6454522686e6a2a5c1550505eb0 (patch) | |
| tree | f438edbbf48edb1e9f7df645666936771d37d8c0 /bin/gauth | |
| parent | c151c4ee62bd7b045a98dbcf3f1d6537948ba0d0 (diff) | |
update
Diffstat (limited to 'bin/gauth')
| -rwxr-xr-x | bin/gauth | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -1,7 +1,9 @@ #!/bin/sh # Use backup from andOTP -gpg -qd ~/.otp_accounts.json.gpg | +#gpg -qd ~/otp_accounts.json.gpg.pgp | +#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")" |
