-
Notifications
You must be signed in to change notification settings - Fork 97
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
ZFSBootMenu build source
Release EFI
ZFSBootMenu version
3.0.1
Boot environment distribution
Debian Trixie
Problem description
Unattended booting prompts for the passphrase when the keysource & keylocation file are set, but if you press esc to open main menu and immediately select the default boot environment it is able to find the keylocation via keysource, unlock it, and boot without prompting.
Unattended booting should be able to find and unlock the boot environment without manual intervention
Steps to reproduce
- Boot and either press enter to boot the default environment (or let the timer run out)
- Prompts for a keyphrase
Hopefully relevant setup and properties:
$ zfs list
NAME USED AVAIL REFER MOUNTPOINT
zroot 1.26G 53.7T 312K none
zroot/ROOT 1.25G 53.7T 312K none
zroot/ROOT/debian 1.25G 53.7T 1.19G /
zroot/keystore 170K 53.7T 170K /etc/zfs/keys
$ zpool get all zroot | egrep '(bootfs)'
zroot bootfs zroot/ROOT/debian local
zfs get all zroot | egrep '(encryption|keylocation|keyformat|keysource)'
zroot encryption aes-256-gcm -
zroot keylocation file:///etc/zfs/keys/zroot.key local
zroot keyformat passphrase -
zroot encryptionroot zroot -
zroot org.zfsbootmenu:keysource zroot/keystore local
$ zfs get all zroot/ROOT/debian | egrep '(encryption|keylocation|keyformat|keysource)'
zroot/ROOT/debian encryption aes-256-gcm -
zroot/ROOT/debian keylocation none default
zroot/ROOT/debian keyformat passphrase -
zroot/ROOT/debian encryptionroot zroot -
zroot/ROOT/debian org.zfsbootmenu:keysource zroot/keystore local
$ zfs get all zroot/keystore | egrep '(encryption|keylocation|keyformat|keysource)'
zroot/keystore encryption off default
zroot/keystore keylocation none default
zroot/keystore keyformat none default
zroot/keystore org.zfsbootmenu:keysource zroot/keystore inherited from zroot
The debian trixie boot environment has copy of the key and it is included in it's initramfs
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working