0

I am trying to get hold of truecrypt for an armhf linux or something similar.

I was wondering if there were any sources to do this? or can anyone make a suggestion? I need it so when its ejected nothing is at risk from being left decrypted.

  • 1
    What about LUKS? – user102891 Oct 14 '15 at 10:16
  • @Begueradj how good is this at creating a separate encrypted volume? from what I understand this would be the whole FS ? I am having a quick search but all I cant work out the finer details – TheHidden Oct 14 '15 at 10:35
  • Luksus is a command-line tool which apparently also supports TrueCrypt volumes. But I guess we could help you better if you gave us more information, e.g. what distribution/system you plan this running on. – phk Oct 14 '15 at 10:41
  • @phk all I can tell you is that I am using an ubuntu type fs using kernel 3.15.0+ on a armhf (armv7) architecture. it is going to be painful lol there is no specific build out there had to bundle it all my self. – TheHidden Oct 14 '15 at 11:22
  • Don't use Truecrypt. If you must go that route rather than LUKS consider Veracrypt instead. – roaima Oct 14 '15 at 11:42
0

The best way to to “full-disk” (which really means full-partition) encryption on Linux is to use its native facility: dm-crypt. This is pretty much always easier to set up than a third-party tool (fewer layers), more secure (fewer layers), and faster (fewer layers, and also the encryption is done in the kernel which is usually optimized to take into account all processor features including, in your case, NEON).

Use cryptsetup to manipulate encrypted volumes. Cryptsetup can manipulate several formats; use the standard one, LUKS. To create an encrypted volume, use a command like

cryptsetup luksFormat /dev/sdz1

(Be sure to specify the right disk instead of /dev/sdz1!)

When the disk is inserted, open the encrypted volume with

cryptsetup luksOpen /dev/sdz1 mysdcard

(You might do that with a udev rule — example)

Cryptsetup also supports a format that's compatible with TrueCrypt. The only reason to use this format (but it's a valid one) is if you want the removable disk to be also usable in Windows, which has TrueCrypt (or successors) but not LUKS.

  • can i get this easily on armv7? and I would like a way to not have to use the kernel if possible. oh also I dont want to create a partition, I want to create a volume within the current partition it has to work in the same way true crypt does – TheHidden Oct 15 '15 at 12:07
  • @user1779617 Why don't you want to use the kernel? It has exactly the tool you need. You can make a volume that's a file within a partition with dm-crypt, I think you just need to pass the file name to cryptsetup luksFormat and cryptsetup luksOpen. – Gilles Oct 15 '15 at 12:27
  • I have now built the mapper into the kernel (I was having some issues with my re-compile)... giving it my best shot but im just getting annoying errors – TheHidden Oct 15 '15 at 13:31
0

I just added a armhf to my truecrypt PPA. I have only tested it on a Raspberry Pi and it worked great. See: https://launchpad.net/~stefansundin/+archive/truecrypt

On Raspbian you can run the following to install:

echo 'deb http://ppa.launchpad.net/stefansundin/truecrypt/ubuntu xenial main' | sudo tee /etc/apt/sources.list.d/truecrypt.list
gpg --keyserver hkp://keyserver.ubuntu.com:80 --recv-key FFE1FFFFAFEC55BB
gpg --export --armor FFE1FFFFAFEC55BB | sudo apt-key add -
sudo apt-get update
sudo apt-get install truecrypt

The version is 7.1a, and I do not intend to update to 7.2 because it has less functionality.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.