Application using Gramine LibOS for attestation and tracing on SGX-capable host machines.
docker build -t 'privateer/secprobe-dev:latest' .
docker run --security-opt seccomp=config/docker_v20.json -it privateer/secprobe-dev:latest
gramine-direct python secprobe/secprobe.py
The flow of actions supported by this version:
Run in a host with the following specs:
TBD
Manifest template: python.manifest.template
Manifest template: uProbe.manifest.template
# If more than one containers need to be generated by the same Sealign Authority, the respective key (i.e., its directory) should be passed as a volume. For instance: -v /privateer/.config/gramine:/root/.config/gramine
docker run --name security_probe --device /dev/sgx_enclave --device /dev/sgx_provision --security-opt seccomp=/home/privateer/security-probe/docker.json -it -p '<docker image>'
# First time in the container
gramine-sgx-gen-private-key
# gramine-sgx <Manifest Name - i.e., tracer or agent>
gramine-sgx uProbe