Package: cryptsetup
Version: 2:1.0.2+1.0.3-rc3-1
Severity: important

I want to report on an incompatibility in cryptsetup which prevents me
from using the current version. This is possibly related to bug #364529,
but I cannot tell for sure.

I use cryptsetup to create an encrypted mapping with the following
command line

 cryptsetup -c aes-cbc-plain -s 256 create 'root' '/dev/hda1' <key

key is a file containing 64 hex digits (i.e. 256 bits) and a \n.

The old version of cryptsetup, which worked, built the mapping just as
if I had entered the key by hand. The new version seems to process the
key somewhat differently so that the data is not properly decrypted -- I
cannot mount the filesystem.

Unfortunately, I cannot say what the 'old' version of cryptsetup is. I
still have the binary, but it doesn't support the --version option. It
is a version that was in unstable around Nov 25 2005.

I already tried to make it work by:
 - using "-d key" on the command line and
 - removing the trailing newline in the key file
but this didn't help. 
Typing in the key on the command line still works.

Walter


-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16.11
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15) (ignored: 
LC_ALL set to [EMAIL PROTECTED])

Versions of packages cryptsetup depends on:
ii  dmsetup       2:1.02.03-1                The Linux Kernel Device Mapper use
ii  libc6         2.3.6-7                    GNU C Library: Shared libraries
ii  libdevmapper1 2:1.02.03-1                The Linux Kernel Device Mapper use
ii  libgcrypt11   1.2.2-1                    LGPL Crypto library - runtime libr
ii  libgpg-error0 1.2-1                      library for common error values an
ii  libpopt0      1.7-5                      lib for parsing cmdline parameters
ii  libuuid1      1.38+1.39-WIP-2006.04.09-1 universally unique id library

cryptsetup recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to