Skip to content

mihaigalos/randompass

Folders and files

NameName
Last commit message
Last commit date

Latest commit

1cc9195 Β· Mar 10, 2025
Jan 3, 2022
Mar 4, 2023
Feb 15, 2023
Jan 3, 2022
Mar 10, 2025
Jan 27, 2025
Dec 7, 2024
Jan 19, 2022
Sep 6, 2023
Oct 2, 2022

Repository files navigation

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.