diff --git a/doc/swtpm.md b/doc/swtpm.md index 3ee51b8..6573bbf 100644 --- a/doc/swtpm.md +++ b/doc/swtpm.md @@ -41,7 +41,8 @@ use unix socket to connect to this emulation ```bash mkdir /tmp/emulated_tpm swtpm socket --tpm2 \ - --server type=unixio,path=/tpm/emulated_tpm/swtpm.sock \ + --server type=unixio,path=/tpm/emulated_tpm/swtpm-cmd.sock \ + --ctrl type=unixio,path=/tpm/emulated_tpm/swtpm-ctrl.sock \ --ctrl type=tcp,port=2322 \ --tpmstate dir=/tmp/emulated_tpm \ --log file="swtpm.log" \ @@ -52,7 +53,7 @@ swtpm socket --tpm2 \ Set Transmission Interface (TCTI) swtpm socket, so tpm2-tools use it instead of the default char device interface. ```bash -export TPM2TOOLS_TCTI="swtpm:path=/tpm/emulated_tpm/swtpm.sock" +export TPM2TOOLS_TCTI="swtpm:path=/tpm/emulated_tpm/swtpm-cmd.sock" ``` ## Testing TPM2