randompass

Crates.iorandompass
lib.rsrandompass
version1.0.0
sourcesrc
created_at2022-01-03 15:57:57.033793
updated_at2022-12-31 12:05:21.676662
description🔑 A simple static password generator.
homepage
repositoryhttps://github.com/mihaigalos/randompass
max_upload_size
id507180
size37,016
Mihai Galos (mihaigalos)

documentation

README

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.

Commit count: 181

cargo fmt