[pkg-cryptsetup-devel] Bug#1010631: crypttab: Please cope with cipher-spec containing a comma

mtths at nurfuerspam.de mtths at nurfuerspam.de
Thu May 5 19:32:50 BST 2022


Package: cryptsetup
Version: 2:2.4.3-1
Severity: minor

Dear Maintainer,

since cryptsetup accepts a cipher specification like "xchacha12,aes-adiantum"
crypttab should cope with a forth field (= options) like:
cipher=xchacha12,aes-adiantum,size=256,hash=sha256,swap

[Currently the function crypttab_parse_options() in /lib/cryptsetup/functions
interprets every comma [,] as a separator of the different options so that
a comma as part of an option value is misinterpreted.]

-- Package-specific info:

-- System Information:
Debian Release: bookworm/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 5.17.3 (SMP w/4 CPU threads)
Kernel taint flags: TAINT_OOT_MODULE
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages cryptsetup depends on:
ii  cryptsetup-bin         2:2.4.3-1
ii  debconf [debconf-2.0]  1.5.79
ii  dmsetup                2:1.02.175-2.1
ii  libc6                  2.33-7
ii  libcryptsetup12        2:2.4.3-1
ii  libjson-c5             0.16-1
ii  libssh-4               0.9.6-2

cryptsetup recommends no packages.

Versions of packages cryptsetup suggests:
pn  cryptsetup-initramfs    <none>
ii  dosfstools              4.2-1
ii  keyutils                1.6.1-3
ii  liblocale-gettext-perl  1.07-4+b2

-- debconf information:
  cryptsetup/prerm_active_mappings: true



More information about the pkg-cryptsetup-devel mailing list