You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@teaclave.apache.org by GeminiCarrie <no...@github.com.INVALID> on 2023/01/05 03:22:16 UTC

[apache/incubator-teaclave] Support grpc (Issue #668)

<!--
  Thank you for suggesting an idea to make Teaclave better.
  Please fill in as much of the template below as you're able.
-->

### Motivation & problem statement
The rpc used by Teaclave is not universal and does not support async.

<!--
  Provide a clear and concise description of what the problem is.
-->


### Proposed solution

<!--
  Provide a clear and concise description of what you want to happen.
-->
Replace current rpc with grpc (e.g. Tonic).

I noticed that there is an example based on tonic and tokio in rust-sgx-sdk.

https://github.com/apache/incubator-teaclave-sgx-sdk/tree/v2.0.0-preview/samplecode/rpc

Tonic supports  async/await and has a high performance.

To do mutual attestation, we can establish trusted gRPC channel through attested TLS.

Grpc based on tonic, rustls and tokio is easier to maintain, and has better compatibility and performance.


-- 
Reply to this email directly or view it on GitHub:
https://github.com/apache/incubator-teaclave/issues/668
You are receiving this because you are subscribed to this thread.

Message ID: <ap...@github.com>

Re: [apache/incubator-teaclave] Support grpc (Issue #668)

Posted by He Sun <no...@github.com.INVALID>.
Closed #668 as completed.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/apache/incubator-teaclave/issues/668#event-9443056576
You are receiving this because you are subscribed to this thread.

Message ID: <ap...@github.com>