mirror of
https://git.proxmox.com/git/fwupd
synced 2025-05-09 15:53:00 +00:00
![]() The best way of not getting something wrong is to not require it in the first place... All plugins now use DeviceInstanceId-style quirk matches and we can just drop the prefix in all files. We were treating HwId=, Guid= and DeviceInstanceId= in exactly the same way -- they're just converted to GUIDs when building the silo! |
||
---|---|---|
.. | ||
fu-plugin-tpm.c | ||
fu-tpm-device.c | ||
fu-tpm-device.h | ||
meson.build | ||
README.md | ||
tpm.quirk |
TPM Support
Introduction
This allows enumerating Trusted Platform Modules, also known as "TPM" devices, although it does not allow the user to update the firmware on them.
GUID Generation
These devices use custom GUIDs:
TPM\VEN_$(manufacturer)&DEV_$(type)
TPM\VEN_$(manufacturer)&MOD_$(vendor-string)
TPM\VEN_$(manufacturer)&DEV_$(type)_VER_$(family)
,TPM\VEN_$(manufacturer)&MOD_$(vendor-string)_VER_$(family)
...where family
is either 2.0
or 1.2
Example GUIDs from a real system containing a TPM from Intel:
Guid: 34801700-3a50-5b05-820c-fe14580e4c2d <- TPM\VEN_INTC&DEV_0000
Guid: 03f304f4-223e-54f4-b2c1-c3cf3b5817c6 <- TPM\VEN_INTC&DEV_0000&VER_2.0
Vendor ID Security
The device is not upgradable and thus requires no vendor ID set.
External interface access
This plugin uses the tpm2-tss library to access the TPM. It requires access to /sys/class/tpm
.