- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I copied the SampleEnaclave application (entire code) with different name so that i can start making changes to it, but if i run this new app then i get following error.
"Error: Invalid enclave metadata."
How do i debug this? and what could be the issue here?
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
SGX_ERROR_INVALID_METADATA means that the "The metadata embedded within the enclave image is corrupt or missing."
If you have renamed the project, maybe you should check this line of code to see whether it matches the new name:
# define ENCLAVE_FILENAME "Enclave.signed.dll"
Check the DLL for its size to see whether the DLL has the same size of the original.
Finally, check the working directory to make sure it points to the right directory where the DLL should reside in.

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page