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.
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
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 simplepython src/extract_otp_secrets.py ./file.txt