Skip to content

ddreyer/wave-sgx-demo

Repository files navigation

Intel SGX WAVE Demo

This demo simulates the interaction between WAVE client and enclave.

Sample code taken from the Intel SGX remote attestation example and RSA-Library

Remote Attestation Simulation Notes

  • "network_ra.cpp" simulates network communication between the enclave app (ISV app) and the client/challenger.
  • "client.cpp" simulates the client/challenger. Many security features (such as enrollment and message verification) are not implemented and are left for production. These are pointed out in the comments of the sample app.
  • "isv_app.cpp" simulates the enclave app (ISV app). Some features are not fully implemented to production standards

Todo

  • Have client generate MRENCLAVE value for enclave measurement comparison
  • Seal the Enclave's private key (can use Time based/Replay protected methods for better security)

How to generate the enclave signature

$ sgx_sign sign -key isv_enclave/isv_enclave_private.pem -enclave isv_enclave.so -out isv_enclave.signed.so -config isv_enclave/isv_enclave.config.xml

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •