Slashdot Mirror


Simplified Disk Encryption Coming to GNOME

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."

8 of 83 comments (clear)

  1. TrueCrypt by robyannetta · · Score: 1, Informative

    TrueCrypt has offered this type of integration in Linux for years.

    --
    - Just my $0.02, take with a grain of salt, your mileage may vary.
    1. Re:TrueCrypt by zhiwenchong · · Score: 3, Informative

      Mac OS X's DMG disk image format has had similar functionality (AES-128) for a long time too, but admittedly it is not cross-platform and open-source like TrueCrypt is.

  2. Re:Wrong level of the Stack by JanneM · · Score: 4, Informative

    HAL is not part of a desktop (not really sure why Gnome is mentioned here, other that that the initial user tools for this is Gnome based). It's a Hardware Abstraction Layer around the kernel to support stuff like hotplugging, file monitoring and so on in a nice, hardware-independent manner. It sounds like just about the right level to me. Isn't HAL used in most recent distros by now, no matter what desktop (if any)?

    --
    Trust the Computer. The Computer is your friend.
  3. Re:Wrong level of the Stack by BillKaos · · Score: 2, Informative
    Would have you read the article instead trying to do a FP, you would see that this is the same as automonting an USB disk.

    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.

  4. Already in debian by elronxenu · · Score: 2, Informative
    Debian already has encryption, and it's very convenient.

    Install lvm2 (great for managing disk space), dmsetup, cryptsetup. Read this page 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.

    1. Re:Already in debian by Omega+Hacker · · Score: 4, Informative

      Obviously you didn't read the whopping 3 paragraphs and look at the screenshot that makes it quite clear that what they're doing is making it actually easy to use an encrypted filesystem from a desktop GUI. The instructions you post don't integrate into the desktop, nor are they by any means easy, sorry.

      --
      GStreamer - The only way to stream!
  5. Re:Wrong level of the Stack by labratuk · · Score: 2, Informative

    Don't worry, the article title is just a bit misleading. All this really is is hooks being built into HAL (dynamic hardware framework) so that users can mount crypted filesystems with a pretty frontend.

    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. It's supposed to be a unix kernel, not a plan9 kernel.

    --
    Malike Bamiyi wanted my assistance.
  6. Re:Wrong level of the Stack by kwalker · · Score: 2, Informative

    I'm going to try to correct you as gently as I can (So unlike Slashdot, I know). But it's done this way to make it compatible. The crypto is at the level it is so it is FS agnostic (I'm using it now on top of LVM and underneath ReiserFS).

    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 forgets the password while mounting the device/file/partition/LV. Once it's mounted, the key is retained in the kernel and life goes on. It can present problems in using it for system-level filesystems (/home, /usr, etc) but that's something the distro maintainers will have to tackle since you will either need to be present when the system boots (to type in the key) or have it grab the key from an unencrypted location accessible to the system (Some people use remote servers, some us USB drives, whatever).

    This is perfect for removable drives (USB, FireWire, etc).

    --
    ... And so it comes to this.