Size: 2431
Comment:
|
Size: 2501
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 15: | Line 15: |
This page is based on the truecrypt 4.3a man page and intents to give a short recipe to implement [http://www.truecrypt.org Truecrypt] hidden volumes on Ubuntu. | This page is mostly based on the ''man page'' of ''truecrypt 4.3a'' and intents to give a short recipe to implement [http://www.truecrypt.org Truecrypt] hidden volumes on Ubuntu. |
Line 19: | Line 19: |
0. Install Truecrypt:{{{ | 0. Install [http://www.truecrypt.org Truecrypt]:{{{ |
Line 25: | Line 25: |
0. Map the corresponding crypto device, but do not mount it:{{{ | 0. Map the corresponding volume, but do not mount it:{{{ |
Line 34: | Line 34: |
0. Create a (ex: 50M) hidden volume:{{{ | 0. Create a (ex: 50M) hidden volume within the outer volume:{{{ |
Line 37: | Line 37: |
0. Map the corresponding crypto device, but do not mount it:{{{ | 0. Map the corresponding hidden volume, but do not mount it:{{{ |
Line 40: | Line 40: |
0. Format hidden volume with a filesystem recognised by mount(8):{{{ | 0. Format the hidden volume with a filesystem recognised by ''mount(8)'':{{{ |
attachment:IconsPage/PicDocs.png
Encrypted filesystems and hidden volume
There is [https://help.ubuntu.com/community/Security a lot of documentation] on how to create an encrypted volume. However, a significant problem caused by most of the existing implementations is that the owner of the data may be forced to reveal the password used to encrypt the data.
To address this, different projects exist to implement some [http://en.wikipedia.org/wiki/Steganography steganography] mechanisms, but at the time of writing, only [http://www.truecrypt.org Truecrypt] is full-featured and production quality.
[http://www.truecrypt.org Truecrypt] is a free open-source disk encryption software available on Ubuntu. It offers a convenient hidden volumes management that includes protection against damages.
More information is available at [http://www.truecrypt.org/hiddenvolume.php].
This page is mostly based on the man page of truecrypt 4.3a and intents to give a short recipe to implement [http://www.truecrypt.org Truecrypt] hidden volumes on Ubuntu.
Truecrypt hidden volumes
Install [http://www.truecrypt.org Truecrypt]:
sudo apt-get install truecrypt
Create an outer volume:
truecrypt --filesystem none --type normal --encryption AES --hash SHA-1 --random-source /dev/urandom -c /dev/sdb1
Map the corresponding volume, but do not mount it:
truecrypt /dev/sdb1
Format outer volume with FAT:
sudo mkfs.vfat /dev/mapper/truecrypt0
Dismount the volume:
truecrypt -d
Create a (ex: 50M) hidden volume within the outer volume:
truecrypt --filesystem none --type hidden --size 50M --encryption AES --hash SHA-1 --random-source /dev/urandom -c /dev/sdb1
Map the corresponding hidden volume, but do not mount it:
truecrypt /dev/sdb1 # (use the hidden password)
Format the hidden volume with a filesystem recognised by mount(8):
sudo mkfs.xfs /dev/mapper/truecrypt0
Dismount the hidden volume:
truecrypt -d
Mount the outer volume with the hidden volume protected:
truecrypt -P /dev/sdb1 /mnt/tc
Copy files to the outer volume:
cp outer_volume_file.txt /mnt/tc
Dismount the outer volume:
truecrypt -d
Mount either volume and enjoy:
truecrypt /dev/sdb1 /mnt/tc # (use the password relevant to the volume you want to mount)