Use USB Trucrypt volumes


Until now, I used a desktop computer under Windows to play movies on my TV. My external hard-disk is encrypted with Truecrypt. I mounted my volume with Truecrypt, and launched VLC to play movies (quite simple :slight_smile: )

New user of OSMC with a Raspberry, I wonder if there is a way to implement Truecrypt into it, in order to use a USB encrypted disk with OSMC ?


1 Like

something like this

Many thanks; I’m almost sure that it shoud work, however, I don’t have Linux version of Truecrypt 7.1a (the last “clean” version of Truecrypt), and didn’t find a safe place to download it… Bad luck :pensive:
Thanks anyway !

You can try

Exactly same case here.

How about Veracrypt?

I am un-encrypting my HDDs till some amiable solution is ready.

Linux’s default encryption program (cryptsetup) can mount newer version truecrypt containers and drives. If your drives have been encrypted using an ancient version of truecrypt, then you need the truecrypt binary to unlock them in linux.

$sudo cryptsetup open /dev/sdX -t truecrypt desired_volume_name
$sudo mount /dev/mapper/desired_volume_name /mnt/mount_point

Ah, for porn ? :wink:


I’m trying to open a truecrypt volume using cryptsetup. After entering passphrase get following error

Required kernel crypto interface not available.
Ensure you have algif_skcipher kernel module loaded.

Googling this seems that this bug was introduced in newer kernel.

Has anyone had any success opening truecrypt volumes using osmc?


I’ve created a tutorial explaining how to use VeraCrypt on Raspberry Pi 3, with OSCM installed: (Link corrected!)

Thanks jacek

Would veracrypt work for opening truecrypt partition?

There’s an truecrypt openelec addon that has great GUI for creating and opening but there’s errors think code needs to be adapted for osmc. Be great if someone could fix it for osmc.

Hello the_bo,

According to this faq page:
It should fully support TrueCrypt.

Hi Jacek

I followed your tutorial but when i run veracrypt i get the following error

veracrypt: error while loading shared libraries: cannot open shared object file: No such file or directory

Thanks for any info

I see I’ve forgoten dependencies, please do the following:

sudo apt-get update
sudo apt-get install libfuse-dev makeself libwxbase3.0-0

PS: I’ve also updated tutorial.

Please let me know if it helped.

Thanks Jacek error gone.

But when i try to mount my truecrypt partition i put in password press enter then press enter at pim but it just stalls at cursor and does nothing?

osmc@osmc:~$ veracrypt -t -k “” --protect-hidden=no /dev/sda5 /media/vera-test
Enter password for /dev/sda5:
Enter PIM for /dev/sda5:

The mounting can last up to several minutes, especially with big drives. How long have you wait?

Ill leave it awhile to see. I didn’t see the hard drive led flashing so assumed it froze.

Waited 15 mins got response back

Operation failed due to one or more of the following:

  • Incorrect password.
  • Incorrect Volume PIM number.
  • Incorrect PRF (hash).
  • Not a valid volume.

My password is correct so ill look at the other possibilites. I might try converting the truecrypt partition to veracrypt partition see if it helps.

Thanks for the help :slight_smile: