An offline Password Manager with TUI that stores password securely. This uses 2FA - masterkey (something you know) and OTP (something you have) to authenticate into the vault where the passwords are stored in encrypted format.
Using the masterkey a vault key is derived using PBKDF2(Password Based Key Derivation Function 2) . The vault key is used to encrypt password using AES (recommended by NIST)
# Clone the repository
git clone https://github.com/alisimran/PasswordManager
pip install -r requirements.txt
Refer to this article to setup postgresql on your device: https://www.postgresqltutorial.com/install-postgresql/
Enter your username, database name and password inside db_connect.py
To setup app password(to send otp) refer to this article: https://support.google.com/accounts/answer/185833?hl=en
Generate masterhash using function master_hash_gen and place it in masterhash in action.py file
- Enter project direcotry and run main.py
cd project; python main.py
- Enter required credentials and OTP to enter vault.
- Press Enter to list menu and navigate accordingly.
http://github.com/alisimran