Re: [work] Re: Encrypted CDs/DVDs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thanks, Mutex, for your very quick reply.

But I'm really looking for a transparent solution, most importantly because I want to use
it with DVD-R - and don't wanna copy the whole image first...

I just tried the following (without success):

    dd if=/dev/urandom of=cd1.img bs=1k count=65536
    losetup -e aes -k 256 /dev/loop1 cd1.img
    mkisofs -o /dev/loop1 -R -J photo-album/rawmart
    losetup -d /dev/loop1
    cdrecord dev=0,0,0 cd1.img
    mount /cryptcd          [with /etc/fstab entry: /dev/cdrom    /cryptcd            iso9660    loop=/dev/loop1,encryption=aes]

It seems, the whole CD is broken, because "cat /dev/cdrom" gives an I/O error.

Any tips??

        Michael



mutex wrote:
On Mon, Dec 30, 2002 at 02:55:45PM +0800 or thereabouts, Michael Janich wrote:
  
Hi crypto-experts,

I want to create/burn  encrypted CDs and DVDs.

Do I do this with

  mkisofs ... | aespipe -k256 ... | cdwrite -
  mount /dev/cdrom -o loop -e aes256 /cdrom

    
i just piped my iso image through gpg, while this doesn't allow you transparnet
filesystem encryption it will always survive things like blocksize changes in the kernel(which happened in between 2.2 and 2.4).
then you just dd the iso to the drive and decrypt it locally.
Dave
  

-- 

   Michael Janich, Chief Technology Officer, Noble Group Ltd, Hong Kong
   http://www.thisisnoble.com/  Tel: +852 2861-4615. Fax: +852 2865-3865. 

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature


[Index of Archives]     [Kernel]     [Linux Crypto]     [Gnu Crypto]     [Gnu Classpath]     [Netfilter]     [Bugtraq]
  Powered by Linux