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

The function sgx_init_quote return 0x4006 SGX_ERROR_UPDATE_NEEDED #631

Open LowEntropyBody opened 3 years ago

LowEntropyBody commented 3 years ago

I have used the 2.11 version of AESM and SDK, and the code runs smoothly on the i5-9600kf machine, but when run this code on the i5-10600 machine, the function sgx_init_quote returns an error 0x4006. Does anyone know the reason or how to solve this problem? Thanks.

code: https://github.com/crustio/crust-sworker/blob/release/0.6.0/src/app/process/EntryNetwork.cpp#L58

fqiu1 commented 3 years ago

SGX_ERROR_UPDATE_NEEDED means you need to update your TCB, which practically maps to PCE and CPU uCode. Since there is no PCE update since 2.10, I think you need to update your BIOS

sursky commented 3 years ago

SGX_ERROR_UPDATE_NEEDED means you need to update your TCB, which practically maps to PCE and CPU uCode. Since there is no PCE update since 2.10, I think you need to update your BIOS

Faced the same problem, did I understand correctly that you need to wait until the manufacturer releases an update for bios?

pangwa commented 3 years ago

Updating to the latest bios doesn't work, I'm using AsRock B460 Pro4.