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 and download the “Mac OS X / Linux (.tar.gz)” file and save it to a directory.
  • Get the wxWidgets from 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
$ 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. ken_fallon says:

    Ahhhh – you are correct. Fixed and thanks.

  3. STRSHR says:

    Just some benchmark for comparison . On a Raspberry B clocked at:
    the build times are as follows:

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

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

  5. Pingback: Truecrypt auf dem Raspberry |

Leave a Reply

Your email address will not be published.