TrueCrypt

From YobiWiki
Jump to navigation Jump to search

TrueCrypt v5.0 installation under Debian

You can directly use the Ubuntu .deb that they propose.
There is no more need to compile kernel modules as now it's based on fuse.
It features a GUI à la windows.
It has still a text mode but it's buggy as it works only under X (sic), I reported the bug

$ truecrypt --text --version
TrueCrypt 5.0
$ DISPLAY= truecrypt --text --version
Error: Unable to initialize gtk, is DISPLAY set properly?

TrueCrypt v4.3a installation under Debian

See http://www.debian-administration.org/articles/506

Prerequisites: I had to install bzr and force python dependency problem:

sudo apt-get install bzr python-celementtree
sudo apt-get install linux-source-2.6.22
url=http://debian.cante.net/truecrypt-installer
file=$(wget -qO - $url | grep -Eo 'truecrypt-installer[^"]+\.deb' | tail -1)
if [ ! -e $file ]; then
    wget $url/$file
fi
sudo dpkg -i truecrypt-installer*.deb
truecrypt-download
truecrypt-dpkg
sudo dpkg -i /usr/src/truecrypt-{modules-linux,modules-modprobe,doc,cli}*.deb

If any troubles (other prerequisites etc), see /usr/share/doc/truecrypt-installer/README

If you want some more automation such as mounting at startup, see http://marin.jb.free.fr/truecrypt/ [fr]

Documentation

/usr/share/doc/truecrypt-doc/truecrypt-user-guide.pdf is the full windows guide, very useful to understand all other aspects of TrueCrypt than the Windows GUI.

man truecrypt