Montag, 9. Juni 2008

encryption

-> /etc/init.d/boot.crypto start to start the encryption daemon
-> give the passwords
-> dmsetup ls
shows the encrypted devices
-> mount "device" "directory"
mounts the "device" to the "directory"
-> cryptsetup remove "device"
removes the link and after this it can not be mounted again.

by hand procedure

losetup /dev/loop0 soft_08062008 (soft_08062008 is a file)
cryptsetup luksOpen /dev/loop0 softcont (softcont is any name)
mount /dev/mapper/softcont softcontainer (softcontainer is the directory where the data will be mounted)

Attention:
cryptsetup luksFormat /dev/loop0 will format the file
cryptsetup luksClose softcont will detach the mapping

Keine Kommentare: