Step 1. Generate OTP code from Google OTP application ("Export accounts")
Step 2. Read the QR code(s) with tools (e.g., online qr reader, some python scripts, ...)
Step 3. Extract secret codes from QR code(s) with the script from https://github.com/scito/extract_otp_secrets
Step 4. Install the Alfred workflow: https://github.com/moul/alfred-workflow-gauth
Step 5. Write ~/.gauth
file with the information got from Step 3
If not working: You can debug from Alfred workflow panel. It'd be probably a python executable missing problem. If so, check this: moul/alfred-workflow-gauth#29
Recommendation: gauth
is a too long shortcut. Just use ga
, gg
, or otp
.
Warning: ~/.gauth
file literally has your 2nd verification secret key. It's basically not a safe action.