1 unstable release

0.1.0 Sep 25, 2024

#1124 in Command line utilities

MIT/Apache

10KB
91 lines

ppgen

A simple passphrase generator.

Installation

cd ppgen/
cargo install --path .

Usage

Generate a 5 word long random passphrase with wordlist:

ppgen -c 5 -w /usr/share/dict/words

Generate a 5 word long random passphrase with multiple wordlists:

ppgen -c 5 -w path/to/wordlists/* # your shell needs to support wildcards

Wordlists

By default, the default wordlist on the system is used. To increase the passphrase entropy, it's recommended to use other or additional wordlists. There are many good wordlists for diceware passphrases that can be downloaded from sources at: https://theworld.com/~reinhold/diceware.html .

License

All source code (including code snippets) is licensed under either of

at your option.

Dependencies

~1.4–2MB
~37K SLoC