From c6a85cfb21bb0ec583fee67bbfbc6e8d4b2cca7c Mon Sep 17 00:00:00 2001 From: Marc Vertes Date: Sun, 22 Jan 2023 14:45:29 +0100 Subject: update --- bin/gauth | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'bin/gauth') diff --git a/bin/gauth b/bin/gauth index 699cd84..bf66c2a 100755 --- a/bin/gauth +++ b/bin/gauth @@ -3,7 +3,8 @@ # Use backup from andOTP #gpg -qd ~/otp_accounts.json.gpg.pgp | #gpg -qd ~/.otp_accounts.json.gpg | -cat ~/otp_accounts.json | +#cat ~/otp_accounts.json | +gpg -qd ~/.otp.gpg | jq -r '.[] | "\(.label) \(.secret)"' | while read -r l s; do echo "$l $(oathtool --totp -b "$s")" -- cgit v1.2.3