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

support for machines without an EK certificate? #234

Open
lindi2 opened this issue Aug 13, 2021 · 0 comments
Open

support for machines without an EK certificate? #234

lindi2 opened this issue Aug 13, 2021 · 0 comments

Comments

@lindi2
Copy link
Contributor

lindi2 commented Aug 13, 2021

I have some TPM1.2 machines that do not seem to come with an EK certificate. They have an Intel discrete TPM but Intel's HTTP interface returns just 404 and attempts to write a dummy EK certificate to the NVRAM also fail. Would you be interested in a pull request that makes the self-test work on such machines? I understood that TPM1.2 support was in maintenance-only mode now so I thought I'd ask before spending too much time polishing a PR.

I got this to work by modifying eks() in tpm12_linux.go to read the EK directly from the TPM if reading the EK certificate from NVRAM fails. This required also adding two functions to go-tspi to read the EK from the TPM.

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