From dd662ddad3d909b63ba71b116fddcc52cf5cb420 Mon Sep 17 00:00:00 2001 From: Boris Glimcher <36732377+glimchb@users.noreply.github.com> Date: Mon, 15 Jul 2024 12:30:32 -0400 Subject: [PATCH] docs: update swtpm unixio example Signed-off-by: Boris Glimcher <36732377+glimchb@users.noreply.github.com> --- doc/swtpm.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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