LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 12-11-2009, 09:22 PM   #1
b10m3ch4
LQ Newbie
 
Registered: Nov 2009
Posts: 17

Rep: Reputation: 0
Truecrypt Or Truecrypt Alternative On Centos?


I have been unsuccessful in repeated attempts to get the latest version of TrueCrypt to compile on CentOS release 5.4 (Final), but I am in great need of a virtual drive setup to store my files in, on my remote servers. Has anyone managed to get TrueCrypt installed on the latest CentOS, or does anyone know of a more Linux-friendly alternative to TrueCrypt that serves the same purpose?

My company is talking about going back to Windows if we can't figure this one out...please help
 
Old 12-12-2009, 03:34 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Quote:
Originally Posted by b10m3ch4 View Post
Has anyone managed to get TrueCrypt installed on the latest CentOS
This web log article http://vinnn.blogspot.com/2009/01/tr...-centos-5.html says he has and as a bonus he lists what doesn't work as well. (Maybe you should post where your build process fails?) Here's a nice overview of encryption methods: http://www.debianadmin.com/filesyste...for-linux.html (you didn't state you require cross-platform compatibility and most won't be).


Quote:
Originally Posted by b10m3ch4 View Post
My company is talking about going back to Windows
If they want the tuesday-is-my-fun-day, monthly reinstalls and the per-seat yearly license fees, so be it. Personally speaking I'm not fazed by that kind of talk...

Last edited by unSpawn; 12-12-2009 at 03:36 AM.
 
Old 12-15-2009, 02:01 PM   #3
samnjugu
Member
 
Registered: Apr 2006
Location: Atlanta
Distribution: Centos, knoppix, Fedora, Mepis, Zenwalk, Mint
Posts: 142

Rep: Reputation: 16
Here is a link to a repo with the latest truecrypt rpm http://www.lfarkas.org/linux/package.../5/i386/other/
 
Old 12-15-2009, 11:14 PM   #4
b10m3ch4
LQ Newbie
 
Registered: Nov 2009
Posts: 17

Original Poster
Rep: Reputation: 0
Now I am getting the following errors, are my installs missing something that is usually there maybe?

[root@fast appz]# truecrypt
truecrypt: /usr/local/lib/libpng12.so.0: no version information available (required by /usr/lib/libwx_gtk2u_core-2.8.so.0)
truecrypt: /usr/local/lib/libpng12.so.0: no version information available (required by /usr/lib/libcairo.so.2)

I already have libpng installed of course:

Setting up Install Process
Package 2:libpng-1.2.10-7.1.el5_3.2.i386 already installed and latest version
Package 2:libpng-devel-1.2.10-7.1.el5_3.2.i386 already installed and latest version
Nothing to do
 
Old 12-18-2009, 03:05 AM   #5
b10m3ch4
LQ Newbie
 
Registered: Nov 2009
Posts: 17

Original Poster
Rep: Reputation: 0
All the errors I run into trying to install TrueCrypt are related to GTK, Wx, and issues related to the GUI....none of which I care anything about or need, as I am trying to get truecrypt installed on a remote server, via command line. It installed perfectly on an OpenSUSE install, but I really hate that OS for servers

Does anyone have a way to install TrueCrypt from the command line in a server environment? Without all the GUI application dependency hell?
 
Old 12-18-2009, 03:42 AM   #6
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
If you enter "./configure --help" is there an option whether to build the project with gui support?

You did as for an alternative to truecrypt in the first post. You could use "cryptsetup" & the kernel's luks support instead. Here is a example creating a 200MB encrypted file:
Code:
#create a file with pseudo-random contents
dd if=/dev/urandom of=testvirt bs=$((1024*1024)) count=200

#setup a loop device.  The output of this command will be which loop device to use.  My example returned loop0.
sudo /sbin/losetup -fs testvirt

#use luksFormat to setup the encryption.  It will ask for your passphrase to use.
sudo /sbin/cryptsetup luksFormat /dev/loop0

#create the encrypted device
sudo /sbin/cryptsetup luksOpen /dev/loop0 cr_<file>

#this created a /dev/md-0 device which needs to be formatted yet.  You could use the created /dev/mapper/cr_<file> device in the next command instead.
sudo /sbin/mkfs.ext2 /dev/md-0

#now to mount the device
mkdir ~/secret
sudo mount /dev/md-0 /home/user/secret
To use the device after it has been setup:
Code:
sudo /sbin/losetup -fs <file>
sudo /sbin/cryptsetup luksOpen  /dev/loop0 cr_<file>
sudo /sbin/mount -t ext2 /dev/md-0 /home/user/secret

Last edited by jschiwal; 12-18-2009 at 04:04 AM. Reason: bumped save by accident on touchpad earlier.
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Truecrypt for Slackware64? cwizardone Slackware 14 09-18-2009 10:22 PM
Error while compiling TrueCrypt on CentOS: error: Can't use --enable-std_string... displacedtexan Linux - Software 1 07-24-2008 02:17 PM
truecrypt koker Grafpup 1 01-03-2008 10:55 AM
TrueCrypt vs. CFS kurrupt Linux - Security 4 10-10-2006 05:43 AM
TrueCrypt for linux? rpz Linux - Software 14 05-19-2006 09:05 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration