apache / incubator-teaclave

Apache Teaclave (incubating) is an open source universal secure computing platform, making computation on privacy-sensitive data safe and simple.
https://teaclave.apache.org
Apache License 2.0
761 stars 158 forks source link

Upgrade to Rust SGX SDK 2.0.0 #666

Closed henrysun007 closed 1 year ago

henrysun007 commented 1 year ago

Description

Upgrade Rust toolchain and SGX software.

Fixes # (issue)

https://github.com/apache/incubator-teaclave/issues/664

Type of change (select or add applied and delete the others)

How has this been tested?

CI and local HW tests.

Checklist

volcano0dr commented 1 year ago

Rust SGX SDK 2.0.0 has implemented sgx_protected_fs with Rust, and can support the use inside and outside the Enclave. I think you can replace protected_fs_rs with sgx_protected_fs in 2.0.0.

henrysun007 commented 1 year ago

Just talked with @volcano0dr. The sgx_tprotected_fs may need time to support ios/mac. We cannot support ios/mac in this PR and will use the support when it is ready in the future.

henrysun007 commented 1 year ago

@mssun I cannot open PR to https://github.com/apache/incubator-teaclave-crates as it is empty. So I pushed the crates to https://github.com/mesatee/crates. The code is tested. You can upload the code directly to incubator-teaclave-crates. Let me know after the upload.

mssun commented 1 year ago

@mssun I cannot open PR to https://github.com/apache/incubator-teaclave-crates as it is empty. So I pushed the crates to https://github.com/mesatee/crates. The code is tested. You can upload the code directly to incubator-teaclave-crates. Let me know after the upload.

I created a README.md file. You can now submit PR.

henrysun007 commented 1 year ago

Cool. The PR is submitted. @mssun