A secure command-line password manager that encrypts and stores your passwords safely.
- 🔐 Master Password Protection - Secure access with a master password
- 🔒 Military-Grade Encryption - Uses Fernet symmetric encryption
- ➕ Add Passwords - Store passwords for different accounts
- 👀 View Passwords - View all stored passwords (decrypted)
- 🔍 Search Functionality - Quickly find passwords by account name
- 🗑️ Delete Passwords - Remove passwords you no longer need
- 💾 Persistent Storage - Data saved in encrypted JSON format
pip install cryptographypython password_manager.py- Run the program
- Create a master password (you'll need this every time)
- Start adding your passwords
- Add New Password - Store a new account password
- View All Passwords - Display all stored passwords
- Search Password - Find a specific password
- Delete Password - Remove a password entry
- Exit - Close the program
- Master password hashed with SHA-256
- Passwords encrypted with Fernet (symmetric encryption)
- Password input hidden (not displayed on screen)
- Encryption key stored separately
- 3 attempts limit for master password
passwords.json- Encrypted password storagekey.key- Encryption key (keep this safe!)master.hash- Hashed master password
- Never share your master password
- Backup
key.keyfile - Without it, passwords cannot be decrypted - Keep files secure - Don't commit these files to public repositories
Enter master password: ****
✓ Access granted!
=== Add New Password ===
Account/Website name: Gmail
Username/Email: user@gmail.com
Password: ****
✓ Password for 'Gmail' saved successfully!