TrueCrypt on a Respberry PI (no gui)

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
    wget ftp://ftp.rsasecurity.com/pub/pkcs/pkcs-11/v2-20/*.h

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

This entry was posted in General. Bookmark the permalink.

5 Responses to TrueCrypt on a Respberry PI (no gui)

  1. STRSHR says:

    Just a small correction: the binary is located in Main/truecrypt and not in Make/truecrypt. 🙂

  2. STRSHR says:

    Just some benchmark for comparison . On a Raspberry B clocked at:
    arm_freq=950
    gpu_mem=16
    core_freq=250
    sdram_freq=450
    over_voltage=6
    the build times are as follows:

    wxbuild – 14m57.734s
    Truecrypt build – 36m52.641s

  3. Pingback: Script bash per montare una share di rete e un volume TrueCrypt | Badalis

  4. Pingback: Truecrypt auf dem Raspberry | Patzelts.de

Leave a Reply

Your email address will not be published. Required fields are marked *