LinuxQuestions.org

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

dcsmith300 04-02-2009 12: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 04:27 PM

Helpful

TwinReverb 04-03-2009 12: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 02:01 PM

Quote:

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

I use LUKS too.

dcsmith300 04-04-2009 10: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 11:03 AM

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 02: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 10: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 11:55 AM

Sorry, I misread your post - No hard feelings.

---Dennis

mostlyharmless 04-06-2009 01: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 03: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 07: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 08: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 06: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 09: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.

H_TeXMeX_H 06-26-2009 09:53 AM

Also, I personally prefer using mcrypt ... it's a lot easier to use.

But, usually I use ccrypt, because it's very fast.

diffy 01-28-2010 02:24 PM

Bump!

Thanks a lot for the howto... sc**w the forum trolls, this was really helpful, thank you for your time!


Oh - and I use Truecrypt because of it's interoptability (Linux, MacOSX, Windows) and ruggedness. Also Plausible Deniability

btw: I just found some slackbuilds for Truecrypt, in case people dare using a possibly tainted foreign build :) http://connie.slackware.com/~alien/s...pt/pkg64/13.0/

H_TeXMeX_H 01-28-2010 03:32 PM

so the instructions still work ? that's good, I thought they might have changed something in the mean time.


All times are GMT -5. The time now is 12:08 AM.