Crates.io | mkpw |
lib.rs | mkpw |
version | |
source | src |
created_at | 2024-10-23 17:15:01.682575 |
updated_at | 2024-12-15 07:02:39.225351 |
description | Highly customizable password generation tool. π |
homepage | https://github.com/yutotnh/mkpw/ |
repository | https://github.com/yutotnh/mkpw/ |
max_upload_size | |
id | 1420403 |
Cargo.toml error: | TOML parse error at line 24, column 1 | 24 | autolib = false | ^^^^^^^ unknown field `autolib`, expected one of `name`, `version`, `edition`, `authors`, `description`, `readme`, `license`, `repository`, `homepage`, `documentation`, `build`, `resolver`, `links`, `default-run`, `default_dash_run`, `rust-version`, `rust_dash_version`, `rust_version`, `license-file`, `license_dash_file`, `license_file`, `licenseFile`, `license_capital_file`, `forced-target`, `forced_dash_target`, `autobins`, `autotests`, `autoexamples`, `autobenches`, `publish`, `metadata`, `keywords`, `categories`, `exclude`, `include` |
size | 0 |
Highly customizable password generation tool. π
This tool uses the password generation library password-maker. For more details, please refer to password-maker/README.md.
cargo install --path .
cargo install mkpw
The default settings are as follows:
$ mkpw
8m8s]@IV[d=2\f_(
You can specify the length of the password as follows:
# Generate a password with a length of 20
$ mkpw --length 20
/(DBnw!pv4@"(ku|)/rx
You can change the symbols included in the password:
# Change the symbols included in the password to @ or ^
$ mkpw --symbol-candidates @^
0@mg71C12TZNQuIj
You can specify the minimum count of times a character appears as follows:
# Generate a password with a minimum of 2 lowercases
$ mkpw --lowercase-minimum-count 2
6E?t(f/&$muBK,HJ
You can specify other characters to include in the password:
# Generate a password with at least 2 of the following characters: πΊπΈπΉπ»
$ mkpw --other-candidates πΊπΈπΉπ» --other-minimum-count 2
(6πΈ3aOx(8s7'T91πΊ
You can specify the number of passwords to generate:
# Generate 5 passwords
$ mkpw --count 5
_{!sBZYjUO%8uAa!
J5_N@f{M%Akn5)+=
Bx6Wa.f`J|nE{Cx^
zoWby9vgd31h6F,?
Ps<-1lWE*,IaK8Ab
You can copy the generated password to the clipboard:
# Copy the generated password to the clipboard
$ mkpw --clipboard
You can load the completion script for the mkpw
command:
# Load the completion script for the mkpw command
$ source <(mkpw --completion bash)
Licensed under both the Apache License, Version 2.0 and the MIT License.
You may select, at your option, one of the above-listed licenses.
See the LICENSE-APACHE and LICENSE-MIT files for the full text of the Apache License, Version 2.0 and the MIT License, respectively.