Just been tinkering around lately and finished another nifty little tool in Python that generates valid WPA/WPA2 passwords. Don't think I'm going to put this one on sourceforge though, it was pretty simple to do and there's only about a billion WPA2 password generators out there, so I wouldn't really be contributing anything new.

If anybody wants to use it though, it's compatible with all operating systems that support Python 3 (Not sure how OSX identifies itself in os.name so the option to save it to a file may or may not work on a Mac, but it should generate a valid key on a Mac at the very least). I've posted the sourcecode on the Ubuntu pastebin so you can just copy and paste it into a .py file and tinker with it as you please.

http://paste.ubuntu.com/6682224