b6c849ac24 | ||
---|---|---|
.. | ||
client | ||
common | ||
enclave_a | ||
enclave_b | ||
images | ||
proto | ||
server | ||
CMakeLists.txt | ||
README.md | ||
data_to_encrypt | ||
secretsharing.edl |
README.md
Remote Attestation - real world example
The server and client host processes are what drives the enclave app. They are responsible for managing the lifetime of the enclave and invoking enclave ECALLs but should be considered an untrusted component that is never allowed to handle plaintext secrets intended for the enclave.
Build and run
You must have CMake and protobuf installed.
Then install gRPC following the guide here https://github.com/grpc/grpc/blob/v1.27.2/BUILDING.md
Last tested version with this sample is 1.27.2
Follow AZURE_CONF_COMP_VM.md instructions to setup the environment successfully.
CMake
Requirements:
- Requirements from OpenEnclave
For server and client:
cd remote_client_server
mkdir build && cd build
cmake ..
make run_server
make run_client
Note: make sure to have started the server before running the client.