tpm2-software/tpm2-tss

TPM_INSTALL_DISABLED / Attempting to run FAPI on windows using TBS TCTI

Mixyfpv opened this issue · 0 comments

I have made a port of the FAPI on Windows to try and manipulate the TPM with a program I have already using the FAPI.

When using the Esys_Startup function I got a TPM_E_COMMAND_BLOCKED return code which I assumed was part of the response of a Windows TPM to the TPM2_SelfTest function so I just made the program keep working.

Right after that I run into issues with the Esys_GetCapability_Finish() function with a TPM_INSTALL_DISABLED return code.

Is there any example of the TCTI TBS running with the Esys ? I assumed since in the Visual Studio Solution there is a Esys project that was ported on windows someone made it work and must have tested it ? I assume the current FAPI implementation is talking to Windows TPMs in the wrong way but I'm lost as to why.

Maybe I can try to take ownership of the TPM, if so what would be the command to do so ? Would ownership be linked to the process ?

Thanks in advance for any help provided.