8 releases (1 stable)

1.0.0 Dec 31, 2022
0.2.5 Oct 2, 2022
0.2.4 Feb 3, 2022
0.2.3 Jan 28, 2022
0.0.4 Jan 3, 2022

#660 in Cryptography

Download history 3/week @ 2024-02-20 58/week @ 2024-02-27

61 downloads per month

MIT license

21KB
456 lines

randompass

CI CD Security Audit test coverage crates.io docker pulls LoC

A simple static password generator. Generated passwords are 20 characters, lower and uppercase and contain special characters by default.

Why?

I got frustrated with generating passwords which met the required complexity.

There are a few implementations around, but their licensing meant they cannot be used in a professional setting.

Moreover, they require explicit flags to enable a specific complication (i.e.: special chars, uppercase); randompass has them enabled by default and the user can disable them instead.

Finally, they do not guarantee that the required complexity has been met (i.e.: the password might not contain a required complication).

Usage

Building from source
cargo install randompass
Using precompiled binaries

Precompiled binaries are available for multiple architectures in Releases.

randompass

For a specific length of, say 32, use:

randompass --length 32

For full options, run:

randompass --help

Docker

aarch64 and amd64 dockers are available.

Run the following command to pull the image and just generate a random password.

docker run --rm mihaigalos/randompass

Similar work

pass-rs, randpas, randompassword.

Dependencies

~1.5MB
~22K SLoC