LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 03-22-2011, 02:25 PM   #1
halabb
LQ Newbie
 
Registered: Nov 2005
Location: Detroit
Posts: 10

Rep: Reputation: 0
Thumbs up Encryption solutions?


I have yet to find an encryption solution that I'm really happy about. I've been using ubuntu's native home encryption while I figure out what I want to do.

My main concern is security. I manually mount. It'd be nice to automount, but I don't see how that can be secure.

I would like to use a solution that doesn't involve pre-allocating space. Still on the fence with if I wan't file names to be visible.


What are your encryption solutions? Server/Desktop, whatever.

Last edited by halabb; 03-22-2011 at 02:31 PM. Reason: tie po
 
Old 03-22-2011, 02:27 PM   #2
szboardstretcher
Senior Member
 
Registered: Aug 2006
Location: Detroit, MI
Distribution: GNU/Linux systemd
Posts: 4,278

Rep: Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694Reputation: 1694
Well, I use "realcrypt" but I pre-allocate space.
 
Old 03-23-2011, 02:09 AM   #3
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
I select and mix SSL, GPG, EncFS or LUKS depending on goal.
If the goal requires mounting manually then so be it.
 
Old 03-27-2011, 09:43 PM   #4
stickman
Senior Member
 
Registered: Sep 2002
Location: Nashville, TN
Posts: 1,552

Rep: Reputation: 53
I'm using a combination of LUKS, TrueCrypt, and GPG. A word of caution about automounting. This typically means having a key file or passphrase available at mount time, which may undo your security goals.
 
1 members found this post helpful.
Old 03-29-2011, 08:17 PM   #5
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,359

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
Possibly sshfs ?
 
Old 04-19-2011, 04:37 AM   #6
fotoguy
Senior Member
 
Registered: Mar 2003
Location: Brisbane Queensland Australia
Distribution: Custom Debian Live ISO's
Posts: 1,291

Rep: Reputation: 62
I made a couple of years a go, a live cd that when you installled it, would encrypt the swap, root and home, then copy the contents of the live cd to hard drive. It would then create a decryption cd that you could either hold the decryption keys on it, or upload/download the from a ssh server. Unfortunately i don't think i still have a copy of it around, might have been something you could have used, I've have been trying to work on another later version but don't have the time over the last year or so.
 
Old 05-17-2011, 01:37 PM   #7
halabb
LQ Newbie
 
Registered: Nov 2005
Location: Detroit
Posts: 10

Original Poster
Rep: Reputation: 0
AAAAAAActually, I failed to state my main goal here. I need to share the encrypted media over the network.

With Windows, I create a share after I mount the encrypted media.

But with linux, I don't know how to mount that encrypted media and make it available to network clients.

Also, with TrueCrypt I will not be able to mount read-write more than once so that's out!

I'm researching ecryptfs, but if I had the answer I wouldn't be posting this



***Is there a way I can just share the TrueCrypt media at the application level like Windows? (not sure if that made sense)
 
Old 05-17-2011, 01:55 PM   #8
Skaperen
Senior Member
 
Registered: May 2009
Location: center of singularity
Distribution: Xubuntu, Ubuntu, Slackware, Amazon Linux, OpenBSD, LFS (on Sparc_32 and i386)
Posts: 2,684
Blog Entries: 31

Rep: Reputation: 176Reputation: 176
Quote:
Originally Posted by halabb View Post
AAAAAAActually, I failed to state my main goal here. I need to share the encrypted media over the network.

With Windows, I create a share after I mount the encrypted media.

But with linux, I don't know how to mount that encrypted media and make it available to network clients.

Also, with TrueCrypt I will not be able to mount read-write more than once so that's out!

I'm researching ecryptfs, but if I had the answer I wouldn't be posting this



***Is there a way I can just share the TrueCrypt media at the application level like Windows? (not sure if that made sense)
The media is already encrypted and you want it to be safe over the network? Since you are researching means of encryption, you haven't decided how that media encryption is to be done,yet. You might include "encfs" in your research. It is similar to "ecryptfs" except that it is FUSE based, so it's easier to use by end users on Linux.

I've used NFS as a backing store with encfs. Client machines mount the NFS volume, then mount encfs over that and access files via the encfs encrypted mount point. What's stored is encrypted (subject to a few things encfs doesn't hide, like how many files there are, etc).

If you also want cross compatibility with Windows for the same data, you may be out of luck, because Windows tends to have commercial products from companies that want to make it as hard as possible to share with Linux.
 
1 members found this post helpful.
Old 05-17-2011, 02:57 PM   #9
halabb
LQ Newbie
 
Registered: Nov 2005
Location: Detroit
Posts: 10

Original Poster
Rep: Reputation: 0
No, I want it safe on the disk, network security is a non-issue. I don't care about Windows, I'm phasing that crap out and you're helping!

Ideally, what I'd like to do is mount the encrypted media on the server and share the encrypted media on the network with NFS. Is that possible?

Thanks
 
Old 05-18-2011, 12:44 PM   #10
nomb
Member
 
Registered: Jan 2006
Distribution: Debian Testing
Posts: 675

Rep: Reputation: 58
Yes you can create an encrypted container or partition, mount it, and then share the mount via NFS.

There are actually a lot of methods you could use to do this. I personally like LUKS a lot but that is just me.

nomb
 
1 members found this post helpful.
Old 05-18-2011, 04:40 PM   #11
halabb
LQ Newbie
 
Registered: Nov 2005
Location: Detroit
Posts: 10

Original Poster
Rep: Reputation: 0
^I feel stupid. Moreso satisfied.

Thank you.
 
  


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
Mailscanner solutions alphatest Linux - Software 1 09-03-2010 01:07 PM
Linux password encryption and data encryption Tux-Slack Programming 4 06-20-2007 06:46 AM
LXer: Covalent Technologies and Chariot Solutions Deliver Complete Solutions LXer Syndicated Linux News 0 05-05-2006 09:03 AM
LXer: PGP Corporation Announces New Mainframe and Mid-Range Encryption Solutions for IBM Platforms LXer Syndicated Linux News 0 02-13-2006 10:46 PM
Mandrake 9.0 Wireless Works without encryption.. does not with encryption topcat Linux - Wireless Networking 3 05-04-2003 08:47 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 01:12 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