TrueCrypt on Slitaz
I've wanted a stable NAS at my house for a long time. I tried freenas and when i shut it down every time i would start the server back up it would have many issues with inodes.
I had a galaxy exobyte and it fried, then I tried openfiler, still no luck. Finally I downloaded Slitaz. This linux is super tiny 32 mb. But it's super cool.
I set up a samba share on slitaz, then I installed xvnc, then I put on fprot antivirus to scan any windows files dumped on the ext3 samba share. Great. All this works perfect.
Finally I decided to install truecrypt (from sourcecode) on slitaz. This way I can encrypt all the files stored on the samba share with truecrypt. I can use a 32 meg smart media card to hold a few photos and certificates that must be plugged into to the pc which along with my pw decrypts the samba share. (smart media cards are super thin and easy to break in half between your thumb and your fingers.)
use the taz package manager to get these click-install packages:
slitaz-toolchain
fuse-dev
gtk+-dev
pkg-config (may already be installed)
dm-setup (this one is in the cooking packages).
**** once you download dm-setup you can go gunzip it, detar it, and install it
**** you can also do that with the package manager if your inclined.
open a vcon window and elevate user status to root using su & your pw.
then type these commands:
mkdir /usr/local/srcpkcs11
mkdir /usr/local/bin
cd /usr/local/src/pkcs11
wget ftp://ftp.rsasecurity.com/pub/pkcs/p...-20/cryptoki.h
wget ftp://ftp.rsasecurity.com/pub/pkcs/p...v2-20/pkcs11.h
wget ftp://ftp.rsasecurity.com/pub/pkcs/p...2-20/pkcs11f.h
wget ftp://ftp.rsasecurity.com/pub/pkcs/p...2-20/pkcs11t.h
**** this command stick all the rsa header encryption files in /usr/loca/src/pkcs11
export PKCS11_INC=/usr/local/src/pkcs11
cd /usr/local/src
wget http://prdownloads.sourceforge.net/w...s-2.8.9.tar.gz
**** take the wxWidgets-2.8.9.tar.gz and unzip it then untar it.
gunzip -d wxWidgets-2.8.9.tar.gz
**** now to untar it
tar -x wxWidgets-2.8.9.tar
**** now download the true crypt source code from truecrypt.com
**** do not get the ready made package for suse or redhat
**** certainly do not get the windows or mac package.
**** make sure you get the source code of truecrypt itself.
gunzip -d truecrypt-6.3a-source.tar.gz
tar -x truecrypt-6.3a-source.tar
**** configure gui interface classes for linux programs.
cd vxWidgets-2.8.9
./configure
**** when that is finished go into truecrypt source code directory below
cd /usr/local/src/truecrypt-6.3-source
**** now that you downloaded, unzipped, and untar'd truecrypt to it's own dir
**** you can start linking everything together.
make WXSTATIC=1 WX_ROOT=/usr/local/src/wxWidgets-2.8.9 wxbuild (1 warning)
**** let's copy the RSA data security header files into our source code dir.
cp /usr/local/src/PKCS11/* /usr/local/src/truecrypt-6.3a-source
make WXSTATIC=1
cp -p ./Main/truecrypt /usr/local/bin
**** then just type ./truecrypt and it looks just identical to the same truecrypt
**** you use in windows, same features and everything.
Link: http://www.informationleak.org/viewtopic.php?f=46&t=5670#50522
Rating: - 0 out of 0 votes