intel / linux-sgx

Intel SGX for Linux*
https://www.intel.com/content/www/us/en/developer/tools/software-guard-extensions/linux-overview.html
Other
1.32k stars 543 forks source link

sgx_ra_get_msg1_ex failed in RemoteAttestation Samplecode #770

Open Yuvashri26 opened 2 years ago

Yuvashri26 commented 2 years ago

Hello all,

RemoteAttestation sgx_ra_get_msg1_ex call failed. Tried adding proxy configuration in /etc/aesmd.conf but didn’t work.

RemoteAttestation

P.s: I'm able to run Remoteattestaion on the same network in CentOS with sgxsdk version 2.7.1

Current OS: Debian GNU/Linux 11 (bullseye) and SDK version: 2.15.1

urnotcoward commented 2 years ago

Hello,Have you solved the problem of remote authentication? I had a similar problem recently

Laisky commented 2 years ago

Same problem

jsun39 commented 2 years ago

would you please double check whether your platform support FLC(flexing launch control) feature or not? What is your CPU type?

Laisky commented 2 years ago

would you please double check whether your platform support FLC(flexing launch control) feature or not? What is your CPU type?

CPU: Intel(R) Xeon(R) Gold 5320 CPU

cpuid | grep -i sgx

Software Guard Extensions (SGX) capability (0x12/0):
      SGX1 supported                         = true
      SGX2 supported                         = true
      SGX ENCLV E*VIRTCHILD, ESETCONTEXT     = false
      SGX ENCLS ETRACKC, ERDINFO, ELDBC, ELDUC = false
   SGX attributes (0x12/1):
   SGX EPC enumeration (0x12/n):
      SGX: Software Guard Extensions supported = true
      SGX_LC: SGX launch config supported      = true
...