a nice and easy way to save your passwords, entirely made out of python, with a seni-secure encryption and password lock.
What is it?
PasswordSaver is a semi-secure password saver with encryption created in Python 3.9.Arguments (important!)
To save a password with args, CD to the folder and type:python3.9 save-password.py -S --name NAME --email EMAIL --password PASSWORD
.. or type:
python3.9 save-password.py --help
. All arguments are required for quick saving!
python3.9 edit-password.py -E --name NAME
.. or type:
python3.9 edit-password.py --help
. All arguments are required for quick editing!
python3.9 delete-password.py --D --name NAME
.. or type:
python3.9 delete-password.py --help
. Again, all arguments are required for quick deleting!
Generating a random password
Inside the UI
To generate a random password inside the UI:CD into the folder and type python3.9 save-gui.py
and press Enter. Inside the UI press Generate. This will generate a random password for you.
Inside the CLI
CD into the folder and type python3.9 save-password.py -S --name NAME --email EMAIL/USER --random LENGTH
-S = Checking that you want to save
--name NAME = Name of the file, example: --name GitHub
--email EMAIL/USER = Username of website, example: --email test@example.com
--random LENGTH = Generates a random password for you, example: --random 20 (generates a 20 character long password)
UI Saving/Getting
CD into the folder and type this to get the save UI:python3.9 save-gui.py
You will know when your password saved when it clears the box contents. To get your password, type:
python3.9 get-gui.py
..and enter the name of your password, the password lock and press Get. Simply press Clear when you have done looking at your password. Editing/Deleting will come soon.
First, if you don't have it, install 'pip' (installation guide here) , it's required for this as it installs the required Python libraries.
Then, go in to your terminal and CD to this folder, then you need to type:
python3.9 -m pip install cryptography
And it should install the required library 'Cryptography'.
Next you want to run save-password.py
using Python 3.9
.
It should ask for a password lock, this is an extra step needed to decrypt your passwords. Then the name of the password, then Email/Username, then password.
It then encrypts the JSON and saves it to /passwords/(name).txt
Then to get the password, open get-password.py
in Python 3.9
and enter the name of the password you saved. It displays it in your Terminal, and keeps it encrypted.
It should look like this:
Name - GitHub (example)
User/Email - test@example.com
Password - password
Just open edit-password.py
in Python 3.9
and type the name in, then enter your new username and password and it edits and encrypts!
Open delete-password.py
in Python 3.9
and type the file name in. It will display its decrypted contents just in case.
Message me on Discord:
epic!!#0088
Download pip, then unzip it, go in to your terminal and CD to the folder, and type:
python3.9 setup.py install
. It should install pip.