Minimal Python example with Gramine powered by Intel SGX
Serialize argv
$ gramine-argv-serializer "/usr/bin/python3.8" "scripts/main.py" "1" "2" "3" > scripts/args
Build
$ make SGX=1
Exec
$ gramine-sgx ./python
$ gramine-argv-serializer "/usr/bin/python3.8" "scripts/main.py" "1" "2" "3" > scripts/args
$ make SGX=1
$ gramine-sgx ./python