No description
  • Rust 94.8%
  • Makefile 5.2%
Find a file
2025-07-28 11:13:34 +02:00
src removed quotes from output 2024-11-16 13:17:29 +01:00
.gitignore added examples 2024-02-07 20:35:43 +01:00
Cargo.lock added titlecase switch 2024-11-15 14:50:59 +01:00
Cargo.toml added titlecase switch 2024-11-15 14:50:59 +01:00
LICENSE added readme and license 2024-02-01 19:42:09 +01:00
Makefile Added Makefile 2024-11-15 11:56:01 +01:00
README.md added titlecase in README 2025-07-28 11:13:34 +02:00

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