apache/teaclave-sgx-sdk
关于
Apache Teaclave™ SGX SDK 帮助开发者使用 Rust 编写 Intel SGX 应用,也称为 Rust SGX SDK。
开发工具实测星标增长
- 24小时
- 0
- 7天
- -1
- 15天
- -5
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文Apache Teaclave™ SGX SDK
Apache Teaclave™ SGX SDK is a Rust SDK for developing Intel SGX applications. It enables developers to write secure, privacy-preserving applications using Intel Software Guard Extensions (SGX) technology with the safety and performance benefits of the Rust programming language.
Overview
Apache Teaclave™ SGX SDK provides a comprehensive development environment for building Intel SGX enclaves in Rust. The current version (v2.0) offers significant improvements over the legacy v1.1 , including:
- Modern Build System: Supports
cargo buildwithno_std,xargo build, andcargo-std-awaremodes - Rich Ecosystem: Direct support for Tokio and Tonic in enclave programming without modifications
- Lightweight Architecture: Refactored Intel's SGX SDK using Rust, requiring only a minimal portion of Intel's original SDK
- Robust Testing: Comprehensive testing framework with well-tested
sgx_tstdstandard library - Simplified Dependencies: Eliminates the need to maintain 100+ third-party dependencies; most Rust crates work without modifications
Build System
The SDK supports multiple build modes to accommodate different development preferences:
BUILD_STD=cargo(default): Uses the new std-aware cargo build systemBUILD_STD=no: Traditionalno_stdcargo build for minimal footprintBUILD_STD=xargo: Uses xargo build with customized sysroot
Sample Applications
The following sample applications demonstrate various SGX SDK capabilities:
- backtrace: Stack trace functionality in SGX enclaves
- cov: Code coverage analysis tools
- crypto: Cryptographic operations within enclaves
- helloworld: Basic SGX enclave example
- httpreq: HTTP client functionality
- hyper-rustls-https-server: HTTPS server using Hyper and Rustls
- logger: Logging capabilities for SGX applications
- regex: Regular expression processing
- rpc: Remote procedure calls using Tonic and Tokio
- seal: Data sealing and unsealing operations
- switchless: Switchless call optimization
- zlib-lazy-static-sample: Compression with lazy static initialization
Note: Migration of additional v1.1 samples to v2.0 is ongoing.
Getting Started
For detailed installation instructions, development guides, and API documentation, please visit:
- Project Website: https://teaclave.apache.org/
- Documentation: Teaclave SGX SDK Documentation
- API Reference: Teaclave SGX SDK API Reference
Contributing
Apache Teaclave™ is developed in the open following The Apache Way. We strive to maintain a project that is community-driven and inclusive.
We welcome all forms of contributions. Please refer to our Contributing Guide for more information. A big thank-you to all our contributors!
Community
- 📬 Join our mailing list
- 🐦 Follow us on Twitter @ApacheTeaclave
- 🌐 Learn more at teaclave.apache.org/community
探索相关项目
加载中…