here is an example of the output doing this manually, when it decides to hang.
after ctrl-c, doing it again it then works. It’s roughly every other time, but not always.
Sometimes it just works over and over again, sometimes it hangs every time.
# cryptsetup open /dev/sdb ztest
^CFailed to open FIDO2 device /dev/hidraw1: FIDO_ERR_RX
Token returned error during pre-flight: Input/output error
After this the unlocking will then work, no matter how many times i open and close.
After next reboot (or the next next reboot, since it’s roughly after every other reboot), it will then fail.
Same thing in f40, didn’t note the kernel version.
makes no difference if the LUKS volume is a zfs zvol, or a separate block device
tried disabling selinux, makes no difference.
the existence of additional udev rules in /etc/udev/rules.d makes no difference
I’ve done hundreds of reboots, spent countless hours on this, i can’t find the cause, as of now, fedora kernel bug seems most likely.