如何解决新交所 4012 异常?

How to solve SGX Exception 4012?

提问人:Jood jindy 提问时间:11/16/2023 更新时间:11/16/2023 访问量:27

问:

我有一个作为服务器运行的 SGX 应用程序

当我运行服务器时,出现错误

org.whispersystems.contactdiscovery.enclave.SgxException: init_quote_before_create: 0x4012

检查此 URLhttps://github.com/signalapp/ContactDiscoveryService/blob/main/service/src/main/java/org/whispersystems/contactdiscovery/enclave/SgxException.java

我了解到代码 4012 的意思是EPID Provisioning failed due to platform not recognized by backend server

但是为什么?如何解决?

我已经在 ubuntu 服务器 2.11 上安装了 sgx 驱动程序 22 并在 BIOS/UEFI 中启用了 sgx

我的 CPU 支持 SGX1 和 2 Intel(R) Xeon(R) Silver 4310

cpuid 命令输出:

SGX1 supported                           = true

SGX2 supported                           = true

当我执行lsmod |grep sgx 我只得到这个:

isgx                   57344  0

SPid 和 APIKey 是正确的,英特尔 API 才能正常工作。

我提前感谢您的帮助

c 英特尔 SGX 围圈

评论


答: 暂无答案