pass-gen is a simple and efficient command-line tool for generating strong and secure passwords.
pass-gen is designed to help users create strong passwords with ease. It uses a combination of letters, digits, and punctuation symbols to generate passwords that are hard to crack. This tool is perfect for users who need to create a new password for their email, social media accounts, or any other platform requiring a secure password.
-
Customizable Password Length: Users can specify the length of the password they want to generate. If no length is specified, the tool uses a default length of 12 characters.
-
Secure Passwords: The generated passwords are a mix of uppercase and lowercase letters, digits, and special characters, making them highly secure.
-
Logging: Every generated password is logged into a file, allowing users to retrieve previously generated passwords if necessary.
-
Simple CLI Commands: The tool offers simple command-line options to view the password log or clear it.
- Python 3.x
For debian based didtros:
sudo apt install python3
Jump to your home directory:
cd $HOME
- Update & install Git:
sudo apt update -y
sudo apt install git -y
- Clone the repository to your local machine:
git clone https://github.com/anlaki-py/pass-gen.git
- Navigate to the cloned repository:
cd pass-gen
- Run the installer to add the script to
$PATH
:
- ( install for all users )
# make installer.sh executable.
chmod +x installer.sh
./installer.sh
To generate a new password, simply use the
command pass
followed by the length [required]:
# replace <length> with a number.
pass <length>
- Simply use the command
pass
followed by the argument.
argument | description |
---|---|
{lenght} |
a number to specify the length [required] |
cat |
To view the log of generated passwords |
clear |
To delete the log file |
help |
For help |
The uninstaller script will delete itself along with the directory it's in.
./uninstaller.sh
- In progress...
- This tool was created as a simple solution for generating secure passwords. It is intended for personal use and is not recommended for generating passwords for highly sensitive accounts.
None.