hydronic
15.01.04, 19:01
hi,
ich habe vor mir eine Festplatte mittels loop-aes zu verschlüsseln. Util-linux habe ich runtergeladen und so gepatched/installiert:
zcat util-linux-2.12.tar.gz | tar xvf -
cd util-linux-2.12
patch -p1 <../util-linux-2.12.diff
CFLAGS=-O2 ./configure
make SUBDIRS="lib mount"
cd mount
install -m 4755 -o root mount umount /bin
install -m 755 losetup swapon /sbin
rm -f /sbin/swapoff && ( cd /sbin && ln -s swapon swapoff )
rm -f /usr/share/man/man8/{mount,umount,losetup,swapon,swapoff}.8.gz
install -m 644 mount.8 umount.8 losetup.8 /usr/share/man/man8
install -m 644 swapon.8 swapoff.8 /usr/share/man/man8
rm -f /usr/share/man/man5/fstab.5.gz
install -m 644 fstab.5 /usr/share/man/man5
mandb
dannach habe ich das loop-aes Kernelmodul kompiliert. Bis hierhin gab es keinerlei Fehler. Wenn ich aber nun make tests ausführe, kommt folgendes:
root@thunderdome:/home/blind/loop-AES-v2.0d# make tests
dd if=/dev/zero of=test-file1 bs=1024 count=33
33+0 Records ein
33+0 Records aus
cp test-file1 test-file3
echo 09876543210987654321 | /sbin/losetup -p 0 -e AES128 /dev/loop7 test-file3
ioctl: LOOP_SET_STATUS: Das Argument ist ungültig, requested cipher or key length (128 bits) not supported by kernel
make: *** [tests] Fehler 1
Weiss jemand warum das nicht funktioniert?
vielen Dank,
Alex
ps: Falls ich das falsche Forum gewählt habe, tut mir das leid. Ich wusste nicht so recht wo ich es eintragen soll.
ich habe vor mir eine Festplatte mittels loop-aes zu verschlüsseln. Util-linux habe ich runtergeladen und so gepatched/installiert:
zcat util-linux-2.12.tar.gz | tar xvf -
cd util-linux-2.12
patch -p1 <../util-linux-2.12.diff
CFLAGS=-O2 ./configure
make SUBDIRS="lib mount"
cd mount
install -m 4755 -o root mount umount /bin
install -m 755 losetup swapon /sbin
rm -f /sbin/swapoff && ( cd /sbin && ln -s swapon swapoff )
rm -f /usr/share/man/man8/{mount,umount,losetup,swapon,swapoff}.8.gz
install -m 644 mount.8 umount.8 losetup.8 /usr/share/man/man8
install -m 644 swapon.8 swapoff.8 /usr/share/man/man8
rm -f /usr/share/man/man5/fstab.5.gz
install -m 644 fstab.5 /usr/share/man/man5
mandb
dannach habe ich das loop-aes Kernelmodul kompiliert. Bis hierhin gab es keinerlei Fehler. Wenn ich aber nun make tests ausführe, kommt folgendes:
root@thunderdome:/home/blind/loop-AES-v2.0d# make tests
dd if=/dev/zero of=test-file1 bs=1024 count=33
33+0 Records ein
33+0 Records aus
cp test-file1 test-file3
echo 09876543210987654321 | /sbin/losetup -p 0 -e AES128 /dev/loop7 test-file3
ioctl: LOOP_SET_STATUS: Das Argument ist ungültig, requested cipher or key length (128 bits) not supported by kernel
make: *** [tests] Fehler 1
Weiss jemand warum das nicht funktioniert?
vielen Dank,
Alex
ps: Falls ich das falsche Forum gewählt habe, tut mir das leid. Ich wusste nicht so recht wo ich es eintragen soll.