3 ms·
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 s
by KMag 14y ago
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 http://pastebin.com/RusCWm5Q
Usage: create_pass [<username>] <email_address> <site_name>
Example: create_pass kmag kmag@example.com news.ycombinator.com
gpg -d ~/Crypto/Passwords/news.ycombinator.com.gpg
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.