A simple (weak) password generator.
THIS IS NOT INTENTED TO BE USED FOR SECURE PASSWORDS.
To install passgen, you must clone this repository and install through cargo:
git clone https://github.com/pandaa73/passgen.git
cargo install --path passgen
Before using the generator, you should create a word list at
<CONFIG_DIR>/passgen/words.txt. This will be used to generate the passwords.
Note that the config dir is found using dirs (see dependencies).
An example word list can be found here.
To generate a password, simply run:
passgen
To generate count passwords, simply run:
passgen <count>
Each password is in the following format:
word0-word1-word2-word3
where each wordN is a randomly selected word from the word list in your config
directory.
This crate depends on:
The sample word list is a modified version of 1000_parole_italiane_comuni.txt,
which can be found here.