Re: problem with aes-256 after software upgrade

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





--On Freitag, August 27, 2004 19:02:36 +0300 Jari Ruusu <jariruusu@xxxxxxxxxxxxxxxxxxxxx> wrote:

| Jari Ruusu wrote:
| > lists@xxxxxxxxxxxxxx wrote:
| > > again - it used to work! my kenrnel has loop-aes support. but any
| > > way, what do you suggest ? get a new 2.6.8 kernel and patch it with
| > > the patche from the loop-AES-v2.1c source ? did i get you right ??
| >
| > Simply recompile your current 2.6.6 (or whatever) using
| > CONFIG_BLK_DEV_LOOP=n in kernel config and build new loop.ko module. See
| > section 3 of loop-AES' README file for more instructions.
|
| Or, maybe loop module just fails to load automatically. Can you try first
| loading the module to kernel using modprobe:
|
|     modprobe loop
|     losetup -e AES256 .....whatever

jari, i've done this "a few" time bevor - i think, i know how to handle it - but now i've a real problem :( ... my testscript looks like this:


modprobe cryptoloop 2>&1 >/dev/null modprobe aes 2>&1 >/dev/null

losetup -d /dev/loop0
echo $PW | $GPG | /sbin/losetup -e aes-256 -p 0 /dev/loop0 /cf/xcf0
mount -t ext2 /dev/loop0 /cf/mnt/cf0

losetup -d /dev/loop0
echo $PW | $GPG | /sbin/losetup.x -e aes-256 -p 0 /dev/loop0 /cf/xcf0
mount -t ext2 /dev/loop0 /cf/mnt/cf0

losetup -d /dev/loop0
echo $PW | $GPG | /sbin/losetup.old -e aes-256 -p 0 /dev/loop0 /cf/xcf0
mount -t ext2 /dev/loop0 /cf/mnt/cf0

losetup -d /dev/loop0
echo $PW | $GPG | /sbin/losetup.orig -e aes-256 -p 0 /dev/loop0 /cf/xcf0
mount -t ext2 /dev/loop0 /cf/mnt/cf0


yust to test all available (4) versions of losetup - in this case with "aes-256" - in an easy to handle maner ... i've tested this wiht AES256 too. and each and every time the mount fails :((


cheers
matthias


--


Matthias Henze matthias@xxxxxxxxxxxxxx

Use PGP!! http://www.mhcsoftware.de/MatthiasHenze.asc
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
MHC SoftWare GmbH          voice: +49-(0)9533-92006-0
Fichtera 17                  fax: +49-(0)9533-92006-6
96274 Itzgrund/Germany    e-Mail: info@xxxxxxxxxxxxxx
- - - - - - - - - - - - - - - - - - - - - - - - - - - -

Attachment: pgprRldzP5vDm.pgp
Description: PGP signature


[Index of Archives]     [Kernel]     [Linux Crypto]     [Gnu Crypto]     [Gnu Classpath]     [Netfilter]     [Bugtraq]
  Powered by Linux