Skip to content
This repository has been archived by the owner on Feb 14, 2024. It is now read-only.

Created enclave has an invalid metadata magic #3

Open
achow101 opened this issue Jan 10, 2019 · 1 comment
Open

Created enclave has an invalid metadata magic #3

achow101 opened this issue Jan 10, 2019 · 1 comment

Comments

@achow101
Copy link

I'm trying to create an enclave that can be used in SGX simulated mode but when I do, the resulting enclave gives me error code 8201 which is SGX_ERROR_INVALID_METADATA according to Intel's sgx documentation. After some further debugging, I have come to the conclusion that the enclave's metadata magic bytes are incorrect.

How can this be fixed? Or is there some other way to run the bolos enclave in a simulator without needing hardware that supports Intel SGX?

@btchip
Copy link
Contributor

btchip commented Feb 2, 2019

yes, you can build using Makefile.simu both in the tee/ and host/ directories then use testTee to run a test program that doesn't require SGX. Note that this project is fairly outdated now and will be updated in the coming months.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants