tpm2-abrmd icon indicating copy to clipboard operation
tpm2-abrmd copied to clipboard

tpm2 getcap vendor is failing

Open devang4791 opened this issue 1 year ago • 1 comments

While executing command - "sudo ./tpm2 getcap vendor" fails with below error:

ERROR:esys:src/tss2-esys/api/Esys_GetCapability.c:305:Esys_GetCapability_Finish() Received a non-TPM Error ERROR:esys:src/tss2-esys/api/Esys_GetCapability.c:106:Esys_GetCapability() Esys Finish ErrorCode (0x000a0008) ERROR: Esys_GetCapability(0xA0008) - tcti:Fails to connect to next lower layer ERROR: Unable to run getcap

On the other hand when tpm2-abrmd is running in parallel, it results in below error:

Command - "sudo tpm2-abrmd --allow-root --tcti=device:/dev/tpm0"

ERROR:src/resource-manager.c:978:get_cap_post_process: assertion failed: (tpm2_response_get_code (resp) == TSS2_RC_SUCCESS) Bail out! ERROR:src/resource-manager.c:978:get_cap_post_process: assertion failed: (tpm2_response_get_code (resp) == TSS2_RC_SUCCESS) Aborted

devang4791 avatar Mar 01 '23 13:03 devang4791

I have been facing a similar issue, both look like #723. Although that issue is from 3 years ago, I wonder if the cause is something else this time.

ahllamas avatar Oct 19 '23 21:10 ahllamas