Home Messages Index
[Date Prev][Date Next][Thread Prev][Thread Next]
Author IndexDate IndexThread Index

Re: [News] TrueCrypt 5.0 and the GNU/Linux GUI

  • Subject: Re: [News] TrueCrypt 5.0 and the GNU/Linux GUI
  • From: "[H]omer" <spam@xxxxxxx>
  • Date: Fri, 08 Feb 2008 03:44:23 +0000
  • In-reply-to: <10303341.zCNjFAiX8p@xxxxxxxxxxxxxxx>
  • Newsgroups: comp.os.linux.advocacy
  • Openpgp: id=BF436EC9; url=http://slated.org/files/GPG-KEY-SLATED.asc
  • Organization: Slated.org
  • References: <10303341.zCNjFAiX8p@xxxxxxxxxxxxxxx>
  • User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.8.1.9) Gecko/20071115 Fedora/2.0.0.9-1.fc8 Thunderbird/2.0.0.9 Mnenhy/0.7.5.666
  • Xref: ellandroad.demon.co.uk comp.os.linux.advocacy:604730
Verily I say unto thee, that Roy Schestowitz spake thusly:

> TrueCrypt 5.0 Released

That's interesting, but it seems rather redundant since the kernel has a
Crypto API built right in, and userland tools like cryptsetup to support it:

http://www.redhatmagazine.com/2007/01/18/disk-encryption-in-fedora-past-present-and-future/

Simple example:

######
#!/bin/sh

case "$1" in
   init)
           echo "Creating LUKS container file: container.ext2.luks"
           dd if=/dev/urandom of=container.ext2.luks bs=1M count=100
           losetup /dev/loop0 container.ext2.luks
           cryptsetup luksFormat /dev/loop0
           cryptsetup luksOpen /dev/loop0 luksfs
           mkfs.ext2 -L secret /dev/mapper/luksfs
           mkdir -p /mnt/secret
           mount -t ext2 /dev/mapper/luksfs /mnt/secret
           ;;
   start)
           losetup /dev/loop0 container.ext2.luks
           cryptsetup luksOpen /dev/loop0 luksfs
           mount -t ext2 /dev/mapper/luksfs /mnt/secret
           ;;
   stop)
           umount /mnt/secret
           cryptsetup luksClose /dev/mapper/luksfs
           losetup -d /dev/loop0
           ;;
   status)
           cryptsetup luksDump /dev/loop0
           ;;
   *)
        echo $"Usage: $0 {init|start|stop|status}"
        exit 1
esac

exit 0
######

-- 
K.
http://slated.org

.----
| "There would be in the license, a caveat which forbids publishing a
| distro until it has been approved by an OSS committee." ~ Comrade
| Hardon Quirk, communist party member.
`----

Fedora release 8 (Werewolf) on sky, running kernel 2.6.23.8-63.fc8
 03:43:55 up 49 days,  1:19,  5 users,  load average: 0.06, 0.10, 0.09

[Date Prev][Date Next][Thread Prev][Thread Next]
Author IndexDate IndexThread Index