1 unstable release
0.1.0 | Sep 25, 2024 |
---|
#597 in Command line utilities
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
- Apache License, Version 2.0 (LICENSE-APACHE or https://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or https://opensource.org/licenses/MIT)
at your option.
Dependencies
~1.4–2MB
~37K SLoC