Some time ago I’ve written an article named 16 GB encrypted candy file describing how to create encrypted filesystem within regular file. After quick research it became clear that cryptoloop is vulnerable and there is open exploit available on the web: see it here (thanks to everybody who commented that article). So I don’t recommend to use cryptoloop but instead take a look at truecrypt that makes it possible not only to encrypt whole storage but also to create encrypted file just like I’ve described in 16 GB encrypted candy file article.

Truecrypt is cross platform disk/file encryption software that is available for windows, mac os and linux. In order to get started visit www.truecrypt.org site and download the latest version of this software (direct link) and install it:

cd /usr/src
sudo -s
wget -c http://www.truecrypt.org/download/truecrypt-6.3a-linux-x86.tar.gz
tar -xvzf truecrypt-6.3a-linux-x86.tar.gz
./truecrypt-6.3a-setup-x86
exit

When installation is finished you will see Trucrypt item in Gnome menu (if not or use different X manager — type truecrypt in command line). Here how it looks like:

truecrypt

In order to create encrypted file press “Create Volume” button and follow instructions:

truecrypt

truecrypt

truecrypt

truecrypt

truecrypt

Use long passwords like “e07910a06a086c83ba41827aa00b26ed” instead of “123″ or “iloveyou”:

truecrypt

truecrypt

truecrypt

truecrypt

Once encrypted candy is created you can store it on usb flash drive or elsewhere, it doesn’t matter how that storage is formatted — it can be CD or windows formatter ipod.

Use the same utility to open the file — press “Select File” and point to newly created encrypted file, then choose first slot and select “Mount Volume” in drop down menu (it will ask for your sudo password and then password you typed when created the file):

truecrypt

As the result encrypted filesystem will be mounted into /media/truecrypt1 directory:

truecrypt

Copy your sensitive files there and unmount /media/truecrypt1 when done (select “Dismount” in drop down menu).
Good luck!

 

6 Comments

 

  1. Pingback : Links 10/5/2010: Loads of GNU/Linux Gaming News, Mandriva Rumours | Techrights

  2. May 26, 2010  6:23 pm by Andriy Reply

    cryptsetup is my favorite. It has following advantages:

    1) It encrypts full partition. root and swap also can (and should) be encrypted.

    2) It is available at least for Ubuntu and Fedora during installation.

  3. February 18, 2011  4:34 am by Denise Lopez Reply

    I simply added your web page to my top picks. I like reading you. Could it be okay to post thing about this on my website basically post a link back to this webpage?

  4. May 13, 2011  8:22 am by britax marathon car seat Reply

    material is a rat and your child does not like rats, they will soon lose interest and become bored. Then again, even if your child likes the material there is no guarantee that they will not become bored with it as it does not change over time.

  5. March 22, 2013  9:16 pm by flight deals india Reply

    It's a pity you don't have a donate button! I'd without a doubt donate to this outstanding blog! I suppose for now i'll settle for bookmarking and adding your RSS feed to my Google account. I look forward to fresh updates and will share this site with my Facebook group. Chat soon!| flight deals india http://www.funtraveldeals.com/book-flights/

  6. May 18, 2013  9:43 pm by Lauren Hague Reply

    I was curious if you ever considered changing the layout of your website? Its very well written; I love what youve got to say. But maybe you could a little more in the way of content so people could connect with it better. Youve got an awful lot of text for only having 1 or 2 pictures. Maybe you could space it out better?Plano Roofing Pros, 3420 14th Street, #103-C, Plano, TX 75074 - (214) 556-5050

Leave a reply

 

Your email address will not be published.