#password-generator #xkcd #generate #remember #word #word-list #com-936

bin+lib xkpass

Generate passwords that are easy to remember. Inspired by https://xkcd.com/936/

1 unstable release

0.1.0 Aug 4, 2022

#941 in Authentication

MIT/Apache

45KB
157 lines

xkcd password generator

Generate passwords that are easy to remember. Inspired by the xkcd webcomic on passwords:

xkcd-webcomic

Word Lists

This project uses the word lists for random passphrases provided by EFF (Electronic Frontier Foundation). EFF's long word list is used by default, though all three of their word lists are available.

Install

Use cargo to install xkpass:

cargo install xkpass

Alternatively, build from source:

cargo build --release

Usage

USAGE:
    xkpass [OPTIONS]

OPTIONS:
    -c, --case <CASE>              Case to use on the words [default: lower] [possible values: upper, lower, capitalized,
                                   mixed]
    -h, --help                     Print help information
    -l, --list <LIST>              List of words to use for random password generation [default: long] [possible values:
                                   long, short1, short2]
    -n, --number <NUMBER>          Number of words to include in the password [default: 6]
    -s, --separator <SEPARATOR>    A separator to use between words [default: " "]
    -V, --version                  Print version information

License

xkpass is licensed under the terms of either the MIT license or the Apache License 2.0.

Dependencies

~5–16MB
~188K SLoC