Saturday, April 23, 2011

LUKS/XScreenSaver 1/2-factor authentication with a USB drive/password

Late last month (couldn't write about it then; had taxes, the physics GRE, and the spring Nasa EAP poster symposium to work on), I began a project: setting up Xubuntu Linux on an old Acer Aspire AS1691 for my dear old dad, who has always been quite open with me about his general dislike for computers, and his being a neo-luddite. But I wasn't just going to set up a user-friendly GNU/Linux environment for him on the thing: I made it my goal to make it secure and easy to use at the same time.

Monday, April 4, 2011

If you forgot your TrueCrypt passphrase but can remember the mnemonic...

A number of months ago this happened to me. Then I wrote this script, named it johnny.py, let it run overnight, and it found my passphrase. (BTW its name is inspired by John The Ripper; I'm not much of a Keanu fan). Feed it the class of all possible passwords that might correspond to your passphrase in the form of a space-delineated list, based on your password's mnemonic (each list a class of possible characters, i.e. aA@4 for the letter "A"), and it will iterate over every permutation.