Debian Bug report logs -
#971599
Provide more options to 'cryptsetup luksFormat' at install time
Reply or subscribe to this bug.
Toggle useless messages
Report forwarded
to debian-bugs-dist@lists.debian.org, Debian Install System Team <debian-boot@lists.debian.org>:
Bug#971599; Package partman-crypto.
(Fri, 02 Oct 2020 15:33:03 GMT) (full text, mbox, link).
Acknowledgement sent
to Mauricio Oliveira <mauricio.oliveira@canonical.com>:
New Bug report received and forwarded. Copy sent to Debian Install System Team <debian-boot@lists.debian.org>.
(Fri, 02 Oct 2020 15:33:03 GMT) (full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
Package: partman-crypto
Version: 109
Severity: wishlist
Tags: patch
Most users should be fine with the options to
'cryptsetup luksFormat' used by the installer.
However, some users may have reasons to use
other options, and that is not possible now.
Let's provide a new preseed option for that:
'partman-crypto/luksformat_options'
cheers,
Mauricio
...
Test steps on Debian bullseye ISO (alpha 2, march 16)
===
Example to use LUKS1 instead of LUKS2 (default):
Steps:
1) Proceed until partitioning disks, then select go back, and exit to shell.
2) Install test package:
~ # wget 192.168.122.1:8000/partman-crypto_110_amd64.udeb
~ # udpkg -i partman-crypto_110_amd64.udeb
~ # exit
3) Set debconf priority to low.
4) Return to partitioning disks.
5) Select guided partitioning, use encrypted disk and setup LVM,
finish partitioning.
6) Exit to shell again to verify LUKS header version.
Results:
1) Default / option is not specified:
~ # debconf-get partman-crypto/luksformat_options
~ # cryptsetup luksDump /dev/vda5 | grep Version:
Version: 2
2) New / option is specified in preseed file:
"""
d-i partman-crypto/luksformat_options string \
--type luks1
"""
~ # debconf-get partman-crypto/luksformat_options
--type luks1
~ # cryptsetup luksDump /dev/vda5 | grep Version:
Version: 1
$ grep luksFormat /var/log/partman
/usr/bin/autopartition-crypto: Additional options for luksFormat: '--type luks1'
Reference: LP#1898129
--
Mauricio Faria de Oliveira
[partman-crypto_luksformat_options.debdiff (application/octet-stream, attachment)]
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Thu Aug 8 02:44:58 2024;
Machine Name:
buxtehude
Debian Bug tracking system
Debbugs is free software and licensed under the terms of the GNU
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.