Inhalt nur in Englisch verf├╝gbar

Encrypted DVDs

Keywords: dvd,security,losetup,truecrypt,crypto-loop
Versions:

DVD9+R = 4173824 blocks = 8347648 KiB = 8152 MiB
Files on ISO: 2*4075 MiB = 8150 MiB

TrueCrypt

Create key.

mkdir ~/.truecrypt
truecrypt --keyfile-create ~/.truecrypt/dvd.key

Create & mount encrypted file system:

truecrypt -k ~/.truecrypt/dvd.key -c vault.tc
mkdir vault
truecrypt -k ~/.truecrypt/dvd.key -u vault.tc vault 

Burn file on iso:

sync
growisofs -dvd-compat -Z /dev/dvdram vault.tc
(+ empty vault dir)

Crypto Loop

Initially create encrypted file system:

dd if=/dev/urandom of=backup.ext2 bs=1024k count=8000
losetup -e AES256 -G /home/sump/.gnupg -K /etc/crypto/key_dvd.gpg /dev/loop5 backup.ext2
mkfs.ext2 -m 0 /dev/loop5 8000
mkdir backup
mount /dev/loop5 backup

Burn encrypted file system:

sync
ulimit -l unlimited
growisofs -dvd-compat -Z /dev/dvdram=backup.ext2

Related notes for 'dvd':
K3b: DVD drive hangs after some time

Related notes for 'security':
DES vs. UNIX Crypt

Related notes for 'truecrypt':
Encrypted DVDs - mount / umount toggle script

Kommentare