No description
- Rust 94.8%
- Makefile 5.2%
| src | ||
| .gitignore | ||
| Cargo.lock | ||
| Cargo.toml | ||
| LICENSE | ||
| Makefile | ||
| README.md | ||
passphrase
this programm uses diceware wordlists for generating passphrases
Requirements
- Rust v1.75
Building
cargo build --release
The compiled binary will be located at target/release/passphrase
Or use Make
make
make install
Usage
passphrase [OPTIONS] --list <LIST>
Options:
-L, --list <LIST> Path to wordlist
-s, --separator <SEPARATOR> Separator for passphrase [default: " "]
-w, --words <WORDS> Number of words in passphrase [default: 5]
-l, --lines <LINES> Number of passphrases to generate [default: 1]
-n, --number Add a number to passphrase
-t, --titlecase Capitalize worrds
-h, --help Print help
-V, --version Print version
See https://github.com/dys2p/wordlists-de for diceware lists in German
Examples
# Generate 2 passphrases with 4 capitalized words and a number separated by "-" from eff wordlist
wget https://www.eff.org/files/2016/07/18/eff_large_wordlist.txt
passphrase -L eff_large_wordlist.txt -w 4 -l 2 -n -s "-" -t
Licensing
Licensed under MIT