Note that this also means that TPM2 support also doesn't work with cryptsetup-enroll (for similar reasons to the FIDO2 support).
The fix in Debian (https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=991129) also fixes TPM2 support. Once Ubuntu 21.10 picks up that change, we should be able to use TPM2 and FIDO2 keys with cryptsetup-enroll.
Note that this also means that TPM2 support also doesn't work with cryptsetup-enroll (for similar reasons to the FIDO2 support).
The fix in Debian (https:/ /bugs.debian. org/cgi- bin/bugreport. cgi?bug= 991129) also fixes TPM2 support. Once Ubuntu 21.10 picks up that change, we should be able to use TPM2 and FIDO2 keys with cryptsetup-enroll.