Hello everyone,

 

I am currently struggling with the usage of tpm2-tss and co. on an Raspberry Pi 3.

I’ve been using  the Stack on a Software TPM for a while now and never had any big issues, but after I started working with an Infineon Hardware TPM on an Raspberry Pi 3 I ran into some problems.

 

I have not run into errors while compiling and installing the stack but I kept getting the linker error:

 

undefined symbol: Esys_TRSess_GetAuthRequired

 

for libtss2-fapi.so.

 

I was able to work around this error by just disabling the FAPI before compiling, but now I get the following error on every command call:

 

ERROR:esys:src/tss2-esys/api/Esys_ReadClock.c:170:Esys_ReadClock_Async() SAPI error on SetCmdAuths ErrorCode (0x00080010)

ERROR:esys:src/tss2-esys/api/Esys_ReadClock.c:68:Esys_ReadClock() Error in async function ErrorCode (0x00080010)

ERROR: Esys_ReadClock(0x80010) - sys:If size of a parameter is incorrect

ERROR: Unable to run tpm2_readclock

 

I guess both have something to do with the Authentication.

I would be very grateful if someone could help me with this issue.

 

Thank you very much and Best regards

Felix Schick