Tags
TrueCrypt is a free open source on-the-fly encryption (OTFE) program. Some of its features are:
- Virtual encrypted disks within files that can be mounted as real disks.
- Encryption of an entire hard disk partition or a storage device/medium.
- All encryption algorithms use the LRW mode of operation, which is more secure than CBC mode with predictable initialization vectors for storage encryption.
- “Hidden volumes” within a normal “outer” encrypted volume. A hidden volume can not be distinguished from random data without access to a passphrase and/or keyfile.
Installation
You can download a 32 bit or 64 bit (Console only) version of the application from the following link.
Download
Creating a normal truecrypt volume
Type the following at the terminal
$ truecrypt -c
After that, you’ll be asked to select a volume type
Volume type: 1) Normal 2) Hidden Select [1]:
Select[1] for a Normal volume.
Then, you’ll be asked to enter the volume path.
Enter volume path: true/protect.dat
Here ‘protect.dat’ is my truecrypt volume, which resides in the ‘true’ folder.
Then you’ll be asked on to provide the volume size.
Enter volume size (sizeK/size[M]/sizeG): 150MB
Enter your preferred size. My choice was a 150 MB volume.
Then you’ve to select between one of the encryption algoriths.
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]:
Then a Hash algorith
Hash algorithm: 1) RIPEMD-160 2) SHA-512 3) Whirlpool Select [1]:
The file system for the volume has to be selected further
Filesystem: 1) None 2) FAT 3) Linux Ext2 4) Linux Ext3 5) Linux Ext4 Select [2]:
Then you’ll be asked to enter a password for the volume. Its recommended you provide a strong password. Something with a mix of alphanumeric characters as well as special characters.
Enter password: ****** WARNING: Short passwords are easy to crack using brute force techniques! We recommend choosing a password consisting of more than 20 characters. Are you sure you want to use a short password? (y=Yes/n=No) [No]: yes Re-enter password: ******
Further you’ll be asked to provide a key file(if you have one/ you choose to provide one).
Enter keyfile path [none]:
If you press enter, you’ll move on with the default..that is no key file.That was my choice indeed. Further you’ll be asked on to provide at least 320 random characters. Go attack your keyboard 😛 😀 . I believe they use this as a substitute for the key file.
Please type at least 320 randomly chosen characters and then press Enter: Characters remaining: 61 Characters remaining: 15 Done: 100.000% Speed: 42 MB/s Left: 0 s
As a final step, you’ll be asked to provide your user/administrator password. This is indeed, required to create the file ‘protect.dat’ in your chosen folder.
Enter your user password or administrator password: The TrueCrypt volume has been successfully created.
To mount the volume
Use the following command:
truecrypt --mount protect.dat
You’ll be asked to provide a mount directory.
Enter mount directory [default]:
Press enter for default. Further you’ll be asked to provide the password for the volume
Enter password for /home/anonymous/true/protect.dat:
Further on you’ll be asked to provide the keyfile.
Enter keyfile [none]:
On the next prompt type ‘n’
Protect hidden volume (if any)? (y=Yes/n=No) [No]: n
Then you’ve to provide your user/administrator password, so that..truecrypt could mount the volume
Enter your user password or administrator password:
That’s all… you could find your truecrypt volume mounted as a drive partition.
To dismount the volume, type:
truecrypt -d
Thank you….. 🙂