Intel® Software Guard Extensions (Intel® SGX)
Discussion board focused on hardware-based isolation and memory encryption to provide extended code protection in solutions.

About MR_ENCLAVE and MR_SIGNER,how can i get them?

Zhang__Huiqiang
Beginner
991 Views

As you know , the mr_enclave and mr _signer is sgx_measurement_t  type,and the sgx_measurement_t is a 256-bit value representing the enclave measurement.but how can i get them before i run the enclave app?

0 Kudos
3 Replies
Scott_R_Intel
Employee
991 Views

Hi Huiqiang.

The sgx_sign utility's dump command run against your signed enclave will give you those, like so:

sgx_sign dump -enclave enclave.signed.so -dumpfile metadata_info.txt

Regards.

Scott

 

0 Kudos
Zhang__Huiqiang
Beginner
991 Views

@Scott,thanks. I have tried it.but I got messages as flows:

sgx_sign dump -enclave Wolfssl_Enclave.signed.so -dumpfile a.txt
Failed to open file "(null)".
Failed to dump metadata info to file "(null)".
only this error information,no other information,why?

 

 

 

 

0 Kudos
Zhang__Huiqiang
Beginner
991 Views

Hi ,Scott, Previous reply, I tried it in a virtual machine, but I tried it in my physical machine again.it succed.

Thank you very much.

0 Kudos
Reply