On 11/20/18 5:56 AM, Sourajit Mukhopadhyay wrote:
I am working on a test code to check the unseal functionality for educational purposes. I
am following the test module for ESAPI unseal, and the test code is working on one system
perfectly with the IBM simulator, but failing on another system running the same version
of the simulator with:
WARNING:esys:src/tss2-esys/api/Esys_Create.c:421:Esys_Create_Finish() Received TPM Error
ERROR:esys:src/tss2-esys/api/Esys_Create.c:164:Esys_Create() Esys Finish ErrorCode
I am unable to detect the cause of this error, since the same code is running perfectly
fine on a different system with same version of the simulator. Any advice on the cause of
this issue would be highly appreciated.
$ tpm2_rc_decode 0x00000921
tpm:warn(2.0): the command may require writing of NV and NV is not current accessible
Have you ran out of free NV indexes?
Try restarting the simulator with -rm option:
$ tpm_server -rm