Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Zhang__Huiqiang
Beginner
188 Views

About MR_ENCLAVE and MR_SIGNER,how can i get them?

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
188 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

 

Zhang__Huiqiang
Beginner
188 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?

 

 

 

 

Zhang__Huiqiang
Beginner
188 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.

Reply