-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TPM 2.0 support - when will it happen ? #590
Comments
Thanks for opening the issue @jdall. Could you share what part of the TPM support you rely on? |
Systemd has tooling for TPM 2.0 things, but we don't ship any other userspace tooling on the OS (you would need to use a container for that at the moment) |
@jepio I do not have much knowledge about the nitty gritty details of the TPM 2.0 standard, but I would really like support for whatever parts are necessary for secureboot and full disk encryption (using LUKS and Clevis) |
Thanks for providing the specifics, these are aligned with what we would like to accomplish. |
@jepio Hey there! Is it possible for me to be assigned to this issue? I'd be happy to help out. |
@pothos Once I iron things out on my end, we could ship the userspace tooling on the OS as a sysext? Could this work? |
Some notes that will help setup a testing environment for this issue Emulate TPM2.0:
Add
to QEMU command line in scripts/flatcar_production_qemu.sh |
Tested the following: One can create a LUKS partition (through Ignition or after boot), and optionally enroll a slot with systemd-cryptenroll - I just used a simple passphrase, then write the LUKS UUID and crypttab options (in my case none because I didn't use a TPM) to the
This also works for the rootfs. |
The use of
Edit: Looks like it might work once we have this "bli" module: https://wiki.archlinux.org/title/GRUB#LoaderDevicePartUUID |
The next Alpha will be able to set up a TPM-backed rootfs with clevis or systemd-cryptenroll, and no additional kernel cmdline flags to configure nor having to hardcode a luks uuid. Latest PR that needs to land is flatcar/bootengine#93 for systemd-cryptenroll |
Docs PR: flatcar/flatcar-website#317 |
Both the systemd tooling as well as the |
TPM 2.0 has been here since 2014 and it's getting harder every day to find hardware that includes TPM 1.2
When will support for TPM 2.0 be included in Flatcar ?
Thanks
The text was updated successfully, but these errors were encountered: