scito / extract_otp_secrets

Extract one time password (OTP) secrets from QR codes exported by two-factor authentication (2FA) apps such as "Google Authenticator". The exported QR codes from authentication apps can be captured by camera, read from images, or read from text files. The secrets can be exported to JSON or CSV, or printed as QR codes to console.
https://scito.ch/content/extract-secret-keys-google-authenticator-qr-export
GNU General Public License v3.0
1.14k stars 137 forks source link

added support for devenv #289

Open DGollings opened 3 weeks ago

DGollings commented 3 weeks ago

made this for easy dependency management for myself, but you might be interested. This sets up an environment automatically, just type direnv allow and it'll download Python, do all the venv and pip stuff and be ready for a simple python src/extract_otp_secrets.py ./file.txt