Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TPM_INSTALL_DISABLED / Attempting to run FAPI on windows using TBS TCTI #2713

Open
Mixyfpv opened this issue Nov 22, 2023 · 0 comments
Open

Comments

@Mixyfpv
Copy link

Mixyfpv commented Nov 22, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant