Package description for xfbs/passgen

Public Library1.0.0updated 23 days ago91.84 KB
COPY
wapm install xfbs/passgen

Need help using WAPM?

Get started here

Commands

passgen

Files

  • Readme.md

Modules

Passgen

Passgen is a tool to generate passwords from a regex-like format string.

Usage

Examples

Create 12-digit alphanumeric password.

passgen "[a-zA-Z0-9]{12}"
DnJ4bOIGmZbj

Create something that looks like an email address.

passgen '[a-z0-9.]{3,10}@[a-z]{3,10}.(com|net|org)'
njd0xh@gbnjzlkij.com

Create an password consisting of three pronounceable (but randomly generated) words.

passgen --wordlist english:/usr/share/dict/british-english '\p[english]{9,12}(-\p[english]{9,12}){2}'
arapurity-readygoauce-nathundly

Building

In general, if you have all dependencies installed, doing the following should result in a working binary.

$ cmake -S . -B build -DCMAKE_BUILD_TYPE=Release
$ cmake --build build
$ cmake --install build

See the BUILDING.md for more information about building the project.

Prior art

  • pwgen.
  • apg: generates random passwords, can either be generated such that they are pronounceable, or taken from a predefined list of symbols.
  • z-tokens, has fixed presets.
  • rpass

License

MIT, see License file.

<1klast week

Latest version

1.0.0

Latest updated

23 days ago

Unpackaged size

91.84 KB

License

MIT

Collaborators

    Run it in the browser