What: /sys/class/tpm/tpmX/device/ Date: April 2005
KernelVersion: 2.6.12
Contact: linux-integrity@vger.kernel.org
Description: The device/ directory under a specific TPM instance exposes
the properties of that TPM chip
What: /sys/class/tpm/tpmX/device/active Date: April 2006
KernelVersion: 2.6.17
Contact: linux-integrity@vger.kernel.org
Description: The "active" property prints a '1'if the TPM chip is accepting
commands. An inactive TPM chip still containsall the state of
an active chip (Storage Root Key, NVRAM, etc), and can be
visible to the OS, but will only accept a restricted setof
commands. See the TPM Main Specification part 2, Structures, section17for more information on which commands are
available.
What: /sys/class/tpm/tpmX/device/cancel Date: June 2005
KernelVersion: 2.6.13
Contact: linux-integrity@vger.kernel.org
Description: The "cancel" property allows you tocancel the currently
pending TPM command. Writing anyvaluetocancel will call the
TPM vendor specific cancel operation.
What: /sys/class/tpm/tpmX/device/caps Date: April 2005
KernelVersion: 2.6.12
Contact: linux-integrity@vger.kernel.org
Description: The "caps" property contains TPM manufacturer and version info.
Manufacturer is a hex dump of the 4 byte manufacturer info spacein a TPM. TCG version shows the TCG TPM spec level that
the chip supports. Firmware version is that of the chip and is manufacturer specific.
What: /sys/class/tpm/tpmX/device/durations Date: March 2011
KernelVersion: 3.1
Contact: linux-integrity@vger.kernel.org
Description: The "durations" property shows the 3 vendor-specific values
used to wait for a short, medium and long TPM command. All
TPM commands are categorized as short, medium or long in
execution time, so that the driver doesn't have to wait any longer than necessary before starting to poll for a
result.
Example output::
30150004508000180995000 [original]
Here the short, medium and long durations are displayed in
usecs. "[original]" indicates that the values are displayed
unmodified fromwhen they were queried from the chip.
Durations can be modified in the case where a buggy chip
reports them in msec instead of usec and they need to be
scaled to be displayed in usecs. In this case "[adjusted]"
will be displayed in place of"[original]".
What: /sys/class/tpm/tpmX/device/enabled Date: April 2006
KernelVersion: 2.6.17
Contact: linux-integrity@vger.kernel.org
Description: The "enabled" property prints a '1'if the TPM chip is enabled,
meaning that it should be visible to the OS. This property
may be visible but produce a '0'after some operation that
disables the TPM.
What: /sys/class/tpm/tpmX/device/owned Date: April 2006
KernelVersion: 2.6.17
Contact: linux-integrity@vger.kernel.org
Description: The "owned" property produces a '1'if the TPM_TakeOwnership
ordinal has been executed successfully in the chip. A '0'
indicates that ownership hasn't been taken.
What: /sys/class/tpm/tpmX/device/pcrs Date: April 2005
KernelVersion: 2.6.12
Contact: linux-integrity@vger.kernel.org
Description: The "pcrs" property will dump the current valueofall Platform Configuration Registers in the TPM. Note that since these
values may be constantly changing, the outputis only valid for a snapshot intime.
Example output::
PCR-00: 3A 3F 780F 11 A4 B4 9969 FC AA 80 CD 6E 3957 C3 3B 2275
PCR-01: 3A 3F 780F 11 A4 B4 9969 FC AA 80 CD 6E 3957 C3 3B 2275
PCR-02: 3A 3F 780F 11 A4 B4 9969 FC AA 80 CD 6E 3957 C3 3B 2275
PCR-03: 3A 3F 780F 11 A4 B4 9969 FC AA 80 CD 6E 3957 C3 3B 2275
PCR-04: 3A 3F 780F 11 A4 B4 9969 FC AA 80 CD 6E 3957 C3 3B 2275
...
The number of PCRs and hex bytes needed to represent a PCR value will vary dependingon TPM chip version. For TPM 1.1and 1.2 chips, PCRs represent SHA-1 hashes, which are20 bytes
long. Use the "caps" property to determine TPM version.
What: /sys/class/tpm/tpmX/device/pubek Date: April 2005
KernelVersion: 2.6.12
Contact: linux-integrity@vger.kernel.org
Description: The "pubek" property will return the TPM's public endorsement keyif possible. If the TPM has had ownership established and is version 1.2, the pubek will not be available without the
owner's authorization. Since the TPM driver doesn't store any
secrets, it can't authorize its own request for the pubek,
making it unaccessible. The public endorsement keyis gener-
ated at TPM manufacture timeand exists for the life of the
chip.
Example output::
Algorithm: 00000001
Encscheme: 0003
Sigscheme: 0001
Parameters: 000008000000000200000000
Modulus length: 256
Modulus:
B4 764182 C9 202C 101840 BC 8B E5 444C 6C 3A B2 920C A4 9B 2A 83 EB 5C 12850448 A0 B6 1E E4 8184 CE B2 F2 451C F0 859961024D EB 86 C4 F7 F3 296052936B B2 E5 AB 8B A9 09 E3
D7 0E 7D CA 41 BF 430765863C 8C 137A D0 8B 825E 960B F8 1F 5F 3406 DA A2 52 C1 A9 D5 26 0F F4 044B D9 3F 2D F2 AC 2F 74641F 8B CD 3E 1E 30386C 706369 AB E2 50 DF 49052E E1 8D 6F 7844 DA 574369 EE 766C 388A E9 8E A3 F0
A7 1F 3C A8 D0 12153E CA 0E BD FA 24 CD 33 C6 47 AE A4 18838E 2239759386 E6 FD6648 B6 10 AD 941465 F9 6A 1778 BD 16538430 BF 70
E0 DC 65FD3C C6 B0 1E BF B9 C1 B5 6C EF B1 3A
F8 280583622611 DC B4 6B 5A 97 FF 3226 B6
F7 0271 CF 15 AE 16 DD D1 C1 8E A8 CF 9B 507B
C3 91 FF 441E CF 7C 39 FE 17772120 BD CE 9B
Possible values::
Algorithm: TPM_ALG_RSA (1)
Encscheme: TPM_ES_RSAESPKCSv15 (2)
TPM_ES_RSAESOAEP_SHA1_MGF1 (3)
Sigscheme: TPM_SS_NONE (1)
Parameters, a byte stringof3 u32 values: KeyLength (bits): 00000800 (2048)
Num primes: 00000002 (2)
Exponent Size: 00000000 (0 means the
default exp)
Modulus Length: 256 (bytes)
Modulus: The 256 byte Endorsement Key modulus
What: /sys/class/tpm/tpmX/device/temp_deactivated Date: April 2006
KernelVersion: 2.6.17
Contact: linux-integrity@vger.kernel.org
Description: The "temp_deactivated" property returns a '1'if the chip has
been temporarily deactivated, usually until the next power
cycle. Whether a warm boot (reboot) will clear a TPM chip from a temp_deactivated state is platform specific.
What: /sys/class/tpm/tpmX/device/timeouts Date: March 2011
KernelVersion: 3.1
Contact: linux-integrity@vger.kernel.org
Description: The "timeouts" property shows the 4 vendor-specific values for the TPM's interface spec timeouts. The use of these
timeouts is defined by the TPM interface spec that the chip
conforms to.
Example output::
750000750000750000750000 [original]
The four timeout values are shown in usecs, with a trailing "[original]"or"[adjusted]"dependingon whether the values
were scaled by the driver to be reported in usec from msecs.
What: /sys/class/tpm/tpmX/tpm_version_major Date: October 2019
KernelVersion: 5.5
Contact: linux-integrity@vger.kernel.org
Description: The "tpm_version_major" property shows the TCG spec major version
implemented by the TPM device.
Example output::
2
What: /sys/class/tpm/tpmX/pcr-<H>/<N> Date: March 2021
KernelVersion: 5.12
Contact: linux-integrity@vger.kernel.org
Description: produces outputin compact hex representation for PCR
number N from hash bank H. N is the numericvalueof
the PCR number and H is the crypto string
representation of the hash
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.