microsoft / Azure-DCAP-Client

Interfaces between SGX SDKs and the Azure Attestation SGX Certification Cache.
MIT License
60 stars 45 forks source link

Error returned from the p_sgx_get_quote_config API #172

Open lili8808 opened 1 year ago

lili8808 commented 1 year ago

I am trying to run DCAP attestation in my Azure VM. cat /proc/version Linux version 5.15.0-1029-azure (buildd@lcy02-amd64-076) (gcc (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #36~20.04.1-Ubuntu SMP Tue Dec 6 17:00:26 UTC 2022 I installed Azure-DCAP-Client on my VM. Then for testing I tries to run the /microsoft-azure-attestation/sgx.attest.sample.intel.sdk/genquotes$ sudo ./runall.sh unfortunate I get error: [get_platform_quote_cert_data ../qe_logic.cpp:378] Error returned from the p_sgx_get_quote_config API. 0xe011 Step1: Call sgx_qe_get_target_info: Error in sgx_qe_get_target_info. 0xe011 make: *** [Makefile:22: run] Error 255 Do any body know the problem? Thanks

Eremiel commented 1 year ago

I think the problem is 2018-10-01-preview api which is not a valid one.