Re:Limiting passwords to 12 characters is "secure enough"
by KMag on Friday February 01, 2013 @10:52AM
(#5151394)
I've been using a 50-ish line Python script for a bit more than a decade. It generates a password from /dev/urandom on Linux/OSX and the system crypto random source on Windows. It pipes the output to gpg, so the password doesn't go through the clipboard and isn't visible in ps output.
Here's the version I updated to Python 3 a year or three ago: http://pastebin.com/RusCWm5Q
Usage: create_pass [<username>] <email_address> <site_name>
Example: create_pass kmag [email protected] news.ycombinator.com
Edit: part of me hopes that someone is still grinding away at my 80-bit stolen Linkedin password hash. I of course generated a new 80-bit password.