The engine will use ESYS's auto-config of a tpm. Thus is searches in the following
- TABRMD via DBUS
- Simulator at localhost:2321
If non of those are found, it errors.
So if you do not have 1-3 available it will connect to the simulator.
After the 2.0 release of tpm2-tss, a feature will be added to choose the TPM via
From: tpm2 [tpm2-bounces(a)lists.01.org] on behalf of Davide Rutigliano
Sent: Thursday, June 14, 2018 09:43
Subject: Re: [tpm2] ESAPI StartAuthSession
And another question, is it possible to use the engine with tpm simulator or it is
implemented only with devices configuration?
If so, do you think could be a good enhancement to work with the software tpm also?
I think it's not a long work so maybe I can do that.
Il lun 30 apr 2018, 22:16 Davide Rutigliano
<email@example.com<mailto:firstname.lastname@example.org>> ha scritto:
I'm in trouble with Esys_StartAuthSession because I receive continuously this error
and I cannot understand why:
ERROR:esys_iutil:esapi/esapi_util/esys_iutil.c:879:esys_GetResourceObject() Error: Esys
handle does not exist (70018).
ERROR:esys:esapi/esapi/Esys_StartAuthSession.c:124:Esys_StartAuthSession() Error in async
function ErrorCode (0x00070018)
TPM2_StartAuthSession failed with 0x70018
I suppose I'm doing something wrong with session handles but I don't know what.
Could someone help me please?
Thanks in advance,