A modern, secure GUI application for decrypting 2FAS app backup files
π Quick Start β’ π₯ Download β’ π οΈ Installation β’ π Documentation
π¨ Modern UI | π Secure Decryption | π Easy File Handling |
---|---|---|
Beautiful Qt6 interface with dark theme | Industry-standard AES-GCM encryption | Drag & drop + file browser support |
π§΅ Multithreading | πΎ Export Options | π Cross-Platform |
---|---|---|
Non-blocking UI during decryption | Save results as JSON files | Windows, macOS, Linux support |
The 2FAS GUI Backup Decryption Tool is a user-friendly desktop application that allows you to decrypt and view your 2FAS authenticator app backup files. Whether you need to migrate to a new device, audit your 2FA tokens, or simply access your backup data, this tool provides a secure and intuitive solution.
- Download the latest release from the Releases page
- Run the executable directly - no installation required!
- Load your
.2fas
backup file - Enter your backup password
- Decrypt and view your data
# Clone the repository
git clone https://github.com/AlexanderQueen/2FAS-GUI-Backup-Decryption-Tool.git
cd 2FAS-GUI-Backup-Decryption-Tool
# Install dependencies
pip install -r requirements.txt
# Run the application
python 2fas.py
Platform | Download | Size |
---|---|---|
πͺ Windows | 2FAS-Decryption-Tool.exe | ~35MB |
π macOS | 2FAS-Decryption-Tool.dmg | TBD |
π§ Linux | 2FAS-Decryption-Tool | TBD |
- Python 3.8+ (for running from source)
- 2FAS backup file (
.2fas
extension) - Backup password (the one you set when creating the backup)
# PyQt6 for the graphical user interface
PyQt6>=6.0.0
# Cryptography library for AES-GCM decryption and PBKDF2 key derivation
cryptography>=3.4.0
# PyInstaller for building standalone executables (optional - only needed for building)
PyInstaller>=5.0.0
# Install build dependencies
pip install pyinstaller
# Build executable
python build.py
The built executable will be available in the dist/
folder.
-
π Load Your Backup
- Drag and drop your
.2fas
file onto the application - OR click the file area to browse and select your backup
- Drag and drop your
-
π Enter Password
- Type your backup password in the password field
- This is the password you set when creating the backup in 2FAS
-
π Decrypt
- Click the "π Decrypt Backup" button
- Wait for the progress bar to complete
-
π View Results
- Your decrypted data will appear in JSON format
- Review your 2FA tokens and associated data
-
πΎ Save (Optional)
- Click "πΎ Save Results" to export the data
- Choose your preferred location and filename
- Input:
.2fas
backup files from 2FAS Authenticator app - Output: JSON format with all your 2FA token data
- π‘οΈ Local Processing: All decryption happens locally on your device
- π Industry Standard: Uses AES-GCM encryption with PBKDF2 key derivation
- π« No Data Collection: No data is sent to external servers
- π§΅ Secure Memory: Passwords are handled securely in memory
- Algorithm: AES-GCM (Galois/Counter Mode)
- Key Derivation: PBKDF2-HMAC-SHA256
- Iterations: 10,000
- Key Length: 256-bit
π Project Structure
βββ 2fas.py # Main application file
βββ build.py # Build script for executables
βββ requirements.txt # Python dependencies
βββ icons/ # Application icons
βββ dist/ # Built executables (after build)
We welcome contributions! Here's how you can help:
- π΄ Fork the repository
- πΏ Create a feature branch (
git checkout -b feature/amazing-feature
) - π« Commit your changes (
git commit -m 'Add amazing feature'
) - π Push to the branch (
git push origin feature/amazing-feature
) - π Open a Pull Request
# Clone your fork
git clone https://github.com/YOUR_USERNAME/2FAS-GUI-Backup-Decryption-Tool.git
cd 2FAS-GUI-Backup-Decryption-Tool
# Create virtual environment
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate
# Install dependencies
pip install -r requirements.txt
# Run in development mode
python 2fas.py
Found a bug or have a feature request? Please open an issue with:
- π Bug Reports: Steps to reproduce, expected vs actual behavior, system info
- π‘ Feature Requests: Clear description of the feature and its use case
This project is licensed under the MIT License - see the LICENSE file for details.
- 2FAS Team - For creating the excellent 2FAS Authenticator app
- PyQt6 - For the fantastic GUI framework
- Cryptography Library - For secure encryption implementation
If this tool helped you, please consider:
- β Starring this repository
- π Reporting any bugs you find
- π¬ Sharing with others who might need it
- π€ Contributing to make it even better
Made with β€οΈ by @AlexanderQueen
π Home β’ π Issues β’ π Releases