Skip to content

Repository files navigation

pswg pixel art logo

pswg

Go Version Go Reference CI Release Pages Latest Release License: MIT

pswg is a small password generator CLI written in Go.

It uses crypto/rand, prints only the generated password to stdout, and lets you set password length plus uppercase, special-character, and numeric requirements.

Quick Start

Generate a password with the default policy:

pswg

Generate a 16-character password with 2 uppercase letters, 2 special characters, and 2 numbers:

pswg -l 16 -u 2 -s 2 -n 2

Generate a password with shell-safe special characters:

pswg -safe

Show version and help:

pswg -version
pswg -h

Documentation

Project page: olelbis.github.io/pswg

Read the user manual for all flags, valid combinations, shell usage, security model, exit codes, character sets, packaging, and build commands.

Additional project docs:

License

MIT. See LICENSE.

About

Small Go password generator CLI with shell-safe mode and signed release artifacts

Topics

Resources

Security policy

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages