gentoo linux, java, software libre y otras hierbas
sep, 28 2008 - 12:01 am

3 ways to keep safe your files

Once you have installed it, it is possible to use it from a terminal or with a GUI. Let’s do it both ways; the idea is creating a virtual volume where we will store our data:

Using TrueCrypt from the command line

Firstly, we need to create a virtual volume:

$ truecrypt -t -c
Volume type:
1) Normal
2) Hidden
Select [1]: 1

Select Normal typing 1 and then Enter. In general all the option can be set by the default simply typing Enter. Then we must write the path where we want to create the volume:

Enter volume path: /home/cristian/private

Type the volume size, for example 5 Gigabytes:

Enter volume size (sizeK/size[M]/sizeG): 5G

Select the encryption algorithm (in a normal case, just hit enter):

Encryption algorithm:
1) AES
2) Serpent
3) Twofish
4) AES-Twofish
5) AES-Twofish-Serpent
6) Serpent-AES
7) Serpent-Twofish-AES
8 ) Twofish-Serpent
Select [1]: 1

Select the Hash Algorithm (in a normal case, just hit enter):

Hash algorithm:
1) RIPEMD-160
2) SHA-512
3) Whirlpool
Select [1]: 1

Select the filesystem (in a normal case, just hit enter):

Filesystem:
1) FAT
2) None
Select [1]: 1

Type twice the password, at least 16 characters:

Enter password:
Re-enter password:

Or, if you have a file with the keys you can specify the path:

Enter keyfile path [none]:

Now we must type 320 random characters. Please, do not type things like “aaaaaaaa”; we should type something really random. If you type less than 320 characters, TrueCrypt will tell you how many characters are missing.

Please type at least 320 randomly chosen characters and then press Enter:
tg/E$%E%$Str·w%dU(OGH90HoN)ui09i
Done: 100,000% Speed: 5,7 MB/s Left: 0 s
The TrueCrypt volume has been successfully created.

That’s it, you’ve created the encrypted volume. Now, the only thing you need to do is mounting on a folder to access the data:

$ sudo mkdir /media/encrypted
$ truecrypt /home/cristian/private /media/encrypted
$ sudo umount /media/encrypted

TrueCrypt will ask you for the password, and then you can use the /media/encrypted folder normally.

Using TrueCrypt from the GUI

This time, we will do the same but using the TrueCrypt GUI. Just type the truecrypt command and you will see the following window:

Click on Create Volume button, select Create a file container and click on Next:

Select Standar TrueCrypt volume, and click on Next:

Browse to the path where you want to create the volume and click on Next:

In the following window you must select the encryption and hash algorithm. You can leave the default values if you want, then click on Next:

Now, you need to set your volume max size, for example 2 gigabytes and then click con Next:

Type the password and click on Next:

Select FAT as your file system and click on Next:

Then TrueCrypt will generate a random pool in order to encrypt the volume. Just click on Format, and that’s it! Click on Exit.

Now you can mount and unmount the volume in an easy way using the GUI. Just click on Select File, then select the file that you created in the past step, click on Mount, type the password and that’s it; now you can write and read your files on the folder normally, even you can use the volume file in other computers with TrueCrypt installed:

To umount, just click on Dismount.

Páginas de esta entrada: 1 2

4 Comentarios | deja el tuyo

4 Comentarios en “3 ways to keep safe your files”

  1. Cesar Augusto dice:

    Is this entry some kind of copy & paste?

    I’m sure I saw this before… On this same blog, lol

    You copied & pasted your own entry, XD

  2. Nakp dice:

    wtf? since when do you write your post in english?

    @Cesar Augusto: btw this is the post of your Déjà Vu

  3. Cristian dice:

    Well, I’m studing English so I need to practice :D

    How was this entry? Good or bad translation?

  4. Cesar Augusto dice:

    From a very quick reading I think it’s pretty good, but I’m not that good at english to tell someone he’s good XD

    But keep up the good work on the blog, I hope you post more wireshark stuff :)

¡Déjanos tu comentario!