PythonPasswordManager abbreviated as ppm is a simple and easy-to-use command-line based password manager for Windows.
I personally find this incredibly useful as I dont have to keep track of my passwords in my head. I can just go to my terminal and get the password that I want or I can list out all of my Passwords at once! This is really useful to me! Hence i made a tool so that you could benefit from it too!
- Clone this project to a directory in your machine and cd into it
- Make sure you have python3 installed
- go to cmd type,
pip install pyperclip prettytable
- Copy the Directory path and then add it to your Path User Environment Variable
- Close Cmd and Open it again. You should now be able to type ppm and access this script
- Run the Keygen (only for the first time) and then you will get a cryptokey which will be copied to your clipboard
ppm keygen
- create a new user environment variable called 'ppmcryptokey' and save the key in your clipboard as its value
- Close and open the cmd again
- Done. PythonPasswordManager has been setup on your PC
Can call this from any directory using the terminal or cmd
ppm add -n "Facebook" -p "123456" -k "abcd"
The -n flag is the name of the password, -p flag is the password and the -k is your custom ppm encryption key
ppm get -n "Facebook" -k "abcd"
you get the password based on its name! If you pass in any ppmkey except the one that you passed when creating the password entry then it will generate some useless garbage password
ppm del -n "Facebook" -k "abcd"
ppm list -k "abcd"
You must remember to add the same ppmkey for all your passwords if you want to utilize this command. Else, it will produce garbage results
Example(Using Correct ppmkey)
Example(Using Wrong ppmkey): Notice how it generates incorrect passwords
ppm clear
ppm config -ppxp .
ppm config -ppxp <path>
ppm -cppxp
Note: You technically can have a different ppmkey for each password but then you cannot use ppm list to list out all your passwords as that works only if you have the same ppmkey for all the passwords
Note: The ppmkey is not saved anywhere, If you lose it, its lost forever
Warning: Use this only if youre sure that only you use the system and no one else knows that you have ppm installed. Otherwise, acess to your passwords becomes easy
- Clear all your passwords using ppm clear
- Think of a custom ppmkey lets assume "a1b2c3"
- Create a new environment variable named 'ppmkey' and put "a1b2c3" in it.
- Close and open cmd again and now you can use the same commands but without entering the ppmkey each time! This also ensures that you have the same key for all the passwords. However, you can still specify another key and ppm will use that key instead of the environment one.
Yes it is. If you know the ppmkey that you provided during the password entry, then only that key can decipher the encrypted password! Otherwise it generates a random garbage password and displays it. It is less safe if you save the ppmkey into your environment variable. But if only you use your computer, then it is safe.
I will be updating this with more nice features now and then! This is personally very useful and hence updating it frequently is not going to be a waste of time.