Re: [apache/incubator-teaclave] Fix privilege issue (PR #636)

2022-03-18 Thread Mingshen Sun
Merged #636 into master. -- Reply to this email directly or view it on GitHub: https://github.com/apache/incubator-teaclave/pull/636#event-6267545871 You are receiving this because you are subscribed to this thread. Message ID:

[apache/incubator-teaclave] Fix privilege issue (PR #636)

2022-03-18 Thread Mingshen Sun
## Description Fix privilege issues. - fix inconsistency of GetFunction and ListFunctions interfaces - add GetKeysByPrefix interface to the storage service to help the fix Fixes #624 ## Type of change (select or add applied and delete the others) - [x] Bug fix (non-breaking change which fixes

Re: [apache/incubator-teaclave] Fix unclosed files in pyscripts (PR #635)

2022-03-17 Thread Mingshen Sun
Merged #635 into master. -- Reply to this email directly or view it on GitHub: https://github.com/apache/incubator-teaclave/pull/635#event-6264021605 You are receiving this because you are subscribed to this thread. Message ID:

[Scheduled] Teaclave Meetup #11

2022-03-16 Thread Mingshen Sun
This time, we're glad to invite Shuang Liu to talk about HyperEnclave in Ant. Here is the schedule of the meetup: - Recent Updates on Teaclave - Mingshen Sun (10m) - HyperEnclave - Shuang Liu (40m) - Free discussion (10m) I also created a Google Calendar [1] for the recurring events. Please subscribe

Re: Please remove superseded releases from dist areas

2022-03-15 Thread Mingshen Sun
Thanks, Sebb. Teaclave has resolved this issue and updated the download page. Mingshen On Tue, Mar 15, 2022 at 10:50 AM sebb wrote: > > Several podlings have multiple releases under the dist/release area. > Old versions should please be removed shortly after the next version > has been

Re: [apache/incubator-teaclave] Fix a message typo of TeaclaveException (PR #633)

2022-03-14 Thread Mingshen Sun
Merged #633 into master. -- Reply to this email directly or view it on GitHub: https://github.com/apache/incubator-teaclave/pull/633#event-6238928328 You are receiving this because you are subscribed to this thread. Message ID:

Re: [apache/incubator-teaclave] Fix a message typo of TeaclaveException (PR #633)

2022-03-12 Thread Mingshen Sun
The format pipeline seems failed: https://github.com/apache/incubator-teaclave/runs/5526163805?check_suite_focus=true Please use `make format` to format the code. Thanks! -- Reply to this email directly or view it on GitHub:

Re: [apache/incubator-teaclave] Update teaclave SDK (PR #632)

2022-03-06 Thread Mingshen Sun
Merged #632 into master. -- Reply to this email directly or view it on GitHub: https://github.com/apache/incubator-teaclave/pull/632#event-6190978815 You are receiving this because you are subscribed to this thread. Message ID:

Re: [apache/incubator-teaclave] Build error with DCAP = ON (Issue #630)

2022-03-03 Thread Mingshen Sun
Which docker image are you using? For DCAP, please use `teaclave/teaclave-build-ubuntu-1804-sgx-dcap-1.11:0.1.5` instead. -- Reply to this email directly or view it on GitHub: https://github.com/apache/incubator-teaclave/issues/630#issuecomment-1058885259 You are receiving this because you are

Fwd: [ACTION REQUIRED] Time to create GSoC ideas

2022-03-02 Thread Mingshen Sun
Hi Teacalve Community, As an Apache incubator project, Teaclave can also participate in GSoC. For all potential/eligible contributors, please let us know your interests. You can also propose GSoC ideas for mentorship here: https://cwiki.apache.org/confluence/display/COMDEV/GSoC+2022+Ideas+list

Re: [apache/incubator-teaclave] [Add] Support AES-GCM output files. (PR #629)

2022-02-27 Thread Mingshen Sun
Merged #629 into master. -- Reply to this email directly or view it on GitHub: https://github.com/apache/incubator-teaclave/pull/629#event-6150919170 You are receiving this because you are subscribed to this thread. Message ID:

Re: [apache/incubator-teaclave] update WAMR (PR #608)

2022-02-25 Thread Mingshen Sun
Closed #608. -- Reply to this email directly or view it on GitHub: https://github.com/apache/incubator-teaclave/pull/608#event-6141846606 You are receiving this because you are subscribed to this thread. Message ID:

Teaclave (Virtual) Meetup #10 - 7-8pm, Feb 24, 2022 PT

2022-02-23 Thread Mingshen Sun
, we're glad to invite Hongbo Chen to talk about his recent work on Proof of Being Forgotten. Here is the schedule of the meetup: - Recent Updates on Teaclave - Mingshen Sun (15m) - Proof of Being Forgotten: Verified Privacy Protection in Confidential Computing Platform - Hongbo Chen (30m) - Free

Re: [apache/incubator-teaclave] Polish service errors (PR #628)

2022-02-18 Thread Mingshen Sun
Merged #628 into master. -- Reply to this email directly or view it on GitHub: https://github.com/apache/incubator-teaclave/pull/628#event-6101216387 You are receiving this because you are subscribed to this thread. Message ID:

[apache/incubator-teaclave] Polish service errors (PR #628)

2022-02-17 Thread Mingshen Sun
## Description Polish storage, management, and scheduler service errors for more meaningful errors messages in services and to end users as well. ## Type of change (select or add applied and delete the others) Polishing errors in storage, management and scheduler services. ## How has this

Re: [apache/incubator-teaclave] Fix generate testing code coverage (PR #627)

2022-02-16 Thread Mingshen Sun
Merged #627 into master. -- Reply to this email directly or view it on GitHub: https://github.com/apache/incubator-teaclave/pull/627#event-6088075986 You are receiving this because you are subscribed to this thread. Message ID:

[apache/incubator-teaclave] Fix generate testing code coverage (PR #627)

2022-02-16 Thread Mingshen Sun
## Description Fix inaccuracy of the coverage report. There three main reasons: - use llvm-cov-11 instead of the default llvm (which may be llvm 10) - increase heap and stack for the enclave of the integration test - exclude some unnecessary when capture the coverage info The new coverage result

Re: [apache/incubator-teaclave] fix(docker): fix detect device file with symlink (PR #626)

2022-02-16 Thread Mingshen Sun
Merged #626 into master. -- Reply to this email directly or view it on GitHub: https://github.com/apache/incubator-teaclave/pull/626#event-6087073495 You are receiving this because you are subscribed to this thread. Message ID:

[apache/incubator-teaclave] fix(docker): fix detect device file with symlink (PR #626)

2022-02-15 Thread Mingshen Sun
## Description Fix the `run-teaclave-services.sh` script. If files in `/dev/sgx` are symlinks, the current implementation will fail. ## Type of change (select or add applied and delete the others) - [x] Bug fix (non-breaking change which fixes an issue) ## How has this been tested? Run

Re: [apache/incubator-teaclave] Fix typos in sdk (PR #625)

2022-02-14 Thread Mingshen Sun
Merged #625 into master. -- Reply to this email directly or view it on GitHub: https://github.com/apache/incubator-teaclave/pull/625#event-6069802214 You are receiving this because you are subscribed to this thread. Message ID:

Re: [apache/incubator-teaclave] Polish authentication error (PR #618)

2022-02-11 Thread Mingshen Sun
Merged #618 into master. -- Reply to this email directly or view it on GitHub: https://github.com/apache/incubator-teaclave/pull/618#event-6052919402 You are receiving this because you are subscribed to this thread. Message ID:

[apache/incubator-teaclave] Polish frontend error (PR #623)

2022-02-10 Thread Mingshen Sun
## Description Make frontend error more precise to end users. ## Type of change (select or add applied and delete the others) Code polishing. ## How has this been tested? https://ci.mesalock-linux.org/mssun/incubator-teaclave/149/ ## Checklist - [x] Fork the repo and create your branch from

Re: [apache/incubator-teaclave] Fix certification verification issue (PR #622)

2022-02-09 Thread Mingshen Sun
Merged #622 into master. -- Reply to this email directly or view it on GitHub: https://github.com/apache/incubator-teaclave/pull/622#event-6038587282 You are receiving this because you are subscribed to this thread. Message ID:

Re: [apache/incubator-teaclave] [Services] add disable function (PR #620)

2022-02-09 Thread Mingshen Sun
Merged #620 into master. -- Reply to this email directly or view it on GitHub: https://github.com/apache/incubator-teaclave/pull/620#event-6038378616 You are receiving this because you are subscribed to this thread. Message ID:

[apache/incubator-teaclave] Fix certification verification issue (PR #622)

2022-02-09 Thread Mingshen Sun
## Description Fix certification verification issue. ## Type of change (select or add applied and delete the others) - [x] Bug fix (non-breaking change which fixes an issue) ## How has this been tested? https://ci.mesalock-linux.org/mssun/incubator-teaclave/145 ## Checklist - [x] Fork the

[apache/incubator-teaclave] Polish authentication error (PR #618)

2022-02-08 Thread Mingshen Sun
## Description The current error handling is a bit confused. I suggest to use the following implementation conventions. Lets use the authentication service as an example: - `AuthenticationServiceError`: errors that will be propagated to the end users ## Type of change (select or add applied

Re: [apache/incubator-teaclave] Add shell script style (Issue #612)

2022-02-08 Thread Mingshen Sun
Another useful tool `shfmt`: https://github.com/mvdan/sh -- Reply to this email directly or view it on GitHub: https://github.com/apache/incubator-teaclave/issues/612#issuecomment-1032965168 You are receiving this because you are subscribed to this thread. Message ID:

Re: [apache/incubator-teaclave] Update WAMR version to WAMR-01-18-2022 (PR #616)

2022-02-07 Thread Mingshen Sun
Merged #616 into master. -- Reply to this email directly or view it on GitHub: https://github.com/apache/incubator-teaclave/pull/616#event-6024358802 You are receiving this because you are subscribed to this thread. Message ID:

Re: [apache/incubator-teaclave] Pin pyopenssl version for 1804 docker (PR #615)

2022-02-07 Thread Mingshen Sun
Merged #615 into master. -- Reply to this email directly or view it on GitHub: https://github.com/apache/incubator-teaclave/pull/615#event-6024356645 You are receiving this because you are subscribed to this thread. Message ID:

[apache/incubator-teaclave] Ignore rustflags set by the build system when compiling wasm payload (PR #617)

2022-02-07 Thread Mingshen Sun
## Description Ignore rustflags set by the build system when compiling wasm payload. ## Type of change (select or add applied and delete the others) - [x] Bug fix (non-breaking change which fixes an issue) ## How has this been tested? https://ci.mesalock-linux.org/mssun/incubator-teaclave/139

[apache/incubator-teaclave] Update WAMR version to WAMR-01-18-2022 (PR #616)

2022-02-07 Thread Mingshen Sun
## Description Update WAMR version to WAMR-01-18-2022 ## Type of change (select or add applied and delete the others) Sync upstream. ## How has this been tested? https://ci.mesalock-linux.org/mssun/incubator-teaclave/140 ## Checklist - [x] Fork the repo and create your branch from `master`.

[apache/incubator-teaclave] Pin pyopenssl version for 1804 docker (PR #615)

2022-02-07 Thread Mingshen Sun
## Description Pin pyopenssl version for 1804 docker to avoid compatibility issue. ## Type of change (select or add applied and delete the others) - [x] Bug fix (non-breaking change which fixes an issue) - [ ] New feature (non-breaking change which adds functionality) - [ ] Breaking change (fix

Re: [apache/incubator-teaclave] fix ide scripts; users can run ide.sh from any cwd (PR #609)

2022-02-07 Thread Mingshen Sun
Merged #609 into master. -- Reply to this email directly or view it on GitHub: https://github.com/apache/incubator-teaclave/pull/609#event-6022815275 You are receiving this because you are subscribed to this thread. Message ID:

Re: [apache/incubator-teaclave] [test] fix cancel task tests (PR #614)

2022-02-07 Thread Mingshen Sun
Merged #614 into master. -- Reply to this email directly or view it on GitHub: https://github.com/apache/incubator-teaclave/pull/614#event-6022720819 You are receiving this because you are subscribed to this thread. Message ID:

[apache/incubator-teaclave] Testing code coverage report issue (Issue #613)

2022-02-04 Thread Mingshen Sun
Recently, I generated a test coverage report. The line coverage is down to about 60%. The report is uploaded to coveralls here: https://coveralls.io/builds/46247974. I notice something wrong with the report. Some lines should be covered but not shown in the report. Still no idea what cause

Re: [apache/incubator-teaclave] Add shell script style (Issue #612)

2022-02-04 Thread Mingshen Sun
The shellcheck will be helpful for the issue: https://github.com/koalaman/shellcheck -- Reply to this email directly or view it on GitHub: https://github.com/apache/incubator-teaclave/issues/612#issuecomment-1030254748 You are receiving this because you are subscribed to this thread. Message

Re: [apache/incubator-teaclave] Support optional input/output files (PR #603)

2022-02-03 Thread Mingshen Sun
Merged #603 into master. -- Reply to this email directly or view it on GitHub: https://github.com/apache/incubator-teaclave/pull/603#event-6007449591 You are receiving this because you are subscribed to this thread. Message ID:

Re: [apache/incubator-teaclave] update WAMR (PR #608)

2022-02-03 Thread Mingshen Sun
I suggest to wrap C APIs into a struct and use `new` and `drop` for resource management. -- Reply to this email directly or view it on GitHub: https://github.com/apache/incubator-teaclave/pull/608#issuecomment-1029454074 You are receiving this because you are subscribed to this thread. Message

Re: [apache/incubator-teaclave] fix: code coverage report generation (PR #611)

2022-02-03 Thread Mingshen Sun
Merged #611 into master. -- Reply to this email directly or view it on GitHub: https://github.com/apache/incubator-teaclave/pull/611#event-6005632486 You are receiving this because you are subscribed to this thread. Message ID:

Re: [apache/incubator-teaclave] Support optional input/output files (PR #603)

2022-02-02 Thread Mingshen Sun
Please rebase to the latest master for CI checking. -- Reply to this email directly or view it on GitHub: https://github.com/apache/incubator-teaclave/pull/603#issuecomment-1028614263 You are receiving this because you are subscribed to this thread. Message ID:

Re: [apache/incubator-teaclave] Fix python sdk (PR #605)

2022-02-02 Thread Mingshen Sun
Merged #605 into master. -- Reply to this email directly or view it on GitHub: https://github.com/apache/incubator-teaclave/pull/605#event-6000277423 You are receiving this because you are subscribed to this thread. Message ID:

Re: [apache/incubator-teaclave] fix: code coverage report generation (PR #606)

2022-02-02 Thread Mingshen Sun
Merged #606 into yu-fix-cov. -- Reply to this email directly or view it on GitHub: https://github.com/apache/incubator-teaclave/pull/606#event-621413 You are receiving this because you are subscribed to this thread. Message ID:

[apache/incubator-teaclave] Export TVM_HOME env var for prebuilt tvm-sys (PR #607)

2022-02-02 Thread Mingshen Sun
## Description Export TVM_HOME env var for prebuilt tvm-sys ## Type of change (select or add applied and delete the others) - [x] Bug fix (non-breaking change which fixes an issue) - [ ] New feature (non-breaking change which adds functionality) - [ ] Breaking change (fix or feature that would

[apache/incubator-teaclave] Add Ubuntu 20.04 pipeline to CI and fix testing concurrent issue (PR #604)

2022-01-31 Thread Mingshen Sun
## Description This PR add a new pipeline and also fix a concurrent issue of testing. ## Type of change (select or add applied and delete the others) - [x] Bug fix (non-breaking change which fixes an issue) - [ ] New feature (non-breaking change which adds functionality) - [ ] Breaking change

Re: [apache/incubator-teaclave] Detail service implementations and add new APIs for the authentication service (PR #602)

2022-01-28 Thread Mingshen Sun
Merged #602 into master. -- Reply to this email directly or view it on GitHub: https://github.com/apache/incubator-teaclave/pull/602#event-5973738930 You are receiving this because you are subscribed to this thread. Message ID:

[apache/incubator-teaclave] Detail service implementations and add new APIs for the authentication service (PR #602)

2022-01-26 Thread Mingshen Sun
## 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

Re: [apache/incubator-teaclave] update Rust and c API for cancel_task (PR #601)

2022-01-26 Thread Mingshen Sun
Merged #601 into master. -- Reply to this email directly or view it on GitHub: https://github.com/apache/incubator-teaclave/pull/601#event-5958834956 You are receiving this because you are subscribed to this thread. Message ID:

Re: [apache/incubator-teaclave] Add watchdog functionalities (PR #600)

2022-01-19 Thread Mingshen Sun
Merged #600 into master. -- Reply to this email directly or view it on GitHub: https://github.com/apache/incubator-teaclave/pull/600#event-5921162065 You are receiving this because you are subscribed to this thread. Message ID:

Re: Podling Teaclave Report Reminder - January 2022

2022-01-12 Thread Mingshen Sun
Hi mentors, Sorry for the late reply. I have complete the report and uploaded to the wiki page: https://cwiki.apache.org/confluence/display/INCUBATOR/January2022#teaclave Also, please kindly help to sign off the report if everything looks good to you. Thanks! Mingshen Sun Here is the report

Re: [apache/incubator-teaclave] [Website] Incorrect archive link (Issue #599)

2022-01-10 Thread Mingshen Sun
Fixed and rendered. Thanks! -- Reply to this email directly or view it on GitHub: https://github.com/apache/incubator-teaclave/issues/599#issuecomment-1009424456 You are receiving this because you are subscribed to this thread. Message ID:

Re: [apache/incubator-teaclave] [Website] Incorrect archive link (Issue #599)

2022-01-10 Thread Mingshen Sun
Closed #599. -- Reply to this email directly or view it on GitHub: https://github.com/apache/incubator-teaclave/issues/599#event-5869287311 You are receiving this because you are subscribed to this thread. Message ID:

Re: [apache/incubator-teaclave] [Website] Incorrect archive link (Issue #599)

2022-01-10 Thread Mingshen Sun
Fixed in this commit: https://github.com/apache/incubator-teaclave-website/commit/1921d33ab1cbe52e4a0045cb2200544b010808f2 The updated page will be rendered soon. -- Reply to this email directly or view it on GitHub:

Re: [apache/incubator-teaclave] Move execution context into a seperate crate (PR #598)

2022-01-08 Thread Mingshen Sun
Merged #598 into master. -- Reply to this email directly or view it on GitHub: https://github.com/apache/incubator-teaclave/pull/598#event-5861002217 You are receiving this because you are subscribed to this thread. Message ID:

Re: Podling Teaclave Report Reminder - January 2022

2022-01-04 Thread Mingshen Sun
Dear Teaclave community, I'll work on this today. Sorry for the delay. Mingshen On Thu, Dec 23, 2021 at 10:20 PM wrote: > > Dear podling, > > This email was sent by an automated system on behalf of the Apache > Incubator PMC. It is an initial reminder to give you plenty of time to > prepare

Re: [apache/incubator-teaclave] Fix target depends to avoid issues in parallel make (PR #596)

2021-12-21 Thread Mingshen Sun
Merged #596 into master. -- Reply to this email directly or view it on GitHub: https://github.com/apache/incubator-teaclave/pull/596#event-5802370712 You are receiving this because you are subscribed to this thread. Message ID:

Re: [apache/incubator-teaclave] Do not generate enclave_info when building teaclave_sgx_tool (PR #595)

2021-12-21 Thread Mingshen Sun
Merged #595 into master. -- Reply to this email directly or view it on GitHub: https://github.com/apache/incubator-teaclave/pull/595#event-5802370085 You are receiving this because you are subscribed to this thread. Message ID:

Re: [apache/incubator-teaclave] Failed to directly build `teaclave_sgx_tool` only from scratch (Issue #576)

2021-12-21 Thread Mingshen Sun
Closed #576 via #595. -- Reply to this email directly or view it on GitHub: https://github.com/apache/incubator-teaclave/issues/576#event-5802370092 You are receiving this because you are subscribed to this thread. Message ID:

[apache/incubator-teaclave] Fix target depends to avoid issues in parallel make (PR #596)

2021-12-21 Thread Mingshen Sun
## Description In a clean clone, you cannot build with `make -j4` because of some target dependency issue. This PR fixes target depends to avoid issues in parallel make. ## Type of change (select or add applied and delete the others) - [x] Bug fix (non-breaking change which fixes an issue) ##

[apache/incubator-teaclave] Do not generate enclave_info when building teaclave_sgx_tool (PR #595)

2021-12-20 Thread Mingshen Sun
## Description Fixes #576 ## Type of change (select or add applied and delete the others) - [x] Bug fix (non-breaking change which fixes an issue) ## How has this been tested? CI test. ## Checklist - [x] Fork the repo and create your branch from `master`. - [x] If youve added code that

Re: [apache/incubator-teaclave] builtin_echo.py exception (Issue #594)

2021-12-20 Thread Mingshen Sun
Closed #594. -- Reply to this email directly or view it on GitHub: https://github.com/apache/incubator-teaclave/issues/594#event-5795485291 You are receiving this because you are subscribed to this thread. Message ID:

Re: [apache/incubator-teaclave] builtin_echo.py exception (Issue #594)

2021-12-20 Thread Mingshen Sun
Thanks! Issue closed. -- Reply to this email directly or view it on GitHub: https://github.com/apache/incubator-teaclave/issues/594#issuecomment-998306435 You are receiving this because you are subscribed to this thread. Message ID:

Re: [apache/incubator-teaclave] About file size (Issue #581)

2021-12-17 Thread Mingshen Sun
Closed #581. -- Reply to this email directly or view it on GitHub: https://github.com/apache/incubator-teaclave/issues/581#event-5787297125 You are receiving this because you are subscribed to this thread. Message ID:

Re: [apache/incubator-teaclave] About file size (Issue #581)

2021-12-17 Thread Mingshen Sun
I'm closing this issue. I believe this question has been solved. -- Reply to this email directly or view it on GitHub: https://github.com/apache/incubator-teaclave/issues/581#issuecomment-997088699 You are receiving this because you are subscribed to this thread. Message ID:

Re: [apache/incubator-teaclave] builtin_echo.py exception (Issue #594)

2021-12-17 Thread Mingshen Sun
Can you try to use the `teaclave_sgx_tool attestation` and see if you can get the attestation report? -- Reply to this email directly or view it on GitHub: https://github.com/apache/incubator-teaclave/issues/594#issuecomment-997088397 You are receiving this because you are subscribed to this

Re: [apache/incubator-teaclave] Inherent Request class for proper json serde (PR #592)

2021-12-15 Thread Mingshen Sun
Merged #592 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/592#event-5774438768

Re: [apache/incubator-teaclave] Fix list functions only show the latest function id (PR #593)

2021-12-15 Thread Mingshen Sun
Merged #593 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/593#event-5774429023

[apache/incubator-teaclave] Fix list functions only show the latest function id (PR #593)

2021-12-14 Thread Mingshen Sun
## Description Fix list functions only show the latest function id ## Type of change (select or add applied and delete the others) - [x] Bug fix (non-breaking change which fixes an issue) ## How has this been tested? CI test. ## Checklist - [x] Fork the repo and create your branch from

[apache/incubator-teaclave] Inherent Request class for proper json serde (PR #592)

2021-12-14 Thread Mingshen Sun
## Description Inherent Request class for proper json serde. ## Type of change (select or add applied and delete the others) - [x] Bug fix (non-breaking change which fixes an issue) ## How has this been tested? CI test. ## Checklist - [x] Fork the repo and create your branch from `master`. -

Re: [apache/incubator-teaclave] Refactor Python client SDK (PR #591)

2021-12-14 Thread Mingshen Sun
Merged #591 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/591#event-5767970004

[apache/incubator-teaclave] Refactor Python client SDK (PR #591)

2021-12-14 Thread Mingshen Sun
## Description Refactor Python client SDK. There are several changes: - Add TeacalveException, raise when needed - Add close channel function and support context manager functions (i.e., `with xxx as:`) - Remove client classes and merge all functions into the service classes - Add a parent class

Re: [apache/incubator-teaclave] Fix DCAP env var check in the prep script (PR #590)

2021-12-14 Thread Mingshen Sun
Merged #590 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/590#event-5767452299

[apache/incubator-teaclave] Fix DCAP env var check in the prep script (PR #590)

2021-12-14 Thread Mingshen Sun
## Description Correctly check if DCAP env var is set as ON. ## Type of change (select or add applied and delete the others) - [x] Bug fix (non-breaking change which fixes an issue) ## How has this been tested? CI test. ## Checklist - [x] Fork the repo and create your branch from `master`. -

Re: [apache/incubator-teaclave] Fix packages rebuild every time (PR #589)

2021-12-14 Thread Mingshen Sun
Merged #589 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/589#event-5766277707

Re: [apache/incubator-teaclave] API updates (PR #588)

2021-12-14 Thread Mingshen Sun
Merged #588 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/588#event-5766254653

Re: [apache/incubator-teaclave-sgx-sdk] What is the difference between this repo and apache/incubator-teaclave? (Issue #365)

2021-12-13 Thread Mingshen Sun
Closed #365. -- 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-sgx-sdk/issues/365#event-5762096893

Re: [apache/incubator-teaclave-sgx-sdk] What is the difference between this repo and apache/incubator-teaclave? (Issue #365)

2021-12-13 Thread Mingshen Sun
Teaclave has several subprojects: - Teaclave: a FaaS confidential computing framework - Teaclave SGX SDK: a Rust SDK for developing SGX apps - Teaclave TrustZone SDK: a Rust SDK for developing TrustZone apps The homepage contains information (SDK introductions, docs, API docs) of these three

[apache/incubator-teaclave] Fix rebuild packages every time (PR #589)

2021-12-13 Thread Mingshen Sun
## Description This PR fix building issue. According to https://github.com/rust-lang/cargo/issues/2904, I enabled cargo log with `CARGO_LOG=cargo::core::compiler::fingerprint=trace` and see this log: ``` [2021-12-14T02:19:39Z INFO cargo::core::compiler::fingerprint] err: RUSTFLAGS has

[apache/incubator-teaclave] API updates (PR #588)

2021-12-13 Thread Mingshen Sun
## Description This PR contains several API changes and bug fixes: ### New APIs and API Updates I added the following APIs to help with function management and user management. **TeaclaveFrontend**: ``` service TeaclaveFrontend { rpc UpdateFunction (UpdateFunctionRequest) returns

Re: [apache/incubator-teaclave] [Fix] Improve log writer and tolerate log reader (PR #587)

2021-12-10 Thread Mingshen Sun
Merged #587 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/587#event-5750910066

Re: [apache/incubator-teaclave] [Fix] DCAP service error. (PR #586)

2021-12-09 Thread Mingshen Sun
Merged #586 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/586#event-5745563697

Re: [apache/incubator-teaclave] Log g_peak_heap_used and g_peak_rsrv_mem_committed when finalizing (PR #584)

2021-12-02 Thread Mingshen Sun
Merged #584 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/584#event-5709167342

Re: [apache/incubator-teaclave] [Mod] Flush DB and compact_range after dequeue operation. (PR #585)

2021-12-02 Thread Mingshen Sun
Merged #585 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/585#event-5709135727

Re: [apache/incubator-teaclave] Add the -b argument to rebuild services (PR #579)

2021-12-02 Thread Mingshen Sun
Merged #579 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/579#event-5709036613

[apache/incubator-teaclave] Log g_peak_heap_used and g_peak_rsrv_mem_committed when finalizing (PR #584)

2021-12-02 Thread Mingshen Sun
## Description Add debug log to print `g_peak_heap_used` and `g_peak_rsrv_mem_committed`. ## Type of change (select or add applied and delete the others) - [x] New feature (non-breaking change which adds functionality) ## How has this been tested? CI. ## Checklist - [x] Fork the repo and

Re: [apache/incubator-teaclave] About file size (Issue #581)

2021-12-01 Thread Mingshen Sun
Thanks for asking this question. First of all, did you evaluate the binary size with the release build? If not, you can add this flag for cmake `-DCMAKE_BUILD_TYPE=Release`. This is what I got for the release build (without stripping): ``` $ find . -name "*.so" | xargs ls -lh -rwxr-xr-x 1 user

Re: [apache/incubator-teaclave] [Add] Service launching in logs and reconnecting warnings. (PR #582)

2021-12-01 Thread Mingshen Sun
Merged #582 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/582#event-5703053895

Re: [apache/incubator-teaclave] [Mod] Persistent MockDB in test mode. (PR #580)

2021-12-01 Thread Mingshen Sun
Merged #580 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/580#event-5702925887

Re: [apache/incubator-teaclave] Fix typo (PR #578)

2021-12-01 Thread Mingshen Sun
Merged #578 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/578#event-5702678877

[apache/incubator-teaclave] Add the -b argument to rebuild services (PR #579)

2021-12-01 Thread Mingshen Sun
## Description Add the `-b` option to `docker/run-teaclave-services.sh` so that user can choose to rebuild all services, i.e., using `--build` argument to `docker-compose`. ## Type of change (select or add applied and delete the others) - [x] New feature (non-breaking change which adds

[apache/incubator-teaclave] Fix typo (PR #578)

2021-12-01 Thread Mingshen Sun
## Description For Swift SDK, we dont need to change the code when merging #577. This PR is fix some typos. ## Type of change (select or add applied and delete the others) - [ ] Bug fix (non-breaking change which fixes an issue) - [ ] New feature (non-breaking change which adds functionality)

Re: [apache/incubator-teaclave] Optimize memory footprint of serde in RPC (PR #577)

2021-12-01 Thread Mingshen Sun
Merged #577 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/577#event-5702298537

Re: Teaclave (Virtual) Meetup #9 - 7-8pm, Nov 30, 2021 PT

2021-12-01 Thread Mingshen Sun
On Mon, Nov 29, 2021 at 11:03 PM Mingshen Sun wrote: > > Dear Teaclave community, > > We'll have the meetup tomorrow. Welcome to join. > > Mingshen > > On Mon, Nov 22, 2021 at 10:27 AM Mingshen Sun wrote: > > > > Dear Teaclave community, > > > > Th

[apache/incubator-teaclave] Optimize memory footprint of serde in RPC (PR #577)

2021-11-30 Thread Mingshen Sun
## Description This PR optimize memory footprint of RPC (i.e., memory used by serde). Serde uses up more than 10x memory to deserialize a json message when using `#[serde(flatten)]` and `#[serde(tag = request]`. In our case, we cannot handle more than 2M message because serde will allocation

Re: Teaclave (Virtual) Meetup #9 - 7-8pm, Nov 30, 2021 PT

2021-11-29 Thread Mingshen Sun
Dear Teaclave community, We'll have the meetup tomorrow. Welcome to join. Mingshen On Mon, Nov 22, 2021 at 10:27 AM Mingshen Sun wrote: > > Dear Teaclave community, > > This is a kind reminder that we will have a meetup *next week*. See you then. > > > Mingshen > >

[RESULT] [VOTE] Release Apache Teaclave TrustZone SDK (incubating) v0.2.0-rc.1

2021-11-27 Thread Mingshen Sun
process on general@. [1] https://teaclave.apache.org/contributors/ Best, Mingshen Sun - To unsubscribe, e-mail: dev-unsubscr...@teaclave.apache.org For additional commands, e-mail: dev-h...@teaclave.apache.org

[apache/incubator-teaclave] Failed to directly build `teaclave_sgx_tool` only from scratch (Issue #576)

2021-11-24 Thread Mingshen Sun
I tried to build, execute, deploy, and use Teaclave like this: ``` docker run --rm -v $(pwd):/teaclave -w /teaclave \ > -it teaclave/teaclave-build-ubuntu-1804-sgx-2.14:latest \ >bash -c ". /root/.cargo/env && \ > . /opt/sgxsdk/environment && \ > mkdir -p build && cd build && \ >

[VOTE] Release Apache Teaclave TrustZone SDK (incubating) v0.2.0-rc.1

2021-11-23 Thread Mingshen Sun
y with things you have checked. A checklist for reference: - https://cwiki.apache.org/confluence/display/INCUBATOR/Incubator+Release+Checklist Best, Mingshen Sun Apache Teaclave (incubating) PPMC https://mssun.me --

Re: Teaclave (Virtual) Meetup #9 - 7-8pm, Nov 30, 2021 PT

2021-11-22 Thread Mingshen Sun
Dear Teaclave community, This is a kind reminder that we will have a meetup *next week*. See you then. Mingshen On Tue, Nov 2, 2021 at 2:37 PM Mingshen Sun wrote: > > Dear Teaclave community, > > We are going to have the 9th monthly Teaclave (virtual) meetup. Since > Novemb

Re: [apache/incubator-teaclave] Add security link flags (PR #575)

2021-11-17 Thread Mingshen Sun
Merged #575 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/575#event-5634882854

[apache/incubator-teaclave] Add security link flags (PR #575)

2021-11-17 Thread Mingshen Sun
## Description Enable RELRO and non-executable stack in linking to enhance security. ## Type of change (select or add applied and delete the others) - [x] New feature (non-breaking change which adds functionality) ## How has this been tested? CI test. ## Checklist - [x] Fork the repo and

<    1   2   3   4   5   6   7   8   9   10   >