summaryrefslogtreecommitdiff
path: root/bin/gauth
diff options
context:
space:
mode:
authorMarc Vertes <mvertes@free.fr>2022-05-13 13:47:14 +0200
committerMarc Vertes <mvertes@free.fr>2022-05-13 13:47:14 +0200
commitcba68be4f36e9a1d34bc7a2d88ceda7a08ea0ddd (patch)
treecc80a7fde9d70a4cf113f709b89235b216677e7f /bin/gauth
parent1e1a1087f799632c021af612eb3c919cf1143237 (diff)
update
Diffstat (limited to 'bin/gauth')
-rwxr-xr-xbin/gauth4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/gauth b/bin/gauth
index b18f73d..169fd3b 100755
--- a/bin/gauth
+++ b/bin/gauth
@@ -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")"