-
Notifications
You must be signed in to change notification settings - Fork 58
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
Some error information is displayed during the startup of the keylime agent. #865
Comments
Let me add: on the TPM hardware machine |
This error is fine/expected when the TPM does not have an EK certificate in the NV index. This happens with e.g. certain Intel CPU TPMs and if you are using swtpm without provisioning the EK certificate. We should probably try to find a way to suppress the raw errors from the TSS esapi. |
I tried to use https://github.com/stefanberger/swtpm/blob/v0.9.0/man/man8/swtpm_setup.pod swtpm to create an EK into the TPM, the problems also The command used is |
Can you try this for setting up swtpm and if you run into errors please post the full logs of keylime and swtpm:
|
Thank you very much for your reply, I asked some technicians during this period to add the index of ek in a new way, and I have to say I had trouble again. When I use this command. It prints some memory addresses, which are compliant with the TCG specification.
When I try to get this value
This is from https://github.com/stefanberger/swtpm/blob/master/src/swtpm_setup/swtpm.c#L439 But there are some problems with the results I get in keylime. The keylime_agent startup result is as follows:
I tried to look at part of the rust code.The error message comes from https://github.com/parallaxsecond/rust-tss-esapi/blob/main/tss-esapi/src/handles/tpm.rs 115lines。It seems that this value is a definite value, and I'm not sure where I'm wrong. |
|
this is error message My remote debug ide has a problem, I can't go to the detailed location, very sorry, if fixed and new message, I will reply again. |
Whether I'm on a PC with TPM hardware or a PC with a TPM emulator, the keylime agent starts up with an error that seems to affect part of the keylime. When I tried to use the current master branch or an older version to try to bypass this error, I failed. I've tried keylime on both Arm64 and x86 machines. Hope to give me some help。
The configuration used is the default configuration, I've never changed the configuration, I want to try to use it.
The text was updated successfully, but these errors were encountered: