rust-keylime
rust-keylime copied to clipboard
unable to start agent
I am able to succesfully run , registrar and verifier in a different machine(b), im trying to run agent in sytem (a) , but im not understanding how to
- set up the ima-policy required, everytime i change something and restart my boot up gives me the error failed to load ima-policy, it doesnt read my ima-policy which is present in the etc/ima/ima-policy during bootup, but it does later .
- run the agent, everytime i try to run i get an error which looks like this - rclab@rclab-System-Product-Name:~$ start-keylime-agent [sudo] password for rclab: WARNING:esys:src/tss2-esys/api/Esys_NV_ReadPublic.c:309:Esys_NV_ReadPublic_Finish() Received TPM Error ERROR:esys:src/tss2-esys/esys_tr.c:209:Esys_TR_FromTPMPublic_Finish() Error NV_ReadPublic ErrorCode (0x0000018b) ERROR:esys:src/tss2-esys/esys_tr.c:320:Esys_TR_FromTPMPublic() Error TR FromTPMPublic ErrorCode (0x0000018b) ERROR tss_esapi::context::general_esys_tr > Error when getting ESYS handle from TPM handle: the handle is not correct for the use (associated with handle number 1) ERROR keylime_agent > Failed to register agent: RegistrarClientBuilder error
can someone help me on this?