## Description This PR introduce some changes on the services: - Support Ubuntu 20.04 docker image - Support intermediate cert in DCAP attestation cert - Fix RPC error handling - Informative logs - Fix reuse port issue - Port probing for service launching - New APIs for authentication service
## Type of change (select or add applied and delete the others) - [x] Bug fix (non-breaking change which fixes an issue) - [x] New feature (non-breaking change which adds functionality) - [x] 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 test: https://ci.mesalock-linux.org/mssun/incubator-teaclave/112 ## Checklist - [x] Fork the repo and create your branch from `master`. - [x] If you've added code that should be tested, add tests. - [x] If you'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/602 -- Commit Summary -- * Support Ubuntu 20.04 docker image * Support intermediate cert in DCAP attesation cert * Update Authentication APIs * Fix RPC error handling * Fix leveldb assertion issue * Informative log in the context * Informative log in the file agent * Update docker images * Fix testing issue * cmake: use SIGKILL for cleanup * Set reuse port in RPC server * Informative log in the file agent * Add port probe for service launching * Use _exit in simulation mode * Fix clippy issue * Set timeout for port probing function * make format * Fix race condition in canceling task -- File Changes -- M .drone.yml (207) M .github/workflows/ci.yml (44) M attestation/src/lib.rs (13) M attestation/src/platform.rs (15) M attestation/src/report.rs (53) M attestation/src/service.rs (7) M attestation/src/verifier.rs (8) M cli/src/main.rs (6) M cmake/scripts/cargo_build_ex.sh (1) M cmake/scripts/test.sh (36) M common/rusty_leveldb_sgx/src/log.rs (3) M dcap/Rocket.toml (4) M dcap/src/main.rs (39) M docker/build.ubuntu-1804.sgx-2.14.Dockerfile (6) M docker/build.ubuntu-1804.sgx-dcap-1.11.Dockerfile (6) A docker/build.ubuntu-2004.sgx-2.15.1.Dockerfile (136) A docker/build.ubuntu-2004.sgx-dcap-1.12.1.Dockerfile (144) A docker/docker-compose-ubuntu-2004.yml (198) A docker/teaclave-rt.ubuntu-2004.Dockerfile (81) M examples/python/builtin_echo.py (1) M examples/python/builtin_face_detection.py (1) M examples/python/builtin_gbdt_train.py (1) M examples/python/builtin_online_decrypt.py (1) M examples/python/builtin_ordered_set_intersect.py (3) M examples/python/builtin_password_check.py (3) M examples/python/builtin_private_join_and_compute.py (4) M examples/python/mesapy_deadloop_cancel.py (8) M examples/python/mesapy_echo.py (1) M examples/python/mesapy_logistic_reg.py (5) M examples/python/utils.py (1) M examples/python/wasm_c_simple_add.py (1) M examples/python/wasm_rust_psi.py (3) M examples/python/wasm_tvm_mnist_payload/Cargo.lock (519) M executor/context/src/context.rs (66) M file_agent/src/agent.rs (9) M rpc/Cargo.toml (2) M rpc/src/lib.rs (1) M rpc/src/server.rs (16) M rpc/src/transport.rs (10) M sdk/python/teaclave.py (448) M services/authentication/enclave/Cargo.toml (1) M services/authentication/enclave/src/api_service.rs (340) M services/authentication/enclave/src/internal_service.rs (4) M services/authentication/enclave/src/lib.rs (21) M services/authentication/enclave/src/user_db.rs (125) M services/authentication/enclave/src/user_info.rs (9) M services/execution/enclave/src/lib.rs (7) M services/management/enclave/src/service.rs (36) M services/proto/src/proto/teaclave_authentication_service.proto (32) M services/proto/src/teaclave_authentication_service.rs (208) M services/scheduler/enclave/src/service.rs (50) M services/utils/service_app_utils/src/lib.rs (16) M services/utils/service_enclave_utils/Cargo.toml (1) M services/utils/service_enclave_utils/src/lib.rs (39) A tests/fixtures/dcap_root_ca_cert.der (0) M tests/fixtures/tls_ra_cert_v4.der (0) M tests/integration/enclave/src/rusty_leveldb_sgx.rs (50) M tests/scripts/functional_tests.py (20) M tests/scripts/simple_http_server.py (1) M tests/utils/src/lib.rs (26) M types/src/task_state.rs (8) M types/src/user.rs (6) -- Patch Links -- https://github.com/apache/incubator-teaclave/pull/602.patch https://github.com/apache/incubator-teaclave/pull/602.diff -- Reply to this email directly or view it on GitHub: https://github.com/apache/incubator-teaclave/pull/602 You are receiving this because you are subscribed to this thread. Message ID: <apache/incubator-teaclave/pull/[email protected]>
