# apache/teaclave-sgx-sdk

Apache Teaclave™ SGX SDK helps developers to write Intel SGX applications in the Rust programming language, and also known as Rust SGX SDK.

Repository: https://github.com/apache/teaclave-sgx-sdk
Canonical: https://ross.abutalabs.com/products/teaclave-sgx-sdk
Homepage: https://teaclave.apache.org
Language: Rust
License: Apache-2.0
License Family: permissive
Topics: universal-secure-computing, confidential-computing, trusted-execution-environment, tee, sgx, rust
Last push: 2026-06-10T01:21:13+00:00

## Health v2 (maintenance only)
Score: 62/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 86, release rhythm 8, longevity 100
- inputs: {"age_days": 3415, "days_push": 85, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1229, forks 268 (observed 2026-08-28T04:04:03.656983+00:00)

## What it is
Apache Teaclave SGX SDK (Rust SGX SDK) is a Rust-based software development kit for building Intel SGX enclave applications with memory safety. It provides a refactored, lightweight Rust port of Intel's SGX SDK with modern cargo-based build modes and support for common Rust crates like Tokio and Tonic inside enclaves.

## Use cases
- write intel sgx enclaves in rust
- build confidential computing applications
- develop privacy-preserving trusted applications
- run tokio and tonic inside sgx enclaves
- seal and encrypt data inside an enclave
- prototype sgx apps without sgx hardware using docker emulation

## When to choose
- you want memory-safe Rust development for Intel SGX enclaves
- you need to use standard Rust crates and async runtimes inside enclaves
- you want an actively maintained open-source alternative to Intel's C/C++ SGX SDK
- you want to prototype with prebuilt Docker images without TEE hardware

## When to avoid
- you target Arm TrustZone or OP-TEE instead of Intel SGX (use Teaclave TrustZone SDK)
- you need C/C++ enclave development
- your platform does not support Intel SGX
- you need a general-purpose confidential computing FaaS platform (the legacy Teaclave FaaS is no longer maintained)

## Facets
- artifact type: library
- maturity: active
- function: sdk, cryptography, security, developer-tools
- domain: security, developer-tools, privacy, embedded-systems, cloud-computing
- platform: rust, cross-platform
- tags: intel-sgx, trusted-execution-environment, confidential-computing, tee, enclave-development, memory-safety, rust-sgx-sdk, remote-attestation, linux, docker

## Member repositories
- apache/teaclave-sgx-sdk (main) score 62

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:03.656983+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T06:15:05.825894+00:00, confidence not recorded.
  - readme: https://github.com/apache/teaclave-sgx-sdk (fetched 2026-08-28T04:04:03.656983+00:00, sha acf5b80ae637)
  - homepage: https://teaclave.apache.org (fetched 2026-08-29T12:22:39.930630+00:00, sha 6fd4a57acf41)
  - site_page: https://teaclave.apache.org/trustzone-sdk-docs (fetched 2026-08-29T12:22:39.942477+00:00, sha f1cad136909b)
  - site_page: https://teaclave.apache.org/api-docs/trustzone-sdk/optee_teec (fetched 2026-08-29T12:22:39.944311+00:00, sha 6c9df9e8b3c4)
  - site_page: https://teaclave.apache.org/api-docs/trustzone-sdk/optee_utee (fetched 2026-08-29T12:22:39.945947+00:00, sha 25e2631b6094)
  - site_page: https://teaclave.apache.org/sgx-sdk-docs (fetched 2026-08-29T12:22:39.947433+00:00, sha cb2d559f881a)
  - site_page: https://teaclave.apache.org/api-docs/sgx-sdk (fetched 2026-08-29T12:22:39.948859+00:00, sha 8f045e7aedc6)
  - site_page: https://teaclave.apache.org/teaclave-docs (fetched 2026-08-29T12:22:39.950933+00:00, sha cd24664c77cd)
  - site_page: https://teaclave.apache.org/docs (fetched 2026-08-29T12:22:39.953554+00:00, sha 566d81ee5f05)
  - site_page: https://teaclave.apache.org/overview (fetched 2026-08-29T12:22:39.940033+00:00, sha b93f53a7788c)
- Data as of 2026-08-30T08:39:29.467469+00:00.
