Command line tool that checks how much a password is safe
Coded with 💙 by edoardottt.
This tool doesn't store any information!!
Remember, never use personal(or related to you) info in your password!
First of all, clone the repo locally
git clone https://github.com/edoardottt/pwdsafety.git
pwdsafety has external dependencies, so they need to be pulled in:
Linux (Requires high perms, run with sudo)
make linux (to install)
make unlinux (to uninstall)
Windows (executable works only in pwdsafety folder. Alias?)
make windows (to install)
make unwindows (to uninstall)
It reads from standard input the entered password.
First, it searches if the password or the password reversed is a well known pwd.
Then, just do little calculations, checking if the basic rules are respected, like if there are UPPERCASE CHARS, lowercase chars, numb3rs and symbols.
It stores the length of the password and the ratio [ unique different chars / total chars].
It calculates then the entropy of a password.
Password entropy is a measurement of how unpredictable a password is.
The formula for entropy is:
When the score <= 68(reasonable) it generates a random password.
Max score: 100