You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@teaclave.apache.org by Mingshen Sun <no...@github.com.INVALID> on 2021/07/07 17:44:08 UTC

[apache/incubator-teaclave] Update to Teaclave SGX SDK 1.1.3 and corresponding dependencies (#520)

## Description

- Update Teaclave SGX SDK to 1.1.3.
- Update corresponding vendored crates including `crates-sgx` and `crates-io`.
- Update Rust to version nightly-2020-10-25.
- Update Intel SGX SDK to version 2.12.100.3, DCAP to 1.9.100.3.
- Update Dockerfile and images on Dockerhub to support CI and normal building usage, update corresponding document.
- Fix all linting issues introduced by the new toolchain.
- Delete `/Cargo.toml` and `**/Cargo.lock` in `gitignore` to track changes in `Cargo.lock` to avoid any building issue caused by the unneccessary `Cargo.lock` file.

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

Dependency update.

## How has this been tested?

Tests in CI (simulation mode and SGX)

## Checklist

- [x] Fork the repo and create your branch from `master`.
- [x] If you&#39;ve added code that should be tested, add tests.
- [x] If you&#39;ve 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/520

-- Commit Summary --

  * Update to SGX SDK 1.1.3
  * Update docker
  * Fix linting issues
  * Update CI script
  * Fix dcap building issue
  * Check return values of function calls
  * Fixing dcap device mapping
  * Do not ignore Cargo.lock/Cargo.toml to avoid the build system is messed up

-- File Changes --

    M .drone.yml (72)
    M .github/workflows/ci.yml (8)
    M .github/workflows/codeql-analysis.yml (2)
    M .gitignore (4)
    M CMakeLists.txt (6)
    M attestation/Cargo.toml (14)
    M attestation/src/cert.rs (1)
    M attestation/src/lib.rs (2)
    M attestation/src/service.rs (4)
    M binder/Cargo.toml (6)
    M binder/src/error.rs (3)
    M binder/src/ipc/app.rs (1)
    M cli/Cargo.toml (2)
    M cmake/tomls/Cargo.sgx_trusted_lib.toml (30)
    M cmake/tomls/Cargo.sgx_untrusted_app.toml (8)
    M cmake/tomls/Cargo.unix_app.toml (6)
    A common/protected_fs_rs/Cargo.lock (132)
    M common/protected_fs_rs/Cargo.toml (6)
    M common/protected_fs_rs/protected_fs_c/sgx_tprotected_fs/non_sgx_protected_fs.cpp (12)
    M common/rusty_leveldb_sgx/Cargo.toml (8)
    M config/Cargo.toml (2)
    A config/config_gen/Cargo.lock (430)
    M crypto/Cargo.toml (2)
    M dcap/Cargo.toml (8)
    R docker/build.ubuntu-1804.sgx-2.12.Dockerfile (8)
    R docker/build.ubuntu-1804.sgx-dcap-1.9.Dockerfile (18)
    M docker/teaclave-rt.ubuntu-1804.Dockerfile (6)
    M docs/azure-confidential-computing.md (2)
    M docs/my-first-function.md (4)
    M examples/c/Makefile (1)
    A examples/python/wasm_rust_psi_payload/Cargo.lock (12)
    A examples/rust/builtin_echo/Cargo.lock (925)
    M examples/rust/builtin_echo/Cargo.toml (3)
    A examples/rust/builtin_ordered_set_intersect/Cargo.lock (925)
    M examples/rust/builtin_ordered_set_intersect/Cargo.toml (3)
    M executor/Cargo.toml (6)
    A file_agent/Cargo.lock (1461)
    M file_agent/Cargo.toml (2)
    M function/Cargo.toml (8)
    M function/src/face_detection.rs (2)
    M rpc/Cargo.toml (4)
    M rpc/src/protocol.rs (3)
    M runtime/Cargo.toml (6)
    A sdk/rust/Cargo.lock (916)
    M sdk/rust/Cargo.toml (3)
    M services/access_control/enclave/Cargo.toml (4)
    M services/authentication/enclave/Cargo.toml (6)
    M services/authentication/enclave/src/internal_service.rs (6)
    M services/authentication/enclave/src/user_info.rs (6)
    M services/execution/enclave/Cargo.toml (6)
    M services/frontend/enclave/Cargo.toml (4)
    M services/management/enclave/Cargo.toml (4)
    M services/management/enclave/src/service.rs (2)
    M services/proto/Cargo.toml (8)
    A services/proto/proto_gen/Cargo.lock (610)
    M services/proto/src/teaclave_frontend_service.rs (8)
    M services/scheduler/enclave/Cargo.toml (6)
    M services/storage/enclave/Cargo.toml (4)
    M services/utils/service_enclave_utils/Cargo.toml (6)
    M tests/fixtures/functions/face_detection/input.jpg (0)
    M tests/functional/app/Cargo.toml (2)
    M tests/functional/enclave/Cargo.toml (4)
    M tests/functional/enclave/src/execution_service.rs (2)
    M tests/functional/enclave/src/scheduler_service.rs (4)
    M tests/integration/app/Cargo.toml (2)
    M tests/integration/enclave/Cargo.toml (4)
    M tests/unit/app/Cargo.toml (2)
    M tests/unit/enclave/Cargo.toml (4)
    M tests/utils/Cargo.toml (2)
    M third_party/crates-io (2)
    M third_party/crates-sgx (2)
    M third_party/rust-sgx-sdk (2)
    M tool/app/Cargo.toml (2)
    M tool/enclave/Cargo.toml (6)
    M types/Cargo.toml (4)
    M types/src/error.rs (3)
    M types/src/task.rs (5)
    M worker/Cargo.toml (6)

-- Patch Links --

https://github.com/apache/incubator-teaclave/pull/520.patch
https://github.com/apache/incubator-teaclave/pull/520.diff

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

Re: [apache/incubator-teaclave] Update to Teaclave SGX SDK 1.1.3 and corresponding dependencies (#520)

Posted by Mingshen Sun <no...@github.com.INVALID>.
Merged #520 into master.

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