-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Hi @jx6f ,
I stumbled across your project which I found a use for (not for tamper purposes), but to proxy a unix file from QEMU to swtpm and vice-versa. I'm trying to find where I could modify your existing logic, to account for the scenario where the TCP connection to the swtpm server/control, dies for any reason. I"m not have any a ton of luck but ideally I want to contribute a retry logic to re-establish the connection. From what I can tell right now, the logic in exchange.go hangs here:
Line 38 in cf78194
| responseLen, err := ex.Dst.Read(respBuf) |
As expected, my guest throws the following:
ERROR:tcti:src/tss2-tcti/tcti-device.c:487:Tss2_Tcti_Device_Init() timeout waiting for response from fd 3
ERROR:sys:src/tss2-sys/api/Tss2_Sys_Execute.c:110:Tss2_Sys_ExecuteFinish() Unsupported device. The device is a TPM 1.2
ERROR: GetCapability:Get NV Index list Error. TPM Error:0x80001
ERROR: Unable to run /usr/bin/tpm2_nvlist
Any insight would be appreciated!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels