I am studying Intel sgx programming, beginning with the sample codes in the src folder. However I come across the following error when I try to run the code of SealedData. It seems that something goes wrong with the initialization procedure, especially the function sgx_get_ps_cap.
The other 5 samples run as expected on my machine. Can someone help me on this? Thanks a lot.
Replay Protected DRM operation:
cannot get platform service capability, error code = 0x1
Initialization the DRM failed.
Replay Protected DRM update limitation:
cannot get platform service capability, error code = 0x1
Initialization the DRM failed.
Replay Protected DRM replay attack protection:
cannot get platform service capability, error code = 0x1
Initialization the DRM failed.
Time based policy operation:
cannot get platform service capability, error code = 0x1
Initialization the time based policy failed.
Time based policy expiration:
cannot get platform service capability, error code = 0x1
Initialization the time based policy failed.
Enter a character before exit ...
Hello. There seems something wrong with the platform service configuration. And this problem is solved after I reinstalled the Intel management engine component and sgx platform service.
链接已复制
Also I am using a machine with sgx support. So I am running the samples on sgx library, not on sgx simulation library. If I use the sgx simulation library, the SealedData sample runs well.
Hello. There seems something wrong with the platform service configuration. And this problem is solved after I reinstalled the Intel management engine component and sgx platform service.
The SealedData sample does leverage the trusted platform services of trusted time and monotonic counters. The platform services leverage Intel's manageability engine (ME) for the source of trusted time and monotonic counters. The full ME stack needs to be installed on the system for the services to be available to SGX platform software. Good to hear that installation of the ME stack resolved the failure on your system.
Download the ME engine from this link https://downloadcenter.intel.com/download/25881/Intel-Management-Engine-Intel-ME-Software-for-Systems-Based-on-3rd-Generation-Intel-Processors-or-Above?product=80895
-Surenthar
hello
I meet the same problem in Ubuntu16.4 which enabled mei mod by default. And the page of the link (https://downloadcenter.intel.com/download/25881/Intel-Management-Engine-Intel-ME-Software-for-Systems-Based-on-3rd-Generation-Intel-Processors-or-Above?product=80895 )is not found. Could you please provide a new download link?
Kirin Young
