Re: loop-AES-v3.0b: make tests error

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

 



On Mon, 21 Feb 2005 22:24:03 +0100, Mike Dornberger
<Mike.Dornberger@xxxxxx> wrote:

Hi Mike, 

> if I understand this right, you have just made a Debian package of
> loop-aes-{modules,utils} and run the test before installing the new packages?
> The test uses an older, patched (?) version of losetup and/or loop-aes
> module. That might be the reason, why it fails.

   Thanks for you reply. Sorry If I was not very clear, I'll try
explain better now:

      1) I've got the last-kernel-stable 2.6.10, configured it as
described in the README: (from my .config) and rebooted with it
       CONFIG_MODULES=y
       # CONFIG_BLK_DEV_LOOP is not set
       CONFIG_KMOD=y
        # CONFIG_BLK_DEV_LOOP is not set

       2) I've got the mount/losetup aes-patched version by
bash$ apt-get install loop-aes-utils      

       3) I've downloaded the  loop-aes and installed it:
bash$ wget -c "http://loop-aes.sourceforge.net/loop-AES/loop-AES-v3.0b.tar.bz2";
bash# tar xjvf loop-AES-v3.0b.tar.bz2; cd loop-AES-v3.0b; make clean;
make [as root user]

       4) I've tested it
bash# make tests [as root user]
.. as so got that error (with some more lines now):

[...]
make[1]: Leaving directory `/usr/src/loop-aes/loop-AES-v3.0b'
make test-part2 CT=AES128 ITER=0 HF=sha256 GK="-K gpgkey3.asc -G
test-dir1" MD=fabe7422f534820838dfd4571ba14ade TF=test-file1
PSW=12345678901234567890
make[1]: Entering directory `/usr/src/loop-aes/loop-AES-v3.0b'
echo 12345678901234567890 | /sbin/losetup -p 0 -e AES128 -H sha256 -C
0 -K gpgkey3.asc -G test-dir1 /dev/loop7 test-file1
dd if=test-file3 of=/dev/loop7 bs=1024 count=33 conv=notrunc
33+0 registros de entrada
33+0 registros de saída
33792 bytes transferred in 0,009038 seconds (3738900 bytes/sec)
/sbin/losetup -d /dev/loop7
echo 12345678901234567890 | /sbin/losetup -p 0 -e AES128 -H sha256 -C
0 -K gpgkey3.asc -G test-dir1 /dev/loop7 test-file1
dd if=/dev/loop7 of=test-file4 bs=33792 count=1
1+0 registros de entrada
1+0 registros de saída
33792 bytes transferred in 0,007791 seconds (4337247 bytes/sec)
/sbin/losetup -d /dev/loop7
md5sum test-file1 >test-file2
echo "fabe7422f534820838dfd4571ba14ade  test-file1" | cmp test-file2 -
test-file2 - differ: byte 1, line 1
make[1]: ** [test-part2] Erro 1
make[1]: Leaving directory `/usr/src/loop-aes/loop-AES-v3.0b'
make: ** [tests] Erro 2
gnu:/usr/src/loop-aes/loop-AES-v3.0b#

   I don't know what can being happened. So, I've did all in this
order (as you asked).

> BTW: Is loop-aes prepared to be torn into a deb upstream? (Jari?) If not,
> I'd be interested, where you got it from, Rodrigo

    I'm getting the loop-aes-utils from the testing version, as show:
baroni@gnu:~$ apt-show-versions loop-aes-utils 
loop-aes-utils/testing uptodate 2.12a-3
baroni@gnu:~$

  From the oficial mirror, as show:
baroni@gnu:~$ LC_ALL=C apt-cache policy loop-aes-utils 
loop-aes-utils:
  Installed: 2.12a-3
  Candidate: 2.12a-3
  Version Table:
     2.12p-2 0
        800 http://ftp.br.debian.org unstable/main Packages
        800 http://ddtp.debian.org pt_BR/sid/main Packages
 *** 2.12a-3 0
        900 http://ftp.br.debian.org testing/main Packages
        100 /var/lib/dpkg/status
baroni@gnu:~$

 And the info about this package:

baroni@gnu:~$ apt-cache show loop-aes-utils 
Package: loop-aes-utils
Priority: optional
Section: admin
Installed-Size: 240
Maintainer: Max Vozeler <max@xxxxxxxxxxxxx>
Architecture: i386
Version: 2.12p-2
Depends: libblkid1, libc6 (>= 2.3.2.ds1-4), libuuid1, mount (>= 2.12p-1)
Filename: pool/main/l/loop-aes-utils/loop-aes-utils_2.12p-2_i386.deb
Size: 119858
MD5sum: 5e245c84fb65f8aa1d4ec8157b137677
Description: Tools for mounting and manipulating filesystems
 This package provides the mount(8), umount(8), swapon(8),
 swapoff(8), and losetup(8) commands with support for loop-AES
 loopback encryption.
 .
 Purpose of this package is to provide users of loop-AES with
 extended mount support that is not available with the crypto
 patch in the 'mount' package.
 .
 On installation, this package diverts files from the mount
 package and installs versions with loop-AES support in their
 places. The diversions get removed on removal of the package.
 .
 This package is based on loop-AES 3.0a, util-linux 2.12p-2.

Package: loop-aes-utils
Priority: optional
Section: admin
Installed-Size: 240
Maintainer: Max Vozeler <max@xxxxxxxxxxxxx>
Architecture: i386
Version: 2.12a-3
Depends: libc6 (>= 2.3.2.ds1-4)
Filename: pool/main/l/loop-aes-utils/loop-aes-utils_2.12a-3_i386.deb
Size: 116154
MD5sum: cbc34545664077c47b47adfa6da10427
Description: Tools for mounting and manipulating encrypted filesystems
 This package provides the mount(8), umount(8), swapon(8),
 swapoff(8), and losetup(8) commands from util-linux. They are
 patched to support the loop-AES encrypted loopback kernel driver.
baroni@gnu:~$
       
      Any ideas about what can being happenig?  In time, does the key
scrubbing feature offers some overhead that slow down the
encription/decription time?

  Thanks in advance,
Rodrigo Ferreira Baroni

-
Linux-crypto:  cryptography in and on the Linux system
Archive:       http://mail.nl.linux.org/linux-crypto/



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