I partially followed this
What is /lib/cryptsetup/scripts/passdev actually doing?
/etc/crypttab
2tb UUID=... /dev/disk/by-label/STICK:/logfile luks,nofail,keyscript=/lib/cryptsetup/scripts/passdev,tries=2
I have a stick plugged in formatted ext2, label STICK with the logfile with the passphrase in it. I used the "normal" method before reading the passphrase from my first disk that I am description with keyboard input.
2tb UUID=.. /etc/luks-keys/2tb luks,nofail,tries=1
And yes I did sudo update-initramfs -u -k all && systemctl reboot
endlessly but this just does not work.
I am trying to get this to work to eventually unlock my entire system with just a USB stick pluged in but its not working.
I am in a UEFI system with secure boot disabled if that matters. I have read something about a module on a related topic. Do I need anything special loaded?
Also where is the log for this?