This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
""" | |
Random password generator, ala https://xkcd.com/936/ | |
The wordlist is assumed to be a list of words in the language of your choice, | |
of the sizes of your choice. I got mine out of aspell:: | |
aspell dump master | \ | |
sed -e "s/'s$//" -e '/^[A-Z]/d' -e '/^.\{4,6\}$/!d' | \ | |
sort -u > wordlist.txt |