keygenerator is a robust command-line interface (CLI) tool written in Go that generates secure, random passwords. It offers flexibility in password generation through various flags, allowing you to customize the length and complexity of your passwords.
To install keygenerator, execute the following commands in your terminal:
curl -OL https://github.com/rafaelperoco/keygenerator/releases/download/v0.1.0/keygenerator_1.0.0_linux_amd64.tar.gz
tar -xvf keygenerator_0.1.0_linux_amd64.tar.gz
sudo mv keygenerator /usr/local/bin
To generate a password, simply run keygenerator in your terminal. By default, it generates a 20-character password using letters and numbers.
keygenerator -h
A CLI tool to generate passwords with entropy and complexity
Usage:
keygenerator [flags]
Flags:
-e, --exclude string exclude characters from the password
-h, --help help for keygenerator
-n, --length int length of the password (default 20)
-l, --letters use letters and numbers
-s, --special use letters, numbers and special characters
Generate a 20-character password using letters and numbers:
keygenerator
Generate a 10-character password using letters and numbers:
keygenerator -n 10
Generate a 20-character password using just letters:
keygenerator -l
Generate a 20-character password using letters, numbers and special characters:
keygenerator -s
Generate a 20-character password using letters and numbers, excluding the characters 0, o, O, 1 and l:
keygenerator -e 0oO1l
Generate a 10-character password using letters and numbers, excluding the characters 0, o, O, 1 and l:
keygenerator -n 10 -l -e 0oO1l
MIT ©
Rafael Peroco
Feel free to open issues and pull requests.