How to initialize enclave when receiving EPERM errors
Receiving the following error when trying to initialize enclave with Gramine:
Gramine is starting. Parsing TOML manifest file, this may take some time...
error: Initializing enclave failed: Operation not permitted (EPERM)
error: load_enclave() failed with error: Operation not permitted (EPERM)
Add user to the Intel® SGX group with sudo usermod -aG sgx $USER
Additionally, ensure the kernel* version is 5.11 or higher with uname -r
Visit reference for more information.