A dead simple password manager CLI written in Python, using MySQL database
mysql -u <user> -p <password> < ./database/db.sql
sudo sh install.sh
Open the keys.py file and fill out the proper database credentials.
keys = {
'user': '<db_username>',
'password': '<password>',
'database': 'pypass_db'
}
To add a password, simply put the add command to open a form to create your password
./pypass.py add
To add a random password, use the -r option and -s to specify the length of the password. Default size is 10
usage: pypass add [-h] [-r] [-s SIZE]
To get a password, as well as the add command, use get to open a form to get your password.
./pypass.py get
To get all passwords:
./pypass.py get [-a]
To change command has two functionalities, change a password or change the master password.
To change the master password
./pypass.py change -m
To change a password:
./pypass.py change -p [-r] [-s]
Use options -r
and -s
to specify a random password. The default size is 10
Note: You only will be able to change your password, other additional information such like your email, username, will not for now.
To remove a password, type:
./pypass.py remove
to select what password you would remove.
Feel free to share ideas or contribute to this small project.