Encrypt Your Flashdrive With TrueCrypt In Ubuntu

Data privacy is important. You need to keep it safe and store in your harddrive or flash drive only. And you don’t want your data got by the wrong hand. You need to secure your data where you store it. One of the technique to store your data is encrypt it.

To encrypt your data, you can use Truecrypt. TrueCrypt is an open source software that helps you set up and maintain an on-the-fly encrypted volume. On the fly encryption means data is automatically encrypted or decrypted right before they are loaded or saved, without any user intervention. You need a keyfile and /or a password to access the data stored in an encrypted volume (file). TrueCrypt encrypts the entire filesystem – including file names, folder names, contents of every file, free space, meta data and so on.

Truecrypt features:

  1. Creates a virtual encrypted disk within a file and mounts it as a real disk.
  2. Encrypts an entire hard disk partition or a device, such as USB flash drive.
  3. Encryption is automatic, real-time (on-the-fly) and transparent.
  4. Provides two levels of plausible deniability, in case an adversary forces you to reveal the password:
    * Hidden volume (steganography).
    * No TrueCrypt volume can be identified (volumes cannot be distinguished from random data).
  5. Encryption algorithms: AES-256, Blowfish (448-bit key), CAST5, Serpent, Triple DES, and Twofish.
    Mode of operation: LRW (CBC supported as legacy).

To install Truecrypt on Ubuntu:

  1. Download the installation file from Truecrypt official site.
  2. Select the right architecture for your Ubuntu
  3. Unpack it and run the setup.
  4. After it finished it would available under Applications > Accessories > TrueCrypt.

How to encrypt your flashdrive with Truecrypt iIn Ubuntu:

  1. Run truecrypt
  2. Create Volume
  3. In the TrueCrypt volume creation wizard, select “Create a volume within partition drive” option. Click “Next”.
  4. Just leave it to default “Standard TrueCrypt volume”. Click Next.
  5. Select the volume location. Choose where your USB Flashdrive mounted. Click Next.
  6. Choose the encryption algorithm and hash algorithm, AES or TwoFish are strong encryption algorithm. Click Next.
  7. It will ask how large your encrypt partition. If you want to encrypt entire Flashdrive, leave it as default. Click Next.
  8. Set the volume password, this recommend to be at least 20 characters. Or otherwise you can use generated keyfiles. And store it safely. Click Next.
  9. Format the volume file, it will ask you what file system your want to use for your flashdrive. Ext3 would be good.
  10. Choose whether you want cross-platform support for your mounted volumes or not. Click Next.
  11. Format the TrueCrypt volume file by clicking the “Format” button.
  12. It would be take a while and how large your Flashdrive.

To mount encrypted flashdrive:

  1. Plug your flashdrive and run TrueCrypt.
  2. Select the encrypted volume device.
  3. Select an empty slot. TrueCrypt offers over 60 slots to mount more than one encrypted volume.
  4. Click on the “Mount” button to mount the encrypted file. It would ask you the password or keyfiles.
  5. If you are authenticated, you will see a new mounted volume.

To unmount encrypted flashdrive:

  1. Open TrueCrypt
  2. Select the mounted slot
  3. Click “Unmount” button.

Give me your feedback

This site uses Akismet to reduce spam. Learn how your comment data is processed.