Skip to content

Commit

Permalink
docs: swtpm socket naming issue
Browse files Browse the repository at this point in the history
swtpm.sock.ctrl and swtpm.sock are proper namings

Signed-off-by: Boris Glimcher <36732377+glimchb@users.noreply.github.com>
  • Loading branch information
glimchb authored Jul 15, 2024
1 parent dd662dd commit 42fa12e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions doc/swtpm.md
Original file line number Diff line number Diff line change
Expand Up @@ -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" \
Expand All @@ -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
Expand Down

0 comments on commit 42fa12e

Please sign in to comment.