my2FA is a tool that allows you to see which of your accounts support two-factor authentication (2FA) and which methods they support. It does this by comparing the accounts in your password manager with the entries in the 2FA Directory.
- Install Python, if you haven't already
Install venv:
pip install virtualenv
Clone the repository:
git clone https://github.com/hydrabeer/my2fa.git
cd my2fa
Create a virtual environment:
python3 -m venv venv
Activate the virtual environment:
# On macOS and Linux
source venv/bin/activate
:: On Windows
venv/Scripts/activate.bat
Install the required packages:
pip install -r requirements.txt
Run the application:
python3 app.py
This setup will create a locally run server using Flask, which you can access via a web browser. The application fetches data from the 2FA Directory API, matches entries with items from your password manager export file, and displays the results on a web page.
- 1Password (Choose
.csv
) - Bitwarden
- Dashlane (Use
credentials.csv
and adddashlane
to the filename) - LastPass
Don't see your favorite password manager? Feel free to open an issue and request support for it.
This tool currently only supports unencrypted export files, so you should delete your export file from its original location and the my2fa directory and empty your trash/recycle bin as soon as you are finished with the tool.
Please note that your IP address will be subject to 2FA Directory's privacy policy when you use this tool. This tool never reveals information about your accounts outside your local machine.
my2fa is covered by the GPLv3 (GNU General Public License version 3). Check out the quick guide to the license.