Cli based Google Authenticator TOTP Generator
- Requires Python 3.6+
- Install requirements using poetry
poetry install
3.Install zbar package
pip install zbar
For mac user
brew install zbar
python gauthy generate [--key/-k Authenticator_Key | --qr/-q Path_To_Qr_Image | --file/-f Storage_File] [--current/-c]
python gauthy generate -k YOURAUTHKEYHERE
python gauthy generate --key YOURAUTHKEYHERE
python gauthy generate -q path/to/image
python gauthy generate --qr path/to/image
# To save to a file
python gauthy save path/to/file [--key/-k Authenticator_Key|--qr/-q Path_To_Qr_Image]
# To generate from a file
python gauthy generate [--file/-f Storage_File] [--current/-c]
# To add Auth key to file
python gauthy save path/to/file -k YOURAUTHKEYHERE
# To add URI from QR image to file
python gauthy save path/to/file -q path/to/image
python gauthy generate -f path/to/file
python gauthy generate --file path/to/file
- To display just current TOTP
- Use -c / --curent flag to display just current TOTP
- Example:
python gauthy -q path/to/image --current
python gauthy --key YOURAUTHKEYHERE -c
python gauthy --help