Slashdot Log In
Simplified Disk Encryption Coming to GNOME
Posted by
ScuttleMonkey
on Wed Feb 22, 2006 05:46 PM
from the keep-it-secret-keep-it-safe dept.
from the keep-it-secret-keep-it-safe dept.
An anonymous reader writes "David Zeuthen of Red Hat has been working on adding encrypted volume support to HAL. The result is an infrastructure that is being developed to make working with encrypted volumes easier. David has published a screenshot documenting his work on his blog. The bottom line: attach a properly encrypted volume and the system will prompt you for a password and automatically mount it."
This discussion has been archived.
No new comments can be posted.
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
Full
Abbreviated
Hidden
Loading... please wait.
Disk encryption? (Score:3, Funny)
Re:Disk encryption? (Score:2)
Re:Disk encryption? (Score:2)
Re:Of course they will. (Score:3)
For tech-savvy users there's already been solution (Score:5, Interesting)
These developments will bring file security to many non-technical users, but for the nerds out there there have already been practical solutions for some time.
I've been keeping the hard disk of my Linux encrypted with twofish for over three years now (see the description of this encryption method in Bruce Schneier's magisterial Applied Cryptography [amazon.com] ). Swap is encrypted with a random key generated on each boot-up. At first I used the old cryptoloop method, but as soon as the kernel support was there I switched to the crypto device-mapper target [saout.de]. I never noticed any performance penalties: this is a very efficient solution.
Re:For tech-savvy users there's already been solut (Score:2)
I do see a system penalty using the crypto setup (Server is single AMD-1800+ 1GB RAM) in that copying a large file will peg the CPU and drive the load average way up for about two seconds every four to five seconds, but thus
Re:For tech-savvy users there's already been solut (Score:2)
You can change the settings for how often it flushes and also the criteria e.g. flush when buffers are 20% dirty.
This was in bdflush in Linux 2.4- I'm not sure where it is now in 2.6. Google will have it somewhere though
Re:For tech-savvy users there's already been solut (Score:2)
Already in debian (Score:3, Informative)
Install lvm2 (great for managing disk space), dmsetup, cryptsetup. Read this page [riseup.net] and follow its instructions.
You can create a block device of any size you want using lvm (so long as there is sufficient disk space of course) and then map that to another block device using the device mapper and the crypt filter. The original block device looks like random bytes and if you get the passphrase wrong the mapped block device still looks like random bytes (i.e. there's no way to confirm a correct passphrase except that the result looks sensible).
Once you have set a passphrase, make a filesystem on the mapped block device. Go ahead and use it any way you like.
Re:Already in debian (Score:5, Informative)
Parent
Too confusing for consumers ? (Score:3, Funny)
Maybe the new version will be called GNOME_PRO and the old will be GNOME_HOME edition?
Portability? (Score:2)
- Hubert
HAL != Gnome (Score:2)
This is a not a GNOME-centric development.
Re:TrueCrypt (Score:4, Informative)
Parent
Re:TrueCrypt (Score:2)
Re:TrueCrypt (Score:2)
That's what Filevault sort of does with your home directory.
It operates in a way in a decoupled sort of way, you see.
Re:TrueCrypt (Score:2)
Re:TrueCrypt (Score:2)
Re:TrueCrypt (Score:5, Insightful)
The Linux version is also a command-line program (or at least everything I've read on it have indicated as such). Integrating the same features into a nice interface would be a welcomed addition to the Gnome desktop.
Parent
Re:TrueCrypt (Score:2)
Re:TrueCrypt (Score:2)
But why should I use it in Linux over the normal device-mapper tools?
Anyone know?
Re:Wrong level of the Stack (Score:4, Informative)
Parent
Re:Wrong level of the Stack (Score:2)
I'd forgotten about HAL. It looks like its progress is coming along nicely. This is a step that Linux should have taken a LONG time ago. Oh well, better late than never.
Re:Wrong level of the Stack (Score:2)
Ummm... no. In this case there is a lowest level virtual file system that can be modified to make ALL programs compatible. With GnomeVFS, RealPlayer fails, Acrobat fails, KOffice fails, OpenOffice fails, etc. because the GnomeVFS API is a structure that duplicates officially provided functionality. Ergo, it's not that good of a design.
Re:Wrong level of the Stack (Score:2)
Duh. Just call a "mountsftp" mounter to access the FS. There's an SSHFS implementation here [sourceforge.net] that does pretty much the same thing.
Re:Wrong level of the Stack (Score:2)
Gnome-vfs may be less than optimal in many respects but at least it's not Linux-only.
File Based IS the Wrong Level (Score:2)
Metadata leakage, including filenames. This generally tells me the files I need to attack. I don't need mymod.ko, but earnings.sxc would be interesting.
Generally, file-based approaches only encrypt the file data. BAD, because EVEN if the filenames themselves are encrypted, and allocation maps are encrypted, it is still possible to do entropy analysis on the drive. What
Re:Wrong level of the Stack (Score:3, Insightful)
Re:Wrong level of the Stack (Score:3, Informative)
From TFA: While LUKS is a standard on-disk format, there is also a reference implementation. LUKS for dm-crypt is implemented in an enhanced version of cryptsetup.
I guess dm-crypt is the right layer for that, done in the kernel by the device mapper. This only will ask you for you key before mounting it.
Re:Wrong level of the Stack (Score:2)
But I can't see that GNOME is the essential ingredient here, if it's done in HAL, Gnome just needs a nice GUI to handle a password request.
Re:Wrong level of the Stack (Score:2)
KDE does something similar, shoehorning in an ssh filesystem that only works in K-apps. There's a userspace sshfs which I'm going to try since I don't use K much, but this is all unnecessary duplication of effort.
Yes, this disparity between the kernel VFS and the Gnome or KDE or XYZ VFS is very annoying. I was called over to figure out how to save scanned files from a Linux box across to a Windows share. They could browse over to the Windows share just fine in Konq, but when it came time to use a Gnom
Re:Wrong level of the Stack (Score:2)
Re:Wrong level of the Stack (Score:2)
Re:Wrong level of the Stack (Score:2)
Re:Wrong level of the Stack (Score:3, Insightful)
Re:Wrong level of the Stack (Score:2)
Re:Wrong level of the Stack (Score:2)
as for the duplication of effort, consider that porting each and every one of those io slave types to each and every supported kde/gnome platform is a huge undertaking. better to let them bake at the DE level and do an invert later on (e.g., kiofs).
further, when you talk about the GNOME folks duplicating effort, well, from the outside, that who
Feeding trolls for fun and profit (Score:2)
39
Your other comments may apply equally well to KDE.
I'll close with an old classic:
Re:Feeding trolls for fun and profit (Score:2)
Why would Mac addicts flame you for choosing KDE?
Re:Wrong level of the Stack (Score:2)
$ du -h
4.0K
4.0K
0
921K
9.7M
11M
Which I traced to the fact that I installed gthumb.
Why on Earth does a set of defaults need nearly 10M?
Re:Wrong level of the Stack (Score:2)
Umm, yeah - the point is doing a filesystem at the most effective layer of abstraction - the VFS or as a userspace filesystem on linux. Doing a filesystem in GNOME (which isn't what this is) would just be silly, from a linux perspective.
Don't panic! (Score:2)
Re:Wrong level of the Stack (Score:3, Informative)
What you're saying is like saying "My OS shouldn't ask me with a GUI bubble what to do with a memory stick. That's part of the filesystem layer. Much lower layer than the GUI."
This isn't using gnomevfs.
And when it comes to building 'secondary' VFSs, there's a good argument for keeping things out of the kernel
Re:Wrong level of the Stack (Score:2)
Re:Wrong level of the Stack (Score:3, Informative)
In other words, it's at the block level, not the FS level. It creates no problems for anything using the "standard" Linux APIs because unless they're working on the block level, they won't even know it's there.
The user is not locked out of the data unless the user forget
Re:Wrong level of the Stack (Score:2)
Re:Wrong level of the Stack (Score:2)
Re:They're not writing a new file system.. (Score:2, Interesting)
Actually the new thing is the 'flush' mount option that don't wear out flash drives and destroys performance like 'sync' does. Someone at SUSE wrote an experimental 'flush' patch for vfat and it seems possible to do for other file systems too. It will go upstream and some point...
Re:I think my information is safe enough without i (Score:5, Interesting)
In any case, the story is definitely worth a listen.
Parent
Re:I think my information is safe enough without i (Score:3, Insightful)