- Linux box
- OpenSSL
- Docker
- make
To build it is reccomended to use Docker.
To build the container image, use the appropriate Make targets:
make docker-build
This will generate a container image with a signed binary, and if there isn't a key available in tee/private.pem
it will generate a new one.
A test suite is available, running inside container images with the appropriate environment and dependencies available (ego).
make test
To run the container, use the appropriate Make target(below), or you can use the container images published in dockerhub:
## Run without an Intel SGX hardware
docker run --net host -e OE_SIMULATION=1 --rm -v $PWD/.masa:/home/masa -ti masaengineering/tee-worker:main
make run-sgx
make run-simulate