sslab-gatech / opensgx

OpenSGX
Other
288 stars 80 forks source link

Intra Attestation Fail #40

Open jiak94 opened 8 years ago

jiak94 commented 8 years ago

I just follow the instruction on the tutorial of the intra attestation, and the target enclave said "Intra attestation Fail". While signing the target enclave, it will not generate the .conf file with the "use" option, therefore, I just did "./opensgx -s path_to_sgx --key sign.key". Am I doing something wrong?

ranjali commented 8 years ago

I get the same error. I always get "Intra attestation Fail".

ramsdell commented 8 years ago

I discovered my setjmp missing problem disappears if I revert to commit 6cc1fe695b61bd34eed199402b8ea575a6fe49ed. I suggest you try this commit and see what happens.

Ardillo commented 8 years ago

Same here, went in deeper and figured out that it looks like the .conf file is not getting parsed correctly. This results in different MAC outcomes and therefor a attestation fail.

Fixing it seems not that straightforward as the parsing code is correct and works fine when extracted from the libsgx structure and ran from a standalone program. Still don't know what is causing the problem.

soso19932603 commented 7 years ago

Using the last commit, i had the same problem (intra attestation fail) . But when i revert to commit 6cc1fe6 the intra attestation success normally. thanks to @ramsdell comment