Crypted CDROMs

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

 



Hi all,

I'd like to crypt CDROMs, but can't get it working with ISO9660. Any other
filesystem does work!

What I did:

#> modprobe cryptoloop

#> dd if=/dev/urandom of=/tmp/cryptfile bs=2048 count=333000

#> echo "my_passwort" | \
    losetup -e aes --keybits 256 -p 0 /dev/loop1 /tmp/cryptfile

#> mkisofs -v -r -o /dev/loop1 /home/backup
#> mount -t iso9660 -o ro /dev/loop1 /mnt/cdrom
mount: Falscher Dateisystemtyp, ungültige Optionen, der
       »Superblock« von /dev/loop1 ist beschädigt oder es sind
       zu viele Dateisysteme gemountet

It doesn't recognise the filesystem as a valid ISO9660 filesystem. If I use
ext2 or reiserfs anything is fine.

In my next test I use the loop device again, this time without the chipper:

#> losetup /dev/loop1 /tmp/cryptfile
#> mkisofs -v -r -o /dev/loop1 /home/backup
#> mount -t iso9660 -o ro /dev/loop1 /mnt/cdrom

So what's wrong with ISO9660 on crypted files? Is this a fault of mkisofs,
cryptoapi or the filesystem driver?


-- 
   Dipl.-Ing. Erik Kunze               Phone: +49 - 89 - 32 14 07 41
   PHILOSYS Software GmbH              Fax:   +49 - 89 - 32 14 07 12
   Edisonstr. 6                        Email: Erik.Kunze@philosys.de
   D-85716 Unterschleissheim           WWW:   www.philosys.de/~kunze

 PGP-Key: http://blackhole.pca.dfn.de:11371/pks/lookup?op=get&search=0xD5759581
-
Linux-crypto:  cryptography in and on the Linux system
Archive:       http://mail.nl.linux.org/linux-crypto/



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