Am Mo, den 08.11.2004 schrieb pouet pouet um 10:57: > I wonder how to use encryption with FC2. > crypto-api seems to be included and it is possible to mount a loop device > with an encryption filter with (losetup -e )but there is no real how-to. Did you google? > How-to choose key length ? > What kind of algoryhtm is available ... ls /lib/modules/$(uname -r)/kernel/crypto/ Has all available kernel cryptomodules. > How-to use encrypt and mount a partition ??? modprobe cyrptoloop modprobe twofish (as example) dd if=/dev/urandom of=$HOME/cryptedfile bs=1M count=96 losetup -e twofish /dev/loop0 $HOME/cryptedfile mkfs -t ext2 -m0 /dev/loop0 losetup -d /dev/loop0 chown user:user $HOME/cryptedfile example fstab entry: /home/user/cryptedfile /home/user/cryptedmount ext2 defaults,noauto,loop,encryption=twofish,user 0 0 To mount the encrypted space of 96MB create first the mountpoint "mkdir /home/user/cryptedmount" and then run "mount /home/user/cryptedmount". Alexander -- Alexander Dalloz | Enger, Germany | new address - new key: 0xB366A773 legal statement: http://www.uni-x.org/legal.html Fedora GNU/Linux Core 2 (Tettnang) on Athlon kernel 2.6.8-1.521smp Serendipity 17:37:53 up 19 days, 15:17, load average: 0.08, 0.04, 0.07
Attachment:
signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil