From 42fa12e6be91500bba139eb7709901434e92b6f8 Mon Sep 17 00:00:00 2001 From: Boris Glimcher <36732377+glimchb@users.noreply.github.com> Date: Mon, 15 Jul 2024 12:38:27 -0400 Subject: [PATCH] docs: swtpm socket naming issue swtpm.sock.ctrl and swtpm.sock are proper namings Signed-off-by: Boris Glimcher <36732377+glimchb@users.noreply.github.com> --- doc/swtpm.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/swtpm.md b/doc/swtpm.md index 6573bbf..aadf00c 100644 --- a/doc/swtpm.md +++ b/doc/swtpm.md @@ -41,8 +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-cmd.sock \ - --ctrl type=unixio,path=/tpm/emulated_tpm/swtpm-ctrl.sock \ + --server type=unixio,path=/tmp/emulated_tpm/swtpm.sock \ + --ctrl type=unixio,path=/tmp/emulated_tpm/swtpm.sock.ctrl \ --ctrl type=tcp,port=2322 \ --tpmstate dir=/tmp/emulated_tpm \ --log file="swtpm.log" \ @@ -53,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-cmd.sock" +export TPM2TOOLS_TCTI="swtpm:path=/tmp/emulated_tpm/swtpm.sock" ``` ## Testing TPM2