6 releases (3 breaking)

0.4.0 May 30, 2019
0.3.0 Sep 16, 2018
0.2.1 Mar 2, 2018
0.2.0 Sep 1, 2017
0.1.1 Jan 31, 2017

#78 in #password-generator

GPL-3.0 license

17KB
198 lines

pwgenr Crates.io

Random password generator (mainly for use with a password manager).

Example

$ pwgenr -c box -- 12 6
◭┫▹◨┒◳┟┰┒┴┷○
╓┭◷▱╙▙╼○▒┆◌╰
▯◳▥◱◛═▉◆┴◽▌╓
◶◓┆│┓╰┶◑▶◉◁┓
┶┬◪◶◞┼▰▏┞╳╋▩
▌┖╅┺┶◫┺┹◪┲┧┦

Options

You can check by typing pwgenr -h:

USAGE:
    pwgenr [FLAGS] [OPTIONS] [--] [ARGS]

FLAGS:
    -b, --clipboard    Copy first password to clipboard (requires xclip)
    -h, --help         Prints help information
    -V, --version      Prints version information

OPTIONS:
    -c <categories>...        Categories to be used [values: symbols, games, tech, box, arrows, dingbat, math, ascii]

ARGS:
    <LENGTH>    of the generated passwords [default: 64]
    <AMOUNT>    of generated passwords [default: 12]

Installation

You can use the cargo install command:

$ cargo install pwgenr

or a classic build and run:

$ git clone https://gitlab.com/Sakuhl/pwgenr
$ cd pwgenr
$ cargo build --release
$ cp target/release/pwgenr ~/.bin # assuming .bin is in your path

Dependencies

~3MB
~36K SLoC