Skip to content

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
  • if your have not signed up, please follow the instructions on page [sconedocs](
  • Start a container using container image


Task 1-a

  • Within the container, clone the directory, compile the program print-arg-env.c with the cross-compiler scone-gcc
  • Determine MRENCLAVE, i.e., the hash value of the initial state of print-arg-env when load inside the enclave
  • Run print-arg-env with environment variables and arguments given at the command line