#password #hash #cli #security #supergenpass

bin+lib rustgenpass

Generate a hashed password similar to SuperGenPass

3 releases (breaking)

0.5.0 Oct 25, 2022
0.4.0 Sep 22, 2022
0.3.0 Sep 21, 2022

#300 in #password

MIT license

19KB
237 lines

RustGenPass

Cross-compile Crates.io docs.rs Crates.io

An implementation in Rust of the SuperGenPass utility.

Hash a master password into unique, complex passwords specific for each website.

Documentation on docs.rs

Usage

rustgenpass 0.5.0
Generate a hashed password similar to SuperGenPass.

USAGE:
    rgp [OPTIONS] --domain <DOMAIN>

OPTIONS:
  -p, --password <PASSWORD>  Master password, if not given, reads from stdin
  -s, --secret <SECRET>      Secret added to the master password
  -d, --domain <DOMAIN>      Domain / URL to generate password for
  -l, --length <LENGTH>      Length of generated password, min: 4, max: 24 [default: 10]
  -r, --rounds <ROUNDS>      Number of hash rounds [default: 10]
  -k, --keep-subdomains      Don't remove subdomains from domain
  -P, --passthrough          Passthrough domain unmodified to hash function
  -H, --hash <HASH>          Hashing method to use [default: md5] [possible values: md5, sha512]
  -h, --help                 Print help information
  -V, --version              Print version information

License

Copyright 2022 Olle Wreede

Released under the MIT license.

Dependencies

~5–13MB
~160K SLoC