[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Crypted CDROMs
Erik Kunze writes:
> I'd like to crypt CDROMs, but can't get it working with ISO9660.
(1) Create an ISO image just the same way you'd do for a normal
unencrypted CD-ROM, say, "/tmp/test.img".
(2) losetup /dev/loop0 /tmp/test.img
(3) losetup -e aes /dev/loop1 /tmp/test.img
(4) dd if=/dev/loop0 of=/dev/loop1 bs=1M
(5) losetup -d /dev/loop0 && losetup -d /dev/loop1
(6) mount -o encryption=aes,ro /tmp/test.img
There you are.
-peter
-
Linux-crypto: cryptography in and on the Linux system
Archive: http://mail.nl.linux.org/linux-crypto/