Issues in Running WAMR SGX in Azure using DCAP drivers
Hello everyone,
I am having issues in deploying the WAMR SGX application in Azure using the DCAP driver. I am getting this error:
"Enclave not authorized to run, .e.g. provisioning enclave hosted in app without access rights to /dev/sgx_provision. You need add the user id to group sgx_prv or run the app as root."
Any idea on how to address this?
Hi, it mentions that "You need add the user id to group sgx_prv or run the app as root.", could you please try adding you user id the the sgx_prv group:
sudo usermod -a -G sgx_prv <your_user_id>
Yeah that was the first thing I tried but it didn't work
I am running as root in the container. And other SGX apps in the same container work just fine. If I run the container in a desktop SGX machine without the DCAP driver th sgx-wasm application runs fine.
Not known what the root cause is, may be you can get help from below: https://github.com/intel/linux-sgx