Apache Teaclave (incubating) is an open source universal secure computing platform

Clone this repo:
  1. 500e624 Remove mayfail from the common library (#418) by Mingshen Sun · 2 weeks ago master v0.1.0-rc.1
  2. 1203b8f Add examples in the CLI's document (#417) by Mingshen Sun · 2 weeks ago
  3. 4c6205f Print out error message instead of logging for the sgx tool (#416) by Mingshen Sun · 2 weeks ago
  4. ba2b3d4 Use USE_PREBUILT_MESAPY to config whether to use the prebuilt library (#415) by Mingshen Sun · 3 weeks ago
  5. 17b4e87 Force to call enclave destory when receiving signals (#413) by Mingshen Sun · 3 weeks ago

Teaclave: A Universal Secure Computing Platform

License Coverage Status

Apache Teaclave (incubating) is an open source universal secure computing platform, making computation on privacy-sensitive data safe and simple.


  • Security: Teaclave adopts multiple security technologies to enable secure computing, in particular, Teaclave uses Intel SGX to serve the most security-sensitive tasks with hardware-based isolation, memory encryption and attestation. Also, Teaclave is written in Rust to prevent memory-safety issues.
  • Functionality: Teaclave is provided as a function-as-a-service platform. With many built-in functions, it supports tasks like machine learning, private set intersection, crypto computation, etc. In addition, developers can also deploy and execute Python scripts in Teaclave. More importantly, unlike traditional FaaS, Teaclave supports both general secure computing tasks and flexible single- and multi-party secure computation.
  • Usability: Teaclave builds its components in containers, therefore, it supports deployment both locally and within cloud infrastructures. Teaclave also provides convenient endpoint APIs, client SDKs and command line tools.
  • Modularity: Components in Teaclave are designed in modular, and some like remote attestation can be easily embedded in other projects. In addition, Teaclave SGX SDK can also be used separately to write standalone SGX enclaves for other purposes.

Getting Started

Try Teaclave


Contribute to Teaclave


API References


Teaclave is open source in The Apache Way, we aim to create a project that is maintained and owned by the community. All kinds of contributions are welcome. Read this document to learn more about how to contribute. Thanks to our contributors.