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

tpm2_getekcertificate auto-discover TPM manufacturer's server URL #1698

Closed
mdempsky opened this issue Aug 23, 2019 · 5 comments
Closed

tpm2_getekcertificate auto-discover TPM manufacturer's server URL #1698

mdempsky opened this issue Aug 23, 2019 · 5 comments

Comments

@mdempsky
Copy link
Contributor

tpm2_getekcertificate already has logic for checking the TPM's manufacturer and reporting whether it's going to be able to get a certificate from the server. It might as well also supply a default server URL if known; e.g., "https://ekop.intel.com/ekcertservice/" for INTC.

Users would still need to provide an explicit URL in offline mode, or if the manufacturer is not known.

@idesai
Copy link
Member

idesai commented Aug 23, 2019

I wonder if TCG has a registry of these URL's. If not will have to get this information from TPM manufacturers.
@PeterHuewe does Infineon have a backend serving EK certificates?

@mdempsky
Copy link
Contributor Author

If there's a registry that would be great.

Is the protocol documented somewhere? When I was adding support for requesting ECC certs last night, I just guessed the simplest reasonable request format, and thankfully it was right. I couldn't find anything explaining how it's supposed to work.

@mdempsky
Copy link
Contributor Author

https://docs.microsoft.com/en-us/windows/security/threat-protection/protect-high-value-assets-by-controlling-the-health-of-windows-10-based-devices says:

A device that uses Intel TPM or Qualcomm TPM gets a signed certificate online from the manufacturer that has created the chip and then stores the signed certificate in TPM storage. For the operation to succeed, if you are filtering Internet access from your client devices, you must authorize the following URLs:

@DomiNic5787
Copy link
Contributor

For Infineon TPM's the EK is stored on the TPM (see TCG_IWG_Credential_Profile_EK_V2.1_R13 chapter 2.2.1)
So, instead of tpm2_getekcertificate, one can use tpm2_nvread to get the EK certificate (NV indices are also described in TCG_IWG_Credential_Profile_EK_V2.1_R13 chapter 2.2.1).

@idesai
Copy link
Member

idesai commented Jan 23, 2020

Duplicate #1885

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

No branches or pull requests

3 participants