apache / incubator-teaclave-sgx-sdk

Apache Teaclave (incubating) SGX SDK helps developers to write Intel SGX applications in the Rust programming language, and also known as Rust SGX SDK.
https://teaclave.apache.org
Apache License 2.0
1.17k stars 259 forks source link

Samplecode for FLC DCAP remote attestation in production mode #135

Open brenzi opened 5 years ago

brenzi commented 5 years ago

Dear @dingelish

So far we've only done RA in debug mode, which is pointless for a real application. After talking to Intel we've learned that RA is possible in production mode without obtaining any special license with Intel. The pointers they gave us were:

https://github.com/intel/SGXDataCenterAttestationPrimitives https://download.01.org/intel-sgx/dcap-1.0.1/docs/Intel_SGX_DCAP_ECDSA_Orientation.pdf https://01.org/intel-softwareguard-extensions/downloads/intel-sgx-dcap-linux-1.0.1-release https://software.intel.com/sites/default/files/managed/f1/b8/intel-sgx-support-for-third-party-attestation.pdf https://api.portal.trustedservices.intel.com/ (See the section titled “Attestation Services Utilizing ECDSA”)

Now the question for this rust SDK: Do you already have some samplecode to perform RA in production mode with this new procedure?

dingelish commented 5 years ago

I don't have one yet. But that's one of my goal to be solved in Q3 :-)

nabilschear commented 4 years ago

any update on this?

dingelish commented 4 years ago

Hi @nabilschear , I do have working enclave which generates and verifies. Will release soon!

w-woloszyn commented 4 years ago

Hi @dingelish, is this enclave available now?

mssun commented 4 years ago

Hi all, there is a reference implementation with both IAS (EPID) and DCAP (ECDSA) in the Teaclave platform: