Go Back   Technibble Forums > Operating Systems > Linux

  Technibble Sponsor

Reply
 
Thread Tools Display Modes
  #1  
Old 11-28-2009, 01:20 AM
PcTek9's Avatar
PcTek9 PcTek9 is offline
 
Join Date: Nov 2009
Location: Mobile, AL
Posts: 996
PcTek9 has a spectacular aura aboutPcTek9 has a spectacular aura about
Send a message via AIM to PcTek9 Send a message via Yahoo to PcTek9 Send a message via Skype™ to PcTek9
Default How to compile TrueCrypt on Slitaz Linux

So you want a reliable file server for your network.

You want it to be immune from viruses.

You want to be able to save files to a public share from any windows, linux, or mac machine.

You want to be able to scan the linux share with a linux antivirus such as fprot.

You want to be able to encrypt the linux share, in case you stick customer data on it, and someone breaks into your shop over night and steals it.

As you all know I've mentioned that slitaz is a very fast o/s. It has email, web, printing, and other applications and it all runs from 32 meg of ram. It is small and lightning fast.

Truecrypt let's you encrypt a windows or linux machine with any of: aes, blowfish, cast5, serpent, triple DES, twofish, Aes-twofish, awes-twofish-serpent, serpent-aes, serpent-twofish-aes, and twofish-serpent.

So this is really secure stuff, as far as encryption goes.

B/c truecrypt is NOT a click/install package for slitaz, you must use a bit of magic, to get it all installed. Here is how I did it.

use the taz package manager to get these click-install packages:
[SIZE="4"]slitaz-toolchain
fuse-dev
gtk+-dev
pkg-config (may already be installed)
dm-setup (this one is in the cooking packages).[/SIZE]

**** 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:
[SIZE="3"]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
[/SIZE]
**** this command sticks all the rsa header encryption files in /usr/local/src/pkcs11
[SIZE="4"]export PKCS11_INC=/usr/local/src/pkcs11
cd /usr/local/src
wget http://prdownloads.sourceforge.net/w...s-2.8.9.tar.gz
[/SIZE]
**** take the wxWidgets-2.8.9.tar.gz and unzip it then untar it.
[SIZE="4"]gunzip -d wxWidgets-2.8.9.tar.gz[/SIZE]
**** now to untar it
[SIZE="4"]tar -x wxWidgets-2.8.9.tar[/SIZE]
**** 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.
[SIZE="4"]gunzip -d truecrypt-6.3a-source.tar.gz
tar -x truecrypt-6.3a-source.tar[/SIZE]

**** configure gui interface classes for linux programs.
[SIZE="4"]cd vxWidgets-2.8.9
./configure[/SIZE]

**** when that is finished go into truecrypt source code directory below
[SIZE="4"]cd /usr/local/src/truecrypt-6.3-source[/SIZE]
**** now that you downloaded, unzipped, and untar'd truecrypt to it's own dir
**** you can start linking everything together.
[SIZE="4"]make WXSTATIC=1 WX_ROOT=/usr/local/src/wxWidgets-2.8.9 wxbuild (1 warning)[/SIZE]
**** let's copy the RSA data security header files into our source code dir.
[SIZE="4"]cp /usr/local/src/PKCS11/* /usr/local/src/truecrypt-6.3a-source
make WXSTATIC=1
cp -p ./Main/truecrypt /usr/local/bin[/SIZE]

**** then just type ./truecrypt and it looks just identical to the same truecrypt
**** you use in windows, same features and everything.

Last edited by PcTek9; 01-10-2010 at 09:03 PM.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 01:18 PM.


Powered by vBulletin®
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Technibble.com is based out of MELBOURNE, AUSTRALIA.