[pkg-cryptsetup-devel] Bug#676159: cryptsetup checks LUKS offset incorrectly with detached header

Alex Roper alexr at ugcs.caltech.edu
Tue Jun 5 06:28:47 UTC 2012


Package: cryptsetup
Version: 2:1.4.1-3
Severity: normal
Tags:

When operating with a detached header,
setup.c:crypt_check_data_device_size checks to make sure the detached
header is at least as large as the offset specified in the header. This
is fine for a regular header, but this causes a detached header to fail
unless the header file appears to be at least as large as the offset.

When --header is used, the check should consider the size of the backing
device, not the LUKS header device.

Dear Maintainer,
*** Please consider answering these questions, where appropriate ***

   * What led up to the situation?
   * What exactly did you do (or not do) that was effective (or
     ineffective)?
   * What was the outcome of this action?
   * What outcome did you expect instead?

*** End of the template - remove these lines ***

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing-proposed-updates
  APT policy: (500, 'testing-proposed-updates'), (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages cryptsetup depends on:
ii  debconf [debconf-2.0]  1.5.43
ii  dmsetup                2:1.02.74-3
ii  libc6                  2.13-32
ii  libcryptsetup4         2:1.4.1-3
ii  libpopt0               1.16-5

cryptsetup recommends no packages.

Versions of packages cryptsetup suggests:
ii  busybox                                 1:1.19.3-7
ii  dosfstools                              3.0.12-1
ii  initramfs-tools [linux-initramfs-tool]  0.102
ii  liblocale-gettext-perl                  1.05-7+b1
ii  udev                                    175-3.1

-- debconf information:
  cryptsetup/prerm_active_mappings: true





More information about the pkg-cryptsetup-devel mailing list