I tried to make the PSI example running in an Azure Cloud environment with Ubuntu 18.04, and with SGX enabled and running (e.g. Intel Architectural Enclave Service Manager is active).
I followed the instructions available here : Private Set Intersection (PSI) with Intel SGX, but I am stuck at this stage :
cd CI-Examples/psi/python
./build.sh
+++ cp /grpc/src/dynamic_config.json /grpc/src/examples/python/psi/build
+++ python3 -m grpc_tools.protoc -I /grpc/src/examples/protos --python_out=/grpc/src/examples/python/psi/build --grpc_python_out=/grpc/src/examples/python/psi/build psi.proto
Makefile:21: /gramine/Scripts/Makefile.configs: No such file or directory
make: *** No rule to make target '/gramine/Scripts/Makefile.configs'. Stop.
Usage: gramine-sgx-get-token [OPTIONS]
Error: Invalid value for "--sig" / "-s": Could not open file: python.sig: No such file or directory
Usage: gramine-sgx-get-token [OPTIONS]