's bl.aagh

BSD, Ruby, Rust, Rambling


Command-line password generation


mkpass is a simple command-line random password generator written in Rust, with built-in dictionaries to keep run-time dependencies to an absolute minimum.

-% mkpass help
mkpass 0.1.0
Thomas Hurst <>
Generate reasonably secure passwords

    mkpass [FLAGS] [OPTIONS]

    -h, --help       Prints help information
    -V, --version    Prints version information
    -v, --verbose    Activate verbose mode

    -b, --bits <bits>              Password strength target, 2^n [default: 72]
    -d, --dictionary <dict>        Built-in dictionary [default: eff]  [possible values: eff, diceware, beale, alpha,
                                   mixedalpha, mixedalphanumeric, alphanumeric, pin, hex, printable, koremutake]
    -l, --length <length>          Password length (overrides bits target)
    -n, --number <number>          Number of passwords to generate [default: 1]
    -s, --separator <separator>    Word separator
    -w, --wordlist <wordlist>      External dictionary


-% mkpass -v -n 5
# Complexity 7776^6=221073919720733357899776, 77.55 bits of entropy
removing spooky stucco banish debate snagged
gumball figurine hut antics shifting sultry
clumsily runaround affirm depose revise spendable
stooge heritage opposing sudden owl material
woven crowbar rascal morse exclusive tropical