A simple, secure command-line password manager built in Python.
Encrypts your credentials using AES (Fernet) and stores them in a local vault.
- Add new credentials (site, username, password)
- Secure AES-based encryption (via
cryptography.fernet
) - View stored passwords (decrypted live)
- JSON vault storage (
vault.json
) - CLI interface for interaction
- Key security via
vault.key
(ignored by Git) - 🔐 Master password protection (added in v2)
- Python 3.6+
cryptography
- Command-line interface
- File-based storage (
vault.json
) - AES 128-bit encryption (Fernet)
To install dependencies, run:
pip install -r requirements.txt
This password vault is protected by a master password to prevent unauthorized access.
python master_password.py
You'll be prompted to create your master password.
It will be encrypted and saved to a file named master.key
.
⚠️ Important: Themaster.key
file is automatically excluded by.gitignore
.
Do not push it to GitHub or share it — it unlocks your entire vault.
Whenever you run:
python vault.py
You'll need to enter your master password before accessing or managing saved credentials.
git clone https://github.com/DecryptMike/DecryptMike-Password-Manager.git
cd DecryptMike-Password-Manager
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt
python generate_key.py
python vault.py
🔐 Password Vault
1. Add new entry
2. View saved entries
3. Exit
Select an option: 1
Enter site name: github
Enter username: decryptmike
Enter password: h4ck3rbyt3s
✅ Entry added for github
Select an option: 2
🌐 github
👤 Username: decryptmike
🔑 Password: h4ck3rbyt3s
To strengthen my cybersecurity foundations and demonstrate real-world encryption handling through Python.
This vault is designed for educational use and as a base for more advanced features.
This tool is intended for educational and authorized personal use only.
Do not use it to store sensitive or production passwords without enhancements.