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 |
|
#1853 in Cryptography
40 downloads per month
21KB
456 lines
randompass
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
Dependencies
~1.5MB
~21K SLoC