Is there an example or doc of RA-TLS written in Rust? #1802
Replies: 2 comments 18 replies
-
I guess the quick answer is: No, we are not aware of an RA-TLS implementation written in Rust. Interestingly, the projects that I know of all seem to have C/C++ based implementations of SGX-attested TLS. See the list at https://github.com/CCC-Attestation/interoperable-ra-tls. Why can't you use e.g. our Gramine RA-TLS libraries and write Rust wrappers around them with FFI? |
Beta Was this translation helpful? Give feedback.
-
@dimakuv. To make the discussion more tangible, consider the following Gramine Rust example. It's an HTTP rust server running in an enclave. Let's assume I want to RA the enclave before engaging with this server. https://github.com/gramineproject/gramine/blob/master/CI-Examples/rust/README.md What are the suggested steps to do the RA using the current proposed C/C++ RA-TLS implementation? |
Beta Was this translation helpful? Give feedback.
-
I'm looking for an example or guidance on how to run a HTTPS API REST server written in Rust within the enclave, with the ability to perform RA-TLS on it.
Thank you.
Beta Was this translation helpful? Give feedback.
All reactions