Skip to content

Latest commit

 

History

History
35 lines (31 loc) · 498 Bytes

README.md

File metadata and controls

35 lines (31 loc) · 498 Bytes

helloworld sample

This sample shows how to build an enclave application with EGo.

The sample can be built as follows:

ego-go build
ego sign helloworld

To run it inside the enclave:

ego run helloworld

To run it in simulation mode:

OE_SIMULATION=1 ego run helloworld

You 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