random-archer / mkinitcpio-systemd-tool

Provisioning tool for systemd in initramfs (systemd-tool)
https://www.archlinux.org/packages/community/any/mkinitcpio-systemd-tool/
Other
114 stars 28 forks source link

tpm2-tss libraries are not installed to the initrd. They are required for TPM unlock. #98

Open Trumeet opened 2 years ago

Trumeet commented 2 years ago

The hook sd-encrypt from cryptsetup will automatically copy tpm2-tss libraries to the initrd image [1], which is required by systemd to unlock LUKS partitions using TPM [2]. mkinitcpio-systemd-tool currently does not copy these libraries, so the unlock process will fail with TPM2 support is not installed. Could you include the related libraries in the hook? Thank you.

gadgethm commented 2 years ago

Would also like to see this functionality added!