LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   TrueCrypt for Slackware How-To (http://www.linuxquestions.org/questions/slackware-14/truecrypt-for-slackware-how-to-716383/)

dcsmith300 04-02-2009 01:43 PM

TrueCrypt for Slackware How-To
 
I couldn't find any good info on compiling truecrypt on slackware but I figured it out and though I would share.

Note: you need to be root.

1. Download truecrypt source from www.truecrypt.org and expand it in a temporary folder.

2. Ftp the files below from ftp.rsasecurity.com/pub/pkcs/pkcs-11/v2-20 and copy them into the truecrypt source directory.
/opt/truecrypt/truecrypt-6.1a-source in my case.

cryptoki.h
ct-kip.h
opt-pkcs11.h
pkcs-11v2-20a3.h
pkcs-11v2-20a3d3.h
pkcs11.h
pkcs11f.h
pkcs11t-consolidated-d1.h
pkcs11t.h
pkcs11t.h.org

3. Download wxWidgets from: http://www.wxwidgets.org/downloads/ wxAll is what you want.

4. unpack wxWidgets in the truecrypt source directory.

5. run the following command from the truecrypt source directory /opt/truecrypt/truecrypt-6.1a-source# make WX_ROOT=/opt/truecrypt/truecrypt-6.1a-source/wxWidgets-2.8.10 wxbuild

Note: change directories to match your installation

6. run the following command: make WXSTATIC=1

7. see the readme file in the truecrypt source directory for the rest of the info.

Good Luck.

mostlyharmless 04-02-2009 05:27 PM

Helpful

TwinReverb 04-03-2009 01:01 AM

Why do we need TrueCrypt? Just an honest question, since LUKS woks fine and there's a README_CRYPT.TXT on most Slackware mirrors that shows you how to install Slackware using LUKS and LVM2. The README works great, and I'm using mine "fully" encrypted (i.e. except for /boot).

mostlyharmless 04-03-2009 03:01 PM

Quote:

Why do we need TrueCrypt?
(1) Plausible deniability
(2) Windows intraoperability

I use LUKS too.

dcsmith300 04-04-2009 11:27 AM

[QUOTEHelpful
__________________
Your manuscript is both good and original. But the part that is good is not original, and the part that is original is not good. [attributed to Samuel Johnson] [/QUOTE]

I was trying to be helpful, I require TrueCrypt. I won't make that mistake again.

--peace out.

bl0tt0 04-04-2009 12:03 PM

I don't know where the best place to post it would be, but a while back I threw together a handy SlackBuild script for truecrypt that pulls all of this together. If anyone is interested, let me know.

Alien Bob 04-04-2009 03:24 PM

Quote:

Originally Posted by dcsmith300 (Post 3498353)
Your manuscript is both good and original. But the part that is good is not original, and the part that is original is not good. [attributed to Samuel Johnson]

I was trying to be helpful, I require TrueCrypt. I won't make that mistake again.

--peace out.

The part which goes "Your manuscript is both..." is the signature message of the poster and was not meant as a comment towards your instructions. The only thing he really said was "Helpful".

Eric

mostlyharmless 04-05-2009 11:51 AM

I knew that sig was going to get taken personally sooner or later. Dang, I'll have to change it. Guess maybe I should remove my thanks too.

dcsmith300 04-06-2009 12:55 PM

Sorry, I misread your post - No hard feelings.

---Dennis

mostlyharmless 04-06-2009 02:45 PM

bl0tt0: I'd be interested, but I'm sure others would be too - here's what I think, try
http://slackbuilds.org/guidelines/
dcsmith300: I guess it's pretty funny actually. Sorry about the misunderstanding and welcome to LQ.

brooky9999 04-08-2009 04:10 AM

I use Luks too and it works well.

I also use TrueCrypt so I can create encrypted containers to share with my Windows friends.

emrysm 06-08-2009 08:41 PM

Two things
 
Two things that might help other people:

1)
opt-pkcs11.h isn't on the ftp server - it's called otp-pkcs11.h on there. I have no idea which is correct, so I just copied otp-pkcs11.h to opt-pkcs11.h so I had both JIC.

2)
If you are building from CLI (like me), you need to add NOGUI=1 to both 'make' commands like this:

Code:

make NOGUI=1 WX_ROOT=/wx_path/ wxbuild
make NOGUI=1 WXSTATIC=1

works like a charm.

-Rigor Mortis
Spigot 37 Development Team

tuxrules 06-08-2009 09:21 PM

I used truecrypt in the past for cross-platform compatibility but I've since found FreeOTFE which works great on Windows with luks volume created under Linux.

akiku 06-11-2009 07:52 AM

Quote:

Originally Posted by dcsmith300 (Post 3496292)
I couldn't find any good info on compiling truecrypt on slackware but I figured it out and though I would share.

If you prefer not to compile your own version, slacky.eu has a v6.2 package http://repository.slacky.eu/slackwar...2-i486-1ng.tgz ready for installation.

H_TeXMeX_H 06-26-2009 10:19 AM

An alternative method:

1) Download and install wxGTK (or another on if you want), and compile with these options:

Code:

./configure --prefix=/usr --enable-shared --with-opengl --enable-unicode
(note: the unicode is necessary, in case you think it isn't)

2) Download truecrypt, extract, open a terminal in the extracted directory.

3) Run:

Code:

wget ftp://ftp.rsasecurity.com/pub/pkcs/pkcs-11/v2-20/*.h*
make

That's it just run it, looks like there isn't any way to install it properly.


All times are GMT -5. The time now is 01:10 AM.