- Written in C (the c++ version is in progress)
- Minimum code needed for an Open Enclave app
- Also runs in OE simulation mode
- Use an OE SDK-supported machine or development environment (like Intel SGX).
- Install the OE SDK package and dependencies for your environment. The documentation for necessary prerequisites is provided in the getting started page of the Open Enclave SDK.
- Read the common sample information page to learn how to prepare the sample.
This is a game where the user must try to guess a number generated by the program. The particularity of this game is the use of a secured environment for the generation of the number to guess.
This sample uses the Open Enclave SDK oeedger8r tool to generate marshaling code necessary to call functions between the enclave
and the host. For more information on using the Open Enclave oeedger8r tool refer to
Getting started with the Open Enclave edger8r.
Execute the following commands in " "
- Add ". /opt/openenclave/share/openenclave/openenclaverc" to your .bashrc file before compiling.
- "make build"
- "make simulate"
- Add ". /opt/openenclave/share/openenclave/openenclaverc" to your .bashrc file before compiling.
Execute the following commands
- "mkdir build" & "cd build"
- "make"
- "make simulate"