Task 1: Create a simple confidential application
Please perform the following tasks on your development machine:
- Clone repository args-env-tutorial
- Compile program
print-arg-env.c - Execute with some arguments and environment variables of your choice
- Check that you have access to container image
registry.scontain.com/sconecuratedimages/crosscompilers - if your have not signed up, please follow the instructions on page [sconedocs](https://sconedocs.github.io/registry/).
- Start a container using container image
registry.scontain.com/sconecuratedimages/crosscompilers
Screencast
Task 1-a
- Within the container, clone the directory, compile the program
print-arg-env.cwith the cross-compilerscone-gcc - Determine
MRENCLAVE, i.e., the hash value of the initial state ofprint-arg-envwhen load inside the enclave - Run
print-arg-envwith environment variables and arguments given at the command line