luksResume hangs reading key slot
Hi, I'm using cryptsetup luksSuspend
and cryptsetup luksResume
on my NixOS Linux system. After locking the device with luksSuspend
I run luksResume
(from within a virtual terminal inside of an ash
shell launched from the initramfs) and it hangs, as if it's blocked on I/O.
I ran it with --verbose and --debug and after entering my passphrase when luksResume
prompts me for it, it displays the "Trying to open keyslot" message and then "Reading keyslot 0 area." messages. That is when the terminal becomes unresponsive, I cannot Ctrl-C.
I'm a bit stuck and could use pointers. Due to the gymnastics and also due to the fact that (I think) no one has got this to work on NixOS, my gut is telling me I might be missing something important here, but it's very hard to tell what, particularly when I can't unlock my system (requiring a hard reset).