genpass is a command-line utility that generates a random passphrase.
Running genpass outputs a passphrase consisting of six capitalized words suffixed with a single digit, separated by a single hyphen [-].
Example: Hippopotamus0-Highlight2-Brainstorm9-Skeleton0-Extend7-Gallery3
NAME
genpass - generate a random passphrase
SYNOPSIS
genpass [OPTIONS...]
OPTIONS
-n NUM_WORDS
Output a passphrase that is `NUM_WORDS` words long (max
255, defaults to 6).
-h
Print the help output for genpass.
zigmake
build: build the release versionrun: build and run the debug versiontest: run all tests
To configure the list of words genpass pulls from:
- replace the contents of wordlist.txt with your list of newline-separated words
- rebuild with
make buildormake run
Note: the word list is embedded into the executable, so wordlist.txt isn't required for the compiled program to run.
0BSD