You can find the
mkpass git repository over at
Table of Contents
Password generators are incredibly useful for those who don’t use the
same password everywhere. The issue is that everyone uses the same
password everywhere. Hopefully when people see how easy password
generation can be, that’ll change; there really is no excuse to not use
different passwords these days.
mkpass aims to be the absolute
simplest password generator possible while still providing the
functionality you need.ls
Two factor authentication is also something you should be using — and something that is very easy to manage — and something that I will be posting about shortly™.
The most basic usage of
mkpass is to just call
By default this will generate a 64-character password made up of random
printable characters. If you need to use specific characters (for
example, maybe you can only use alphanumeric characters) then you can
simply specify a
You can also specify the length of the password using
And that ladies and gentlemen, is the entire program. A nice minimal tool that does one thing and one thing only, while integrating nicely with the UNIX environment. This is (in my opinion), an example of well-designed software.