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?
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
@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?