This is an automated email from the ASF dual-hosted git repository.
hsun pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-teaclave.git
from f6ab0a9a Bump version to 0.5.1
new 1db660d3 Update rustls
new ded9444d Replace rpc with tonic grpc
new 014059a2 Update python sdk and examples
new 9b664385 Replace empty requests and responses with
"google/protobuf/empty.proto"
The 4 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
.gitignore | 3 +
attestation/Cargo.toml | 2 +-
cli/Cargo.toml | 2 +-
cmake/scripts/test.sh | 18 +-
cmake/tomls/Cargo.sgx_trusted_lib.lock | 907 ++++++++---
cmake/tomls/Cargo.sgx_trusted_lib.toml | 2 +
cmake/tomls/Cargo.sgx_untrusted_app.lock | 417 ++++-
cmake/tomls/Cargo.sgx_untrusted_app.toml | 1 -
cmake/tomls/Cargo.unix_app.lock | 348 +++-
cmake/tomls/Cargo.unix_app.toml | 1 -
config/runtime.config.toml | 12 +-
docs/service-internals.md | 22 +-
examples/README.md | 10 +-
examples/c/utils.h | 4 +-
examples/python/builtin_face_detection.py | 4 -
examples/python/builtin_gbdt_train.py | 2 -
examples/python/builtin_online_decrypt.py | 1 -
examples/python/builtin_ordered_set_intersect.py | 15 +-
examples/python/builtin_password_check.py | 15 +-
.../python/builtin_private_join_and_compute.py | 15 +-
examples/python/builtin_rsa_sign.py | 6 +-
examples/python/mesapy_deadloop_cancel.py | 3 +-
examples/python/mesapy_echo.py | 2 +-
examples/python/mesapy_logistic_reg.py | 15 +-
examples/python/requirements.txt | 3 +
examples/python/test_disable_function.py | 6 +-
examples/python/utils.py | 7 +-
examples/python/wasm_c_simple_add.py | 2 +-
examples/python/wasm_rust_psi.py | 15 +-
examples/rust/builtin_echo/Cargo.lock | 812 +++++++++-
examples/rust/builtin_echo/src/main.rs | 4 +-
.../rust/builtin_ordered_set_intersect/Cargo.lock | 812 +++++++++-
.../rust/builtin_ordered_set_intersect/src/main.rs | 6 +-
rpc/Cargo.toml | 19 +-
rpc/README.md | 50 +-
rpc/proc_macro/Cargo.toml | 31 -
rpc/proc_macro/src/lib.rs | 46 -
rpc/src/channel.rs | 66 -
rpc/src/config.rs | 25 +-
rpc/src/endpoint.rs | 51 -
rpc/src/interceptor.rs | 61 +
rpc/src/lib.rs | 34 +-
.../service_enclave_utils => rpc}/src/macros.rs | 15 +-
rpc/src/protocol.rs | 139 --
rpc/src/request.rs | 66 -
rpc/src/server.rs | 129 --
rpc/src/transport.rs | 119 --
rpc/src/utils.rs | 26 -
sdk/python/teaclave.py | 760 ++++-----
sdk/rust/Cargo.lock | 831 +++++++++-
sdk/rust/Cargo.toml | 21 +-
sdk/rust/src/lib.rs | 471 +++---
services/access_control/enclave/Cargo.toml | 1 +
services/access_control/enclave/src/error.rs | 5 +-
services/access_control/enclave/src/lib.rs | 54 +-
services/access_control/enclave/src/service.rs | 130 +-
services/authentication/enclave/Cargo.toml | 2 +-
services/authentication/enclave/src/api_service.rs | 368 +++--
services/authentication/enclave/src/error.rs | 11 +-
.../authentication/enclave/src/internal_service.rs | 67 +-
services/authentication/enclave/src/lib.rs | 117 +-
services/execution/app/Cargo.toml | 4 +-
services/execution/app/src/main.rs | 10 +-
services/execution/enclave/Cargo.toml | 3 +-
services/execution/enclave/src/ecall.rs | 11 +-
services/execution/enclave/src/lib.rs | 13 +-
services/execution/enclave/src/service.rs | 80 +-
services/frontend/enclave/Cargo.toml | 15 +-
services/frontend/enclave/src/error.rs | 13 +-
services/frontend/enclave/src/lib.rs | 45 +-
services/frontend/enclave/src/service.rs | 168 +-
services/management/enclave/Cargo.toml | 1 +
services/management/enclave/src/error.rs | 18 +-
services/management/enclave/src/lib.rs | 58 +-
services/management/enclave/src/service.rs | 527 +++---
services/proto/Cargo.toml | 13 +-
services/proto/build.rs | 54 +-
services/proto/proto_gen/Cargo.lock | 755 ---------
services/proto/proto_gen/Cargo.toml | 37 -
services/proto/proto_gen/main.rs | 121 --
services/proto/proto_gen/templates/proto.j2 | 129 --
.../proto/teaclave_authentication_service.proto | 17 +-
.../src/proto/teaclave_frontend_service.proto | 26 +-
.../src/proto/teaclave_management_service.proto | 13 +-
.../src/proto/teaclave_scheduler_service.proto | 14 +-
.../proto/src/proto/teaclave_storage_service.proto | 14 +-
.../proto/src/teaclave_access_control_service.rs | 230 +--
.../proto/src/teaclave_authentication_service.rs | 417 +----
services/proto/src/teaclave_common.rs | 29 +-
services/proto/src/teaclave_frontend_service.rs | 1695 +++-----------------
services/proto/src/teaclave_management_service.rs | 13 +-
services/proto/src/teaclave_scheduler_service.rs | 308 +---
services/proto/src/teaclave_storage_service.rs | 299 +---
services/scheduler/enclave/Cargo.toml | 1 +
services/scheduler/enclave/src/error.rs | 12 +-
services/scheduler/enclave/src/lib.rs | 71 +-
services/scheduler/enclave/src/publisher.rs | 48 +-
services/scheduler/enclave/src/service.rs | 213 ++-
services/storage/enclave/Cargo.toml | 1 +
services/storage/enclave/src/error.rs | 11 +-
services/storage/enclave/src/lib.rs | 55 +-
services/storage/enclave/src/proxy.rs | 74 +-
services/storage/enclave/src/service.rs | 119 +-
services/utils/service_enclave_utils/Cargo.toml | 4 +-
.../service_enclave_utils/proc_macro/Cargo.toml | 33 -
.../service_enclave_utils/proc_macro/src/lib.rs | 57 -
services/utils/service_enclave_utils/src/lib.rs | 36 +-
tests/functional/enclave/Cargo.toml | 2 +
tests/functional/enclave/Enclave.config.xml | 2 +-
.../enclave/src/access_control_service.rs | 122 +-
.../enclave/src/authentication_service.rs | 165 +-
.../enclave/src/end_to_end/builtin_echo.rs | 38 +-
.../enclave/src/end_to_end/builtin_gbdt_train.rs | 91 +-
.../enclave/src/end_to_end/mesapy_data_fusion.rs | 157 +-
.../enclave/src/end_to_end/mesapy_echo.rs | 44 +-
tests/functional/enclave/src/end_to_end/mod.rs | 39 +-
tests/functional/enclave/src/execution_service.rs | 27 +-
tests/functional/enclave/src/frontend_service.rs | 388 +++--
tests/functional/enclave/src/lib.rs | 7 +-
tests/functional/enclave/src/management_service.rs | 463 +++---
tests/functional/enclave/src/scheduler_service.rs | 57 +-
tests/functional/enclave/src/storage_service.rs | 109 +-
tests/functional/enclave/src/utils.rs | 187 ++-
tests/integration/enclave/Cargo.toml | 10 -
tests/integration/enclave/src/lib.rs | 7 +-
tests/integration/enclave/src/teaclave_rpc.rs | 141 --
tests/scripts/functional_tests.py | 131 +-
tests/utils/Cargo.toml | 2 +
tests/utils/proc_macro/Cargo.toml | 4 +-
tests/utils/proc_macro/src/lib.rs | 37 +-
tests/utils/src/lib.rs | 70 +-
types/Cargo.toml | 1 +
types/src/error.rs | 19 +-
worker/src/worker.rs | 10 +-
134 files changed, 7158 insertions(+), 8266 deletions(-)
delete mode 100644 rpc/proc_macro/Cargo.toml
delete mode 100644 rpc/proc_macro/src/lib.rs
delete mode 100644 rpc/src/channel.rs
delete mode 100644 rpc/src/endpoint.rs
create mode 100644 rpc/src/interceptor.rs
copy {services/utils/service_enclave_utils => rpc}/src/macros.rs (81%)
delete mode 100644 rpc/src/protocol.rs
delete mode 100644 rpc/src/request.rs
delete mode 100644 rpc/src/server.rs
delete mode 100644 rpc/src/transport.rs
delete mode 100644 rpc/src/utils.rs
delete mode 100644 services/proto/proto_gen/Cargo.lock
delete mode 100644 services/proto/proto_gen/Cargo.toml
delete mode 100644 services/proto/proto_gen/main.rs
delete mode 100644 services/proto/proto_gen/templates/proto.j2
delete mode 100644 services/utils/service_enclave_utils/proc_macro/Cargo.toml
delete mode 100644 services/utils/service_enclave_utils/proc_macro/src/lib.rs
delete mode 100644 tests/integration/enclave/src/teaclave_rpc.rs
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]