ujust setup-luks-tpm-unlock fails to find LUKS devices
I am unable to setup TPM unlock using
ujust setup-luks-tpm-unlockujust setup-luks-tpm-unlockaikoh@bazzite:~$ ujust setup-luks-tpm-unlock
WARNING: Do NOT use this if your CPU is vulnerable to faulTPM!
All AMD Zen2 and Zen3 Processors are known to be affected!
All AMD Zen1 processors are also likely affected, with Zen4 unknown!
If you have an AMD CPU, you likely shouldn't use this!
----------------------------------------------------------------------------
This script uses systemd-cryptenroll to enable TPM2 auto-unlock.
You can review systemd-cryptenroll's manpage for more information.
This script will modify your system.
It will enable TPM2 auto-unlock of your LUKS partition for your root device!
It will bind to PCR 7 and 14 which is tied to your secureboot and moklist state.
Are you sure are good with this and want to enable TPM2 auto-unlock? (y/N): y
Would you like to set a PIN? (y/N): N
LUKS device not listed in block devices.
Exiting...
error: Recipe `setup-luks-tpm-unlock` failed with exit code 1
aikoh@bazzite:~$ lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
zram0 251:0 0 4G 0 disk [SWAP]
nvme0n1 259:0 0 1.8T 0 disk
├─nvme0n1p1 259:1 0 600M 0 part /boot/efi
├─nvme0n1p2 259:2 0 1G 0 part /boot
└─nvme0n1p3 259:3 0 1.8T 0 part
└─luks-0d8db63c-7023-4cb6-b6d7-5f881dec954a 252:1 0 1.8T 0 crypt /var/home
nvme1n1 259:4 0 1.8T 0 disk
└─nvme1n1p1 259:5 0 1.8T 0 part
└─luks-578c7011-e3eb-4cd1-a5ac-1da86082ba18 252:0 0 1.8T 0 cryptaikoh@bazzite:~$ ujust setup-luks-tpm-unlock
WARNING: Do NOT use this if your CPU is vulnerable to faulTPM!
All AMD Zen2 and Zen3 Processors are known to be affected!
All AMD Zen1 processors are also likely affected, with Zen4 unknown!
If you have an AMD CPU, you likely shouldn't use this!
----------------------------------------------------------------------------
This script uses systemd-cryptenroll to enable TPM2 auto-unlock.
You can review systemd-cryptenroll's manpage for more information.
This script will modify your system.
It will enable TPM2 auto-unlock of your LUKS partition for your root device!
It will bind to PCR 7 and 14 which is tied to your secureboot and moklist state.
Are you sure are good with this and want to enable TPM2 auto-unlock? (y/N): y
Would you like to set a PIN? (y/N): N
LUKS device not listed in block devices.
Exiting...
error: Recipe `setup-luks-tpm-unlock` failed with exit code 1
aikoh@bazzite:~$ lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
zram0 251:0 0 4G 0 disk [SWAP]
nvme0n1 259:0 0 1.8T 0 disk
├─nvme0n1p1 259:1 0 600M 0 part /boot/efi
├─nvme0n1p2 259:2 0 1G 0 part /boot
└─nvme0n1p3 259:3 0 1.8T 0 part
└─luks-0d8db63c-7023-4cb6-b6d7-5f881dec954a 252:1 0 1.8T 0 crypt /var/home
nvme1n1 259:4 0 1.8T 0 disk
└─nvme1n1p1 259:5 0 1.8T 0 part
└─luks-578c7011-e3eb-4cd1-a5ac-1da86082ba18 252:0 0 1.8T 0 crypt