These are the steps that I took to compile the application without a gui.
- Get the truecrypt source from http://www.truecrypt.org/downloads2 and download the “Mac OS X / Linux (.tar.gz)” file and save it to a directory.
- Get the wxWidgets from http://prdownloads.sourceforge.net/wxwindows/wxWidgets-2.8.12.tar.gz. You will need this even if you are not planning to run a GUI.
- You also need the fuze development libraries which you can install in Raspbian using
aptitude install libfuse-dev
- You need to get the RSA Security Inc. PKCS #11 Cryptographic Token Interface (Cryptoki) 2.20 header files
To compile the application do as suggested in the post Truecrypt Seems to work pretty well. The wxbuild took me 23m21.490s and the make of TrueCrypt itself took 51m29.737s
$ export PKCS11_INC=/usr/local/src/truecrypt/pkcs/
$ make NOGUI=1 WX_ROOT=/usr/src/wxWidgets wxbuild
$ make NOGUI=1 WXSTATIC=1
$ sudo cp -v Make/truecrypt /usr/local/bin/
$ sudo cp -v Main/truecrypt /usr/local/bin/
You can then run it using the following command.
truecrypt -t -k "" --protect-hidden=no /tmp/test.truecrypt /tmp/key/ -v -m=nokernelcrypto