Reencode Google Authenticator QR codes
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Samuel Pua d603f3bd21 Updated requirements & dependencies 4 years ago
otpauth_migration_decoder First working version 4 years ago
.gitignore First working version 4 years ago
README.md Updated requirements & dependencies 4 years ago
gauth_reencoder.py First working version 4 years ago
requirements.txt Updated requirements & dependencies 4 years ago

README.md

GAuth QR Reencoder

This tool is used to convert QR code images from Google Authenticator's QR code from both migration (export) and new TOTP.

Usage

The script would take a screenshot of the screen in 2 seconds, then parse the first eligible QR code shown on the screen.

Execute the following to start the Python script:

python3 gauth_reencoder.py

Dependencies

The Python libraries required are stated in requirements.txt. You may execute the following command to install them.

pip3 install requirements.txt

zbar library is also required on the OS for reading QR code. You may install it using the following:

Ubuntu

sudo apt install libzbar0

Mac

homebrew install zbar

References

This project utilises code from digitalduke (https://github.com/digitalduke/otpauth-migration-decoder)