Intel® Software Guard Extensions (Intel® SGX)
Discussion board focused on hardware-based isolation and memory encryption to provide extended code protection in solutions.

SGX_ERROR_SERVICE_INVALID_PRIVILEGE error

Rashmik
Beginner
745 Views

Have a simple java application that uses SGX to fetch key, encrypt decrypt bytes.  Upon running the jar, I run into SGX_ERROR_SERVICE_INVALID_PRIVILEGE error.

Have the user as part of sgx_prv group and have run application as root as well, still get the same error.

The server uses in-kernel driver.

Weird thing is that the same functionality provide by my sample Golang application works without any error.

Labels (5)
0 Kudos
2 Replies
Iffa_Intel
Moderator
653 Views

It's recommended to install the Out-Of-Tree Driver.

 

The OOT Driver is recommended for use on platforms that do not support or are not configured for Flexible Launch Control.

 

You may refer to this documentation (Out-Of-Tree Driver section) for further details.

 

 

Cordially,

Iffa


0 Kudos
Iffa_Intel
Moderator
600 Views

Hi,


Intel will no longer monitor this thread since we have provided a solution. If you need any additional information from Intel, please submit a new question. 


Cordially,

Iffa


0 Kudos
Reply