Based on good test results with partman-crypto (comment #19)
now moving on with ubiquity (to include the updated sources).
Tests with the patched packaged built from a PPA are positive.
The results are identical to the reported for partman-crypto
(LUKS2/LUKS1 by default/as requested; installed system boots.)
Testing ubiquity from PPA:
-------------------------
Booted the Ubuntu 20.04.1 Desktop ISO.
Launch terminal:
Based on good test results with partman-crypto (comment #19)
now moving on with ubiquity (to include the updated sources).
Tests with the patched packaged built from a PPA are positive.
The results are identical to the reported for partman-crypto
(LUKS2/LUKS1 by default/as requested; installed system boots.)
Testing ubiquity from PPA: ------- ------- ----
-------
Booted the Ubuntu 20.04.1 Desktop ISO.
Launch terminal:
$ sudo add-apt-repository ppa:mfo/ lp1898129prop2
$ sudo apt install -y ubiquity
$ dpkg -s ubiquity | grep Version:
Version: 20.04.15.3
$ grep luksopts /lib/partman/ lib/crypto- base.sh
local mapping device cipher iv size pass luksopts
luksopts="$RET"
log "Additional options for luksFormat: '$luksopts'"
log-output -t partman-crypto /sbin/cryptsetup -c $cipher-$iv -h $hash -s $size $luksopts luksFormat $device $pass
Without the option:
$ sudo debconf-get partman- crypto/ luksformat_ options
$
$ lsblk --ascii | grep -B1 crypt
`-vda6 252:6 0 8.8G 0 part
`-vda6_crypt 253:0 0 8.8G 0 crypt
$ sudo cryptsetup luksDump /dev/vda6 | head -n2
LUKS header information
Version: 2
With the option:
$ sudo debconf-get partman- crypto/ luksformat_ options
--type luks1
$ lsblk --ascii | grep -B1 crypt
`-vda6 252:6 0 8.8G 0 part
`-vda6_crypt 253:0 0 8.8G 0 crypt
$ sudo cryptsetup luksDump /dev/vda6 | head -n3
LUKS header information for /dev/vda6
Version: 1