Monday, September 3, 2007

Encrypt your Files with Truecrypt & Forcefield GUI

*update* Truecrypt now has its own GUI, see here, This post remains for archive purposes.
I have always been security conscious, in todays world privacy & security is a thing of the past unless we take matters into our own hands. I have used many types of encryption applications, dm-crypt, luks, cryptsetup, encfs, and truecrypt. personally I like truecrypt more than all the others simply because you can hide encrypted files in encrypted files. This is a form of steganography and is a better deterrant to law enforcement than full disk encryption, with that judges and juries seem to think you are indeed hiding something and you should be punished. I found this powefull little applet for gnome that complements truecrypt very nicely. I can simply right click & and create & mount truecrypt volumes.
This is all you do:
wget http://www.truecrypt.org/downloads/truecrypt-4.3a-ubuntu-7.04-x86.tar.gz
wget http://bockcay.de/stuff/programs/forcefield/forcefield_current_all.deb

sudo apt-get install python-crack python-pexpect cracklib2

tar xfz truecrypt-4.3a-ubuntu-7.04-x86.tar.gz
sudo dpkg -i truecrypt-4.3a/truecrypt_4.3a-0_i386.deb
rm -rf truecrypt-4.3a truecrypt-4.3a-ubuntu-7.04-x86.tar.gz

sudo dpkg -i forcefield_current_all.deb

7 comments:

  1. seems a bit incomplete - care to add a full session w/ example?

    cheers

    ReplyDelete
  2. Are those "volumes" virtual drives? or this run on a pendrive or another drives?

    ReplyDelete
  3. you can encrypt full drives or virtual volumes as hidden files like hide it as a divx movie .avi for instance, a pendrive would work great as well

    ReplyDelete
  4. Unfortunately truecrypt needs glibc2.4 which is beyond the current version for Ubuntu 6.10. Shame. I'd like to use it but I don't want to screw up Ubuntu that much; nor can I upgrade yet.

    ReplyDelete
  5. ouch, I hope you can upgrade soon, and backup your needed files, i'll look around to see if we can hack it to work

    ReplyDelete
  6. I have Truecrypt running fine from source on Ubuntu 6.06 so I am sure you can get it running fine on 6.10. This is the latest 4.3a Truecrypt. I just followed the instructions for compiling on Gutsy on the forums and it worked fine on Dapper (6.06). The debs on their site wouldn't work for me because I had update the kernel.

    ReplyDelete
  7. My system just stopped loading Forcefield... click the icon... it says loading and he just goes away.

    I launched it from a terminal and it has a bunch of tracebacks starting with:
    /usr/lib/python2.5/site-packages/forcefield/texpect.py:6: RuntimeWarning: Python C API version mismatch for module zero_out: This Python has API version 1013, module zero_out has version 1012.
    Sounds like some sort of a module mismatch thingy, but what the heck!! I thought I couldn't get to my data anymore, it just turns out I can't use the interface. I can still call truecrypt directly and mount my volume... whew!!!

    ReplyDelete