TL;DR: Do I need a motherboard with Intel AMT to use Intel SGX in hardware mode?
I've been developing software in a different machine in simulation mode and I would like to test it in hardware mode, and in particular make use of remote attestation.
For use of trusted platform service(example SealedData Code sample requires trusted platform service) , mei_me driver needs to be enabled and /dev/mei0 should exist.
In your case, just installing the PSW doesn't require mei_me support. What error are you getting while installing PSW ? Also can you double check that SGX is enabled in BIOS Settings (i think its enabled, as you mentioned that driver installation is successful). Also can you redo the process of uninstalling/Installing sgx-driver sgx-psw in that order again ?
Thank you for your help Shivananda. My post isn't completely accurate, allow me to clarify.
I've managed to perform the installation of PSW but when I check its status there is an error in the logs. I can run the sample enclave successfully, but I am creating an application that performs remote attestation and that is what fails. Hence my doubt on whether I need more than just SGX to run some functionality (like remote attestation).
The error is "16385 (SGX_ERROR_SERVICE_UNAVAILABLE)" and it happens when calling sgx_create_pse_session. If I try skipping this call and go directly to sgx_ra_init then it fails with the error 16392 (SGX_ERROR_AE_SESSION_INVALID).
Attached is a log file, log-170706-1520.txt, with the statuses of (1) the JHI service after restarting this service, (2) the AESM service after restarting this service, and (3) the JHI service after the restart of AESM. Both services are showing errors, the AESMD is showing "aesm_service: [ADMIN]Platform Services initialization failed due to DAL error".
I've wondering whether this is what causing the call to sgx_create_pse_session to fail thus preventing me with advancing with the remote attestation.
I have two questions: