A simple commandline password generator based on the xkcd - Password Strength comic.
Compile assuming that you have go installed.
go build
If you have $GOPATH configured you can install using.
go install
If not you can copy the complied binary into a directory in your $PATH
.
By default mkpass reads the Unix words
file (/usr/share/dict/words
) as it's input file.
You can run it with no arguments to generate a using the defaults.
mkpass
Full usage can be found using the built in help.
mkpass -h
Testing can be run using the built go test framework.
go test
Automatic testing is also done using Travis CI against all major version since v1.1.
See LICENCE.