1TCTI-CMD(7) TPM2 Software Stack TCTI-CMD(7)
2
3
4
6 tcti-cmd - TPM2 Sub-process Command TCTI library
7
9 A TPM Command Transmission Interface (TCTI) module for interaction with
10 a sub-process.
11
13 tcti-cmd is a library that abstracts the details of direct communica‐
14 tion with the interface and protocol exposed by a sub-process that can
15 receive and transmit raw TPM2 command and response buffers. The inter‐
16 face exposed by this library is defined in the “TSS System Level API
17 and TPM Command Transmission Interface Specification” specification.
18
20 For example, if you wanted to use the tpm2_send(1) command as the sub-
21 process to send data to and from the TPM, one could do so like this:
22 tpm2_getrandom -T "cmd:tpm2_send -s" --hex 4
23
24 A more useful example would be connecting to a remote machine using ssh
25 and interacting with the remote machine's TPM as if it were local. This
26 uses tpm2_send(1) on a remote machine and uses ssh as the sub-process
27 to create the tunnel to the remote machine. If encrypted sessions are
28 used, the remote machine is blinded to the TPM data and cannot inter‐
29 pose on that traffic.
30 tpm2_getrandom -T "cmd:ssh remotehost tpm2_send" -s --hex 4
31
33 TPM2 Software Project <https://github.com/tpm2-software/tpm2-tss>
34
36 Tss2_Tcti_Device_Init(3), Tss2_Tcti_Socket_Init(3), Tss2_TctiLdr_Ini‐
37 tialize(3), Tss2_TctiLdr_Finalize(3), tcti-device(7), tcti-socket(7),
38 tcti-tabrmd(7), tpm2-abrmd(8)
39
41 This page is part of release 4.0.1 of Open Source implementation of the
42 TCG TPM2 Software Stack (TSS2). A description of the project, informa‐
43 tion about reporting bugs, and the latest version of this page can be
44 found at https://github.com/tpm2-software/tpm2-tss/.
45
46
47
48Intel MAY 2020 TCTI-CMD(7)