Closed whooo closed 2 years ago
tpm2-abrmd crashes with the following code:
from tpm2_pytss.ESAPI import ESAPI from tpm2_pytss.constants import ESYS_TR, TPM2_SE, TPM2_ALG, TPM2_CAP from tpm2_pytss.types import TPMT_SYM_DEF ectx = ESAPI() session = ectx.start_auth_session( ESYS_TR.NONE, ESYS_TR.NONE, TPM2_SE.HMAC, TPMT_SYM_DEF(algorithm=TPM2_ALG.NULL), TPM2_ALG.SHA256, ) more = True while more: more, capdata = ectx.get_capability(TPM2_CAP.PCRS, 0, session1=session)
The error:
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
tpm2-abrmd crashes with the following code:
The error: