systemd 248 introduced new options for LUKS/crypptab
Unfortunately not all seem to be enabled just yet:
$ sudo systemd-cryptenroll --tpm2-device=auto --tpm2-pcrs=7 /dev/nvmexxxx
🔐 Please enter current passphrase for disk /dev/nvmexxxx
$ echo $?
$ sudo systemd-cryptenroll --tpm2-device=list
TPM2 not supported on this build.
Would it be possible to expose this new functionality to Fedora users?
FEDORA-2021-775e2373a1 has been submitted as an update to Fedora 34. https://bodhi.fedoraproject.org/updates/FEDORA-2021-775e2373a1
FEDORA-2021-775e2373a1 has been pushed to the Fedora 34 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-775e2373a1`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-775e2373a1
See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2021-775e2373a1 has been pushed to the Fedora 34 stable repository.
If problem still persists, please make note of it in this bug report.
*** Bug 1960178 has been marked as a duplicate of this bug. ***