[third-party] Update SGX SDK to resolve DCAP issue (#200)

1 file changed
tree: 2b3f69581cb659581757f0adbb2cf8fec4db8837
  1. .github/
  2. cmake/
  3. docker/
  4. docs/
  5. examples/
  6. keys/
  7. licenses/
  8. mesatee_core/
  9. mesatee_sdk/
  10. mesatee_services/
  11. teaclave_attestation/
  12. teaclave_binder/
  13. teaclave_cli/
  14. teaclave_common/
  15. teaclave_config/
  16. teaclave_utils/
  17. tests/
  18. third_party/
  19. .asf.yaml
  20. .dockerignore
  21. .drone.yml
  22. .gitattributes
  23. .gitignore
  24. .gitmodules
  25. CMakeLists.txt
  26. CONTRIBUTORS.md
  27. DISCLAIMER
  28. LICENSE
  29. NOTICE
  30. README.md
  31. service.sh
README.md

Teaclave: A Universal Secure Computing Platform

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

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 built in the Rust programming language to prevent memory-safety issues.

Functionality: Teaclave is provided as a function-as-a-service platform for secure computing. With many useful built-in functions, it supports tasks such as machine learning, private set intersection (PSI), crypto computation, etc. Developers can easily deploy a Python script in the Teaclave's trusted execution environment. More importantly, unlike traditional FaaS, Teaclave supports both general secure computing tasks and flexible multi-party secure computation.

Usability: Teaclave builds its components in containers, therefore, it supports deployment both locally and within cloud infrastructures. Teaclave also provides client SDKs and a command line tool.

Teaclave is originated from Baidu X-Lab (formerly named MesaTEE).

Quick Start

Download and build Teaclave services, examples, SDK, and command line tool.

git clone https://github.com/apache/incubator-teaclave.git
docker run --rm -v$(pwd)/incubator-teaclave:/teaclave -w /teaclave -it teaclave/teaclave-build-ubuntu-1804:latest
mkdir -p build && cd build
cmake -DTEST_MODE=ON .. && make

Start all Teaclave services with Docker Compose and detach into background. Make sure SGX driver and PSW package are properly installed and you have got the SPID and key to connect Intel Attestation Service.

export IAS_SPID=xxx
export IAS_KEY=xxx
(cd docker && docker-compose -f docker-compose-ubuntu-1804.yml up --build --detach)

Try the “quickstart” example.

./release/examples/quickstart echo -e release/examples/enclave_info.toml -m "Hello, World!"

Shutdown all Teaclave services.

(cd docker && docker-compose -f docker-compose-ubuntu-1804.yml down)

Contributing

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.

Community

Please subscribe our mailing list dev@teaclave.apache.org for development related activities. To subscribe, send an email to dev-subscribe@teaclave.apache.org.