Crates.io | genpass |
lib.rs | genpass |
version | 0.5.27 |
source | src |
created_at | 2018-05-05 08:52:47.711366 |
updated_at | 2023-01-02 06:04:53.373661 |
description | A simple yet robust commandline random password generator. |
homepage | |
repository | https://git.cyplo.dev/cyplo/genpass.git |
max_upload_size | |
id | 63832 |
size | 101,915 |
A simple yet robust commandline random password generator.
Multiplatform (Linux, Mac, Windows). Fast.
You can use it generate keys or passwords in scripts or use it as your primary desktop password generator.
Has extensive generative test suite, including tests against a Rust port of Dropbox's password strength tester zxcvbn
genpass # use defaults, they're good
genpass 2048 # generate long password, can be used as a key
genpass --passphrase 128 # generate longer passphrase
genpass -dlu # no special characters
On a Mac:
genpass | pbcopy
On Linux:
genpass | xclip -selection clipboard
nix run git+https://git.cyplo.dev/cyplo/genpass.git
https://git.cyplo.dev/cyplo/genpass.git
$ cargo install genpass
$ genpass --help
USAGE:
genpass [FLAGS] [length]
FLAGS:
-h, --help Prints help information
-l, --include-lowercase Generate the password using lowercase letters
-n, --include-numeric Generate the password using numeric characters
-s, --include-special Generate the password using special (non-alphanumeric) characters
-u, --include-uppercase Generate the password using uppercase letters
--passphrase Create a passphrase of (at least) the given length instead of a password.
--version
ARGS:
<length> The length of the password to generate [default: 32]
--length
characters long, not necessarily exactly that long.TODOs to get genpass
to 1.0
All contributions welcome !
git clone https://git.cyplo.dev/cyplo/genpass.git
nix develop
in this repo will give you a shell with all the dependencies needed