so you want the cd to contain encrypted files, or you want the whole filesystem encryted ??
to encrypt files, use gnuPG.
to encrypt the filesystem, you will first need to create a disk image,
then setup a loop device pointing to that iso image.
next use the device mapper (with the encrypted target, use cryptsetup to do this)
that cat the iso image, into the encrypted device map.
you can then burn that iso to a cd, it is encrypted.
you will be able to mount it on any other linux (kernel 2.6 or later) with dm-crypt support.
in other words...
use somthing like k3b or nero to generate the iso disk image. (for example called /disk.iso)
#create a loop device
modprobe loop
losetup /dev/loop1 /dsk.iso
# setup an encrypted device mapper.
cryptsetup -c aes -y create encrypted_disk /dev/loop1
# enter a passowrd and confirm it
#pass the disk through the device mapper (to encrypt it)
cat /disk.iso /dev/mapper/encrypted_disk
#reove the deivice mapper
cryptsetup remove encrypted_disk
#remove the loop
loopsetup -d /dev/loop1
#burn the new ISO image in the usual way.
EDIT: seems we posted at same time...
can you burn to device mappers ???? i dint think you could.
Last edited by qwijibow; 05-20-2005 at 09:35 AM.
|