Trivial password generator
MIT License
Opensesame is a simple password generator. Passwords guaranteed random or double your money back.
First install Go.
If you just want to install the binary to your current directory and don't care about the source code, run
GOBIN=$(pwd) GOPATH=$(mktemp -d) go get github.com/carlmjohnson/opensesame
$ opensesame
OCo6X1Py
$ opensesame -h
Usage of opensesame [opts] [alphabet]:
Creates a password by randomly selecting characters from its alphabet.
Alphabet is a space separated list of character classes to use.
At least one character in each class will be output.
Character classes are either literal sets (like "abc" and "123") or the
special names "upper", "lower", "digit", and "default".
Default alphabet is "upper lower digit".
-length int
length of password to generate (default 8)
$ opensesame --length 4 '123 ABC xyz &%$'
&Cx3
A web server for random passwords is also included as open-sesame-web
. See it online.