This sample shows how to build an enclave application with EGo.
The sample can be built as follows:
ego-go build
ego sign helloworldTo run it inside the enclave:
ego run helloworldTo run it in simulation mode:
OE_SIMULATION=1 ego run helloworldYou should see an output similar to:
[erthost] loading enclave ...
[erthost] entering enclave ...
[ego] starting application ...
hello
world
world
hello
hello
world
world
hello
hello
world