apache / incubator-teaclave-sgx-sdk

Apache Teaclave (incubating) SGX SDK helps developers to write Intel SGX applications in the Rust programming language, and also known as Rust SGX SDK.
https://teaclave.apache.org
Apache License 2.0
1.17k stars 262 forks source link

Document on how to fork a standard crate. #421

Open TommyLike opened 1 year ago

TommyLike commented 1 year ago

Hey manintainers, I am new to teaclave and sgx and I think this project provides much convenience for developing Rust SGX projects. by reading the document I have two questions:

  1. The document mentioned that not all standard crates can be used in enclave projects, if so, How can I get the full list of updated crates? To be more specific, I need the support of pgp and openssl crates.
  2. if those two are not supported, what's the procedure to make them suppported/forked?****
TommyLike commented 1 year ago

@dingelish ding

henrysun007 commented 1 year ago

openssl depends on openssl-sys that contains c/cpp code. One should have some knowledge about Intel SGX to port Rust crates that have those sys crates inside. To port pure Rust crates, please refer to https://github.com/apache/incubator-teaclave-crates and https://github.com/apache/incubator-teaclave.

yangfh2004 commented 11 months ago

@TommyLike We have ported large collections of popular Rust crates into SGX, please checkout our GitLab repos https://gitlab.com/dexlabs

TommyLike commented 11 months ago

@TommyLike We have ported large collections of popular Rust crates into SGX, please checkout our GitLab repos https://gitlab.com/dexlabs

thanks