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
zig
make
build
: build the release versionrun
: build run the debug versiontest
: run all testscodegen-wordlist
: generate zig code representing wordlist.txt (see below)
To configure the list of words genpass pulls from:
- replace the contents of wordlist.txt with your list of newline-separated words
- run
make codegen-wordlist
- rebuild with
make build
ormake run
Note: codegen-wordlist
embeds the word list into the executable, so wordlist.txt
isn't required for the compiled program to run.
0BSD