Re: [apache/incubator-teaclave] Upgrade to Rust SGX SDK 2.0.0 (PR #666)

2023-01-12 Thread Mingshen Sun
Merged #666 into master.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/apache/incubator-teaclave/pull/666#event-8217506288
You are receiving this because you are subscribed to this thread.

Message ID: 


Re: [apache/incubator-teaclave] Upgrade to Rust SGX SDK 2.0.0 (PR #666)

2022-12-22 Thread He Sun
Cool. The PR is submitted. @mssun 

-- 
Reply to this email directly or view it on GitHub:
https://github.com/apache/incubator-teaclave/pull/666#issuecomment-1363630612
You are receiving this because you are subscribed to this thread.

Message ID: 

Re: [apache/incubator-teaclave] Upgrade to Rust SGX SDK 2.0.0 (PR #666)

2022-12-22 Thread Mingshen Sun
> @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.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/apache/incubator-teaclave/pull/666#issuecomment-1363619719
You are receiving this because you are subscribed to this thread.

Message ID: 

Re: [apache/incubator-teaclave] Upgrade to Rust SGX SDK 2.0.0 (PR #666)

2022-12-22 Thread He Sun
@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.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/apache/incubator-teaclave/pull/666#issuecomment-1363600746
You are receiving this because you are subscribed to this thread.

Message ID: 

Re: [apache/incubator-teaclave] Upgrade to Rust SGX SDK 2.0.0 (PR #666)

2022-12-19 Thread He Sun
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.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/apache/incubator-teaclave/pull/666#issuecomment-1358745661
You are receiving this because you are subscribed to this thread.

Message ID: 

Re: [apache/incubator-teaclave] Upgrade to Rust SGX SDK 2.0.0 (PR #666)

2022-12-07 Thread volcano
Rust SGX SDK 2.0.0 has implemented 
[sgx_protected_fs](https://github.com/apache/incubator-teaclave-sgx-sdk/tree/v2.0.0-preview/sgx_protected_fs)
 with Rust, and can support the use inside and outside the Enclave. I think you 
can replace 
[protected_fs_rs](https://github.com/apache/incubator-teaclave/tree/master/common/protected_fs_rs)
 with sgx_protected_fs in 2.0.0.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/apache/incubator-teaclave/pull/666#issuecomment-1340581277
You are receiving this because you are subscribed to this thread.

Message ID: 

[apache/incubator-teaclave] Upgrade to Rust SGX SDK 2.0.0 (PR #666)

2022-12-06 Thread He Sun
## Description

Upgrade Rust toolchain and SGX software.

Fixes # (issue)

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

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

- [ ] Bug fix (non-breaking change which fixes an issue)
- [X] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality 
to not work as expected)
- [ ] API change with a documentation update
- [ ] Additional test coverage
- [ ] Code cleanup or just sync with upstream third-party crates

## How has this been tested?
CI and local HW tests.

## Checklist

- [X] Fork the repo and create your branch from `master`.
- [ ] If youve added code that should be tested, add tests.
- [ ] If youve changed APIs, update the documentation.
- [X] Ensure the tests pass (see CI results).
- [X] Make sure your code lints/format.

You can view, comment on, or merge this pull request online at:

  https://github.com/apache/incubator-teaclave/pull/666

-- Commit Summary --

  * Upgrade to Rust SGX SDK 2.0.0

-- File Changes --

M .github/workflows/ci.yml (14)
M .github/workflows/codeql-analysis.yml (2)
A .github/workflows/docker.yml (163)
M .github/workflows/ubuntu1804-test.yml (2)
M .github/workflows/ubuntu2004-test.yml (12)
M .gitmodules (28)
M CMakeLists.txt (54)
M attestation/Cargo.toml (22)
M attestation/src/attestation.rs (7)
M attestation/src/cert.rs (4)
M attestation/src/key.rs (50)
M attestation/src/lib.rs (21)
M attestation/src/platform.rs (107)
M attestation/src/report.rs (17)
M attestation/src/service.rs (39)
M attestation/src/verifier.rs (10)
M binder/Cargo.toml (11)
M binder/attribute/Cargo.toml (2)
M binder/src/binder.rs (36)
M binder/src/error.rs (2)
M binder/src/ipc/app.rs (22)
M binder/src/ipc/enclave.rs (4)
M binder/src/ipc/mod.rs (1)
M binder/src/lib.rs (4)
M binder/src/ocall.rs (51)
M binder/src/proto.rs (7)
M cli/Cargo.toml (4)
M cmake/TeaclaveGenVars.cmake (13)
M cmake/TeaclaveUtils.cmake (8)
M cmake/scripts/build_in_ci.sh (3)
M cmake/scripts/prep.sh (4)
M cmake/scripts/setup_cmake_tomls.py (12)
M cmake/scripts/sgx_link_sign.sh (8)
M cmake/scripts/test.sh (6)
M cmake/tomls/Cargo.sgx_trusted_lib.toml (83)
M cmake/tomls/Cargo.sgx_untrusted_app.toml (10)
M cmake/tomls/Cargo.unix_app.toml (10)
D common/protected_fs_rs/Cargo.lock (132)
M common/protected_fs_rs/Cargo.toml (13)
M common/protected_fs_rs/build.rs (9)
M common/protected_fs_rs/protected_fs_c/sgx_tprotected_fs.edl (4)
M common/protected_fs_rs/src/deps.rs (28)
M common/protected_fs_rs/src/lib.rs (3)
M common/protected_fs_rs/src/protected_fs.rs (46)
M common/protected_fs_rs/src/sgx_fs_inner.rs (28)
M common/protected_fs_rs/src/sgx_tprotected_fs.rs (93)
M common/rusty_leveldb_sgx/Cargo.toml (11)
M common/rusty_leveldb_sgx/src/block.rs (3)
M common/rusty_leveldb_sgx/src/block_builder.rs (3)
M common/rusty_leveldb_sgx/src/blockhandle.rs (1)
M common/rusty_leveldb_sgx/src/cache.rs (3)
M common/rusty_leveldb_sgx/src/cmp.rs (3)
M common/rusty_leveldb_sgx/src/db_impl.rs (3)
M common/rusty_leveldb_sgx/src/db_iter.rs (3)
M common/rusty_leveldb_sgx/src/disk_env.rs (5)
M common/rusty_leveldb_sgx/src/env.rs (2)
M common/rusty_leveldb_sgx/src/env_common.rs (4)
M common/rusty_leveldb_sgx/src/error.rs (6)
M common/rusty_leveldb_sgx/src/filter.rs (3)
M common/rusty_leveldb_sgx/src/filter_block.rs (7)
M common/rusty_leveldb_sgx/src/infolog.rs (3)
M common/rusty_leveldb_sgx/src/key_types.rs (3)
M common/rusty_leveldb_sgx/src/lib.rs (6)
M common/rusty_leveldb_sgx/src/log.rs (2)
M common/rusty_leveldb_sgx/src/mem_env.rs (4)
M common/rusty_leveldb_sgx/src/memtable.rs (3)
M common/rusty_leveldb_sgx/src/merging_iter.rs (3)
M common/rusty_leveldb_sgx/src/options.rs (3)
M common/rusty_leveldb_sgx/src/skipmap.rs (3)
M common/rusty_leveldb_sgx/src/snapshot.rs (1)
M common/rusty_leveldb_sgx/src/table_block.rs (3)
M common/rusty_leveldb_sgx/src/table_builder.rs (3)
M common/rusty_leveldb_sgx/src/table_cache.rs (2)
M common/rusty_leveldb_sgx/src/table_reader.rs (3)
M common/rusty_leveldb_sgx/src/test_util.rs (3)
M common/rusty_leveldb_sgx/src/types.rs (2)
M common/rusty_leveldb_sgx/src/version.rs (3)
M common/rusty_leveldb_sgx/src/version_edit.rs (4)
M common/rusty_leveldb_sgx/src/version_set.rs (3)
M common/rusty_leveldb_sgx/src/write_batch.rs (3)
M config/Cargo.toml (6)
M config/build.rs (5)
M config/config_gen/Cargo.lock (140)
M config/config_gen/Cargo.toml (2)
M config/config_gen/main.rs (16)
M config/src/lib.rs (5)
M config/src/runtime.rs (2)
M crypto/Cargo.toml (7)
M crypto/src/lib.rs (10)
M