Difference between revisions of "Install TrueCrypt"

From BubbaWiki
Jump to navigation Jump to search
(Created page with 'Intsalling TrueCrypt<br> This article was originally written by Cheeseboy, and with minor modifications by Asad.<br> TrueCrypt lets you create virtual containers to store sensi...')
 
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
Intsalling TrueCrypt<br>
Installing TrueCrypt<br>  


This article was originally written by Cheeseboy, and with minor modifications by Asad.<br>
This article was originally written by Cheeseboy, and with minor modifications by Asad.<br>  


TrueCrypt lets you create virtual containers to store sensitive files.<br>
TrueCrypt lets you create virtual containers to store sensitive files.<br>  


- Download the source http://www.truecrypt.org/downloads2 into a directory created for it's purpose (in my case truecrypt)<br>
- Download the source http://www.truecrypt.org/downloads2 into a directory created for it's purpose (in my case truecrypt)<br>  


- gunzip and then untar the thing:
- gunzip and then untar the thing:  
<pre>niklas@b3:~/truecrypt$ tar xf TrueCrypt\ 7.0a\ Source.tar</pre>
<pre>niklas@b3:~/truecrypt$ tar xf TrueCrypt\ 7.0a\ Source.tar</pre>  
- Move into the source directory:
- Move into the source directory:  
<pre>niklas@b3:~/truecrypt$ cd truecrypt-7.0a-source/</pre>
<pre>niklas@b3:~/truecrypt$ cd truecrypt-7.0a-source/</pre>  
- Install the stuff it needs:
- Install the stuff it needs:  
<pre>niklas@b3:~/truecrypt/truecrypt-7.0a-source$ sudo apt-get install build-essential pkg-config libfuse-dev libwxbase2.8-dev wx2.8-headers wx-common wget
<pre>niklas@b3:~/truecrypt/truecrypt-7.0a-source$ sudo apt-get install build-essential pkg-config libfuse-dev libwxbase2.8-dev wx2.8-headers wx-common wget
</pre>
</pre>  
- Get the pkcs11 headers it doesn't find even if you follow the instructions in the Readme:
- Get the pkcs11 headers it doesn't find even if you follow the instructions in the Readme:  
<pre>niklas@b3:~/truecrypt/truecrypt-7.0a-source$ wget ftp://ftp.rsasecurity.com/pub/pkcs/pkcs-11/v2-20/*.h
<pre>niklas@b3:~/truecrypt/truecrypt-7.0a-source$ wget ftp://ftp.rsasecurity.com/pub/pkcs/pkcs-11/v2-20/*.h
</pre>
</pre>  
- Compile the program
- Compile the program  
<pre>niklas@b3:~/truecrypt/truecrypt-7.0a-source$ time make NOGUI=1
<pre>niklas@b3:~/truecrypt/truecrypt-7.0a-source$ time make NOGUI=1
...
...
Line 23: Line 23:
real  16m36.116s
real  16m36.116s
user  15m37.980s
user  15m37.980s
sys  0m28.410s</pre>
sys  0m28.410s</pre>  
- Install the program<br>
<pre>make install
</pre>
- Check that the program is working<br>
<pre>cd Main
./truecrypt --test
cp truecrypt /usr/bin/
</pre>
- Check the Truecrypt manual for how to mount and create volumes. For example you can mount volumes into /home/storage folder if you want to have public data stored encrypted in a container.<br>From the manual:<br>
<pre>IMPORTANT:
 
If you want to use TrueCrypt, you must follow the security requirements and security precautions listed in chapter 'Security Requirements and Precautions'
in the TrueCrypt documentation (file 'TrueCrypt User Guide.pdf').</pre>
Examples:
<pre>Create a new volume:
truecrypt -t -c
 
Mount a volume:
truecrypt volume.tc /media/truecrypt1
 
Mount a volume as read-only, using keyfiles:
truecrypt -m ro -k keyfile1,keyfile2 volume.tc


Mount a volume without mounting its filesystem:
truecrypt --filesystem=none volume.tc
Mount a volume prompting only for its password:
truecrypt -t -k "" --protect-hidden=no volume.tc /media/truecrypt1
Dismount a volume:
truecrypt -d volume.tc


- Install the program<br>
<pre>make install
</pre>
- Check the program options<br>
<pre>truecrypt -h
</pre>
</pre>
- Check the Truecrypt manual for how to mount and create volumes. For example you can mount volumes into /home/storage folder if you want to have public data stored encrypted in a container.<br><br>

Latest revision as of 11:26, 27 December 2010

Installing TrueCrypt

This article was originally written by Cheeseboy, and with minor modifications by Asad.

TrueCrypt lets you create virtual containers to store sensitive files.

- Download the source http://www.truecrypt.org/downloads2 into a directory created for it's purpose (in my case truecrypt)

- gunzip and then untar the thing:

niklas@b3:~/truecrypt$ tar xf TrueCrypt\ 7.0a\ Source.tar

- Move into the source directory:

niklas@b3:~/truecrypt$ cd truecrypt-7.0a-source/

- Install the stuff it needs:

niklas@b3:~/truecrypt/truecrypt-7.0a-source$ sudo apt-get install build-essential pkg-config libfuse-dev libwxbase2.8-dev wx2.8-headers wx-common wget

- Get the pkcs11 headers it doesn't find even if you follow the instructions in the Readme:

niklas@b3:~/truecrypt/truecrypt-7.0a-source$ wget ftp://ftp.rsasecurity.com/pub/pkcs/pkcs-11/v2-20/*.h

- Compile the program

niklas@b3:~/truecrypt/truecrypt-7.0a-source$ time make NOGUI=1
...
Linking truecrypt
real   16m36.116s
user   15m37.980s
sys   0m28.410s

- Install the program

make install

- Check that the program is working

cd Main
./truecrypt --test
cp truecrypt /usr/bin/

- Check the Truecrypt manual for how to mount and create volumes. For example you can mount volumes into /home/storage folder if you want to have public data stored encrypted in a container.
From the manual:

IMPORTANT:

If you want to use TrueCrypt, you must follow the security requirements and security precautions listed in chapter 'Security Requirements and Precautions' 
in the TrueCrypt documentation (file 'TrueCrypt User Guide.pdf').

Examples:

Create a new volume:
truecrypt -t -c

Mount a volume:
truecrypt volume.tc /media/truecrypt1

Mount a volume as read-only, using keyfiles:
truecrypt -m ro -k keyfile1,keyfile2 volume.tc

Mount a volume without mounting its filesystem:
truecrypt --filesystem=none volume.tc

Mount a volume prompting only for its password:
truecrypt -t -k "" --protect-hidden=no volume.tc /media/truecrypt1

Dismount a volume:
truecrypt -d volume.tc