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