This application is designed to extract TOTP (Time-based One-Time Password) information from Authy by launching Authy in debug mode and using the Chrome DevTools API to communicate with the browser. It then runs a JavaScript script to decrypt and extract the TOTP information, which can be saved to a file or displayed to the user. This can be useful for those who want to migrate their TOTP information from Authy to another service, or simply want to access and view their TOTP information in an easier way.
Extract TOTP information from Authy macOS / Linux.
- Authy Desktop <= 2.2.3
- Python 3
- PyChromeDevTools
- tkinter
- pyfiglet
- musicalbeeps
- colorama
- qrcode
Install Authy desktop version 2.2.3 (later versions does not work) It might still work if you haven't updated Authy Desktop.
- macOS: https://pkg.authy.com/authy/stable/2.2.3/darwin/x64/Authy%20Desktop-2.2.3.dmg
- Win (x64): https://pkg.authy.com/authy/stable/2.2.3/win32/x64/Authy%20Desktop%20Setup%202.2.3.exe
- Win (x32): https://pkg.authy.com/authy/stable/2.2.3/win64/x64/Authy%20Desktop%20Setup%202.2.3.exe
(thanks to @gboudreau for the links)
In case your Authy Desktop updates itself without any notification, just close it, reinstall version 2.2.3, and then reopen it.
- On Windows, you may have to delete the update file found in the Authy Desktop's file location (inside the app-2.2.3 folder) after starting up version 2.2.3 to stop automatic updates.
- For Mac users, you can enter the given command in Terminal prior to launching Authy Desktop, which will prevent automatic updates:
mkdir -p ~/Library/Caches/com.authy.authy-mac.ShipIt ; rm -rf ~/Library/Caches/com.authy.authy-mac.ShipIt/* ; chmod 500 ~/Library/Caches/com.authy.authy-mac.ShipIt
Authy does not provide a snap package version history so you have to use flatpak which is community-run.
flatpak install com.authy.Authy
sudo flatpak update --commit=9e872aaec7746c602f8b24679824c87ccc28d8e81b77f9b0213f7644cd939cee com.authy.Authy
alias authy="flatpak run com.authy.Authy"
note: run alias authy="flatpak run com.authy.Authy
before running Authy Export if you've closed the terminal session
Clone or download this repository Navigate to the repository directory in a terminal Run the following command:
git clone https://github.com/Korben00/authy-export.git
cd authy-export
pip install -r requirements.txt
Linux: You need python3-dev libasound2-dev to install musicalbeeps package.
Run the script: python authy-export.py The script will launch Authy in debug mode. If Authy is not already installed, it will need to be installed first. The script will run the JavaScript script to decrypt and extract the TOTP information. The TOTP information will be displayed to the user and can be saved to a file by entering the desired file name and pressing enter.
python3 authy-export.py
To compile the script into an executable file, run the following command:
pyinstaller --collect-all pyfiglet --onefile --noconsole --icon ico.ico authy-export.py
Korben - https://korben.info