- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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?
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@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?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page