#621788 Please support encryption without separate /boot, with encryption support in current GRUB2 #621788
- Package:
- partman-crypto
- Source:
- partman-crypto
- Submitter:
- Josh Triplett
- Date:
- 2024-05-07 09:54:02 UTC
- Severity:
- wishlist
Current GRUB2 supports directly reading encrypted partitions via dm-crypt and LUKS. This allows setting up an encrypted disk without a separate unencrypted /boot partition. Please consider supporting this configuration in debian-installer. (Note that at the moment such a setup requires entering the passphrase twice: once for GRUB and once for Linux. I've seen some discussion about passing the passphrase from GRUB to Linux, but such support doesn't exist yet.) Thanks, Josh Triplett
Encryption without separate /boot becomes even more attractive when using the kernel's EFI stub to boot, directly off the EFI partition. In that scenario, the passphrase needs to be entered only once. Florian
Grub currently doesn't support LUKS2 very well. For example, PBKDF2 has to be used instead of Argon2 for key derivation. The Debian Installer currently doesn't allow changing this. Even worse, I haven't had any success at creating a LUKS2 volume that grub-efi-amd64-signed recognizes. Additionally, partman doesn't recognize LUKS1 partitions well and cannot create any either. This makes it much harder to install Debian on a LUKS1 volume. Please add support for this scenario, as the additional unencrypted /boot partition is unnecessary on UEFI systems and increases the attack surface of encrypted disks.