[apache/incubator-teaclave] Fix typo in the mailing list (#440)

2020-12-08 Thread Mingshen Sun
## Description Typo in the mailing list. You can view, comment on, or merge this pull request online at: https://github.com/apache/incubator-teaclave/pull/440 -- Commit Summary -- * Fix typo in the mailing list -- File Changes -- M COMMUNITY.md (2) -- Patch Links --

Re: [apache/incubator-teaclave] How solve the runtime error in simulation mode? (#437)

2020-12-07 Thread Mingshen Sun
Can you confirm the `teaclave_frontend_service` file is successfully generated? -- 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/issues/437#issuecomment-740248126

Re: [apache/incubator-teaclave] update old mesatee service name in doc (#438)

2020-12-07 Thread Mingshen Sun
Merged #438 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/438#event-4082161794

Re: [apache/incubator-teaclave] Add recent new contributors to the list (#439)

2020-12-07 Thread Mingshen Sun
Merged #439 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/439#event-4081038604

[apache/incubator-teaclave] Add recent new contributors to the list (#439)

2020-12-06 Thread Mingshen Sun
## Description Add recent new contributors (including both Teaclave SGX SDK and Teaclave projects) to the list. This will be updated to the homepage once merged. You can view, comment on, or merge this pull request online at: https://github.com/apache/incubator-teaclave/pull/439 -- Commit

Re: [apache/incubator-teaclave] update old mesatee service name in doc (#438)

2020-12-03 Thread Mingshen Sun
There are conflicts of your branch. Please rebase your change to the latest upstream master first. Thanks. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub:

Re: [apache/incubator-teaclave] How solve the runtime error in simulation mode? (#437)

2020-12-03 Thread Mingshen Sun
I see "signal: 9, SIGKILL: kill" in your log. I believe this is cause by the out of memory, resulting compilation failed. Please increase your memory if your are using VM in cloud service or docker in Mac. -- You are receiving this because you are subscribed to this thread. Reply to this email

Re: [apache/incubator-teaclave] How solve the runtime error in simulation mode? (#437)

2020-12-02 Thread Mingshen Sun
The `teaclave_frontend_service` is the output of compilation. Seems that your building was failed. Can you check if there are service binaries generated in the `release/services/` direactory? -- You are receiving this because you are subscribed to this thread. Reply to this email directly or

Re: [apache/incubator-teaclave] Correct `libcurl4-openssldev` in the doc (#436)

2020-12-02 Thread Mingshen Sun
Nice catch! Thank you. -- 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/436#issuecomment-737595466

Re: [apache/incubator-teaclave] Correct `libcurl4-openssldev` in the doc (#436)

2020-12-02 Thread Mingshen Sun
Merged #436 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/436#event-4065087557

Re: [apache/incubator-teaclave] 关于ocall、ecall函数的问题 (#435)

2020-11-17 Thread Mingshen Sun
设置 `Enclave.config.xml` 文件中的 `StackMaxSize` 可以调整 SGX enclave 的 stack size。 -- 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/issues/435#issuecomment-729271093

Re: [apache/incubator-teaclave] [community] Add Veracruz (#433)

2020-11-12 Thread Mingshen Sun
Merged #433 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/433#event-3991186210

Re: [apache/incubator-teaclave-sgx-sdk] License of header files in `common/inc` (#277)

2020-11-11 Thread Mingshen Sun
Closed #277. -- 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/277#event-3987208453

Re: [apache/incubator-teaclave-sgx-sdk] Use ported musl libc headers (#284)

2020-11-11 Thread Mingshen Sun
I found that file mode is changed from 100644 → 100755. -- 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/pull/284#issuecomment-725873630

Re: [apache/incubator-teaclave] [cli] Add the attest subcommand to display attestation report (#432)

2020-11-06 Thread Mingshen Sun
Merged #432 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/432#event-3968421018

Re: [apache/incubator-teaclave] questions about custom Executor (#430)

2020-11-06 Thread Mingshen Sun
You can implement you own executor. I don't understand your question. I guess you were asking how to add your executor into the Teaclave execution service. Yes, you can refer to the interfaces of MesaPy and Builtin executors. -- You are receiving this because you are subscribed to this

[apache/incubator-teaclave] [cli] Add the attest subcommand to display attestation report (#432)

2020-11-05 Thread Mingshen Sun
Add a subcommand of `teaclave_cli`. Here is an example of the usage. ``` $ ./teaclave_cli attest --address accvm-dev:7776 --as-ca-cert ../../keys/ias_root_ca_cert.pem Report Freshness: 1854s SGX Quote status: SwHardeningNeeded Version and signature/key type: Version 2, EPID Linkable signature

[apache/incubator-teaclave] Polish document (#431)

2020-11-04 Thread Mingshen Sun
## Description - Polish highlights - Add notes for building with Docker for Mac You can view, comment on, or merge this pull request online at: https://github.com/apache/incubator-teaclave/pull/431 -- Commit Summary -- * Polish document -- File Changes -- M README.md (10) M

Re: [apache/incubator-teaclave-sgx-sdk] The End of SGX (#281)

2020-11-02 Thread Mingshen Sun
Closed #281. -- 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/281#event-3951437701

Re: [apache/incubator-teaclave-sgx-sdk] The End of SGX (#281)

2020-11-02 Thread Mingshen Sun
This is answer here: https://github.com/apache/incubator-teaclave-sgx-sdk/issues/239#issuecomment-720773397 -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub:

Re: [apache/incubator-teaclave] [docs] Add document of Deploying Teaclave on Azure Confidential Computing Virtual Machines (#429)

2020-11-02 Thread Mingshen Sun
Merged #429 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/429#event-3949455796

[apache/incubator-teaclave] [docs] Add document of Deploying Teaclave on Azure Confidential Computing Virtual Machines (#429)

2020-10-30 Thread Mingshen Sun
- Add document - Split docker-compose files into three for `isgx` driver, `intel_sgx` driver and simulation mode. - Polish the My First Function document You can view, comment on, or merge this pull request online at: https://github.com/apache/incubator-teaclave/pull/429 -- Commit Summary --

Re: [apache/incubator-teaclave-sgx-sdk] Add two more docs (#280)

2020-10-27 Thread Mingshen Sun
Merged #280 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-sgx-sdk/pull/280#event-3929237479

[apache/incubator-teaclave-sgx-sdk] Add two more docs (#280)

2020-10-27 Thread Mingshen Sun
- Developing with Visual Studio Code - `is_x86_feature_detected` in Teaclave SGX SDK This PR is related with #276. You can view, comment on, or merge this pull request online at: https://github.com/apache/incubator-teaclave-sgx-sdk/pull/280 -- Commit Summary -- * Add document:

Re: [apache/incubator-teaclave] [docs] Add permlink for codebase's README (#428)

2020-10-27 Thread Mingshen Sun
Merged #428 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/428#event-3928029488

[apache/incubator-teaclave] [docs] Add permlink for codebase's README (#428)

2020-10-27 Thread Mingshen Sun
## Description Add permlink for codebases README. You can view, comment on, or merge this pull request online at: https://github.com/apache/incubator-teaclave/pull/428 -- Commit Summary -- * [docs] Add permlink for codebases README -- File Changes -- M binder/README.md (4) M

Re: [apache/incubator-teaclave] builtin function question (#427)

2020-10-25 Thread Mingshen Sun
Thanks for your suggestion. We will definitely document it when we find out a good workflow for working on third-party SGX crates. Before this, you have to understand our build system in order to include more SGX libraries. -- You are receiving this because you are subscribed to this thread.

Re: [apache/incubator-teaclave-sgx-sdk] Sqlite3 Port (#274)

2020-10-25 Thread Mingshen Sun
> Then I guess the current version of SQLite port won't leave enclave during > execution (since I make it support in-memory database only and it currently > does not introduce any additional ocalls)? Yes. Your workaround is to give some non-functional stubs. This will still cause runtime

Re: [apache/incubator-teaclave-sgx-sdk] [Call for contribution] Documentation for SGX SDK (#276)

2020-10-24 Thread Mingshen Sun
I put this wiki page (https://github.com/apache/incubator-teaclave-sgx-sdk/wiki/Mitigation-of-Intel-SA-00219-in-Rust-SGX) to our blog (https://teaclave.staged.apache.org/blog/2019-12-02-mitigation-of-intel-sa-00219-in-teaclave-sgx-sdk/). It's more like a blog post than document. -- You are

Re: [apache/incubator-teaclave] builtin function question (#427)

2020-10-24 Thread Mingshen Sun
In short, you cannot use third-party Rust crates which are not in the `third_party/crates-sgx` directory. For your case, if you want to use ndarray, you need to vendor ndarray-sgx (https://github.com/mesalock-linux/ndarray-sgx) in the `crates-sgx` directory. -- You are receiving this because

Re: [apache/incubator-teaclave-sgx-sdk] Sqlite3 Port (#274)

2020-10-24 Thread Mingshen Sun
Sorry, it seems that my reply brings you more questions. > But Enclave written in C is not taking advantage of rigorous checking of Rust > sgx_tstd but instead relies on Intel's tlibc (and Intel does not provide > checks on the primitive ocalls? I believe they also do?) I think there's one

Re: [apache/incubator-teaclave-sgx-sdk] Sqlite3 Port (#274)

2020-10-23 Thread Mingshen Sun
> But I do think by limiting the enclave programming language to Rust, and not > trusting any external battlefield-tested library (sqlite in this case) would > limit the scope of this project. Yes, I agree with you. This is another topic we can discuss more. Originally, the SGX SDK is designed

Re: [apache/incubator-teaclave-sgx-sdk] Sqlite3 Port (#274)

2020-10-22 Thread Mingshen Sun
I found that you introduce some headers, what's the purpose? They are in LGPL license which are not accepted [1] by the Apache projects. [1] https://www.apache.org/legal/resolved.html I don't think this can be included in Teaclave SGX SDK as samples. - The purpose of samples in Teaclave SGX

[apache/incubator-teaclave-sgx-sdk] License of header files in `common/inc` (#277)

2020-10-22 Thread Mingshen Sun
As an Apache incubator project, we need a complete license review. According to https://www.apache.org/legal/resolved.html, GPL/LGPL licenses are not accepted. I found that these C headers are in the LGPL license. We need to replace them to BSD libc header (BSD license) or musl libc (MIT

[apache/incubator-teaclave-sgx-sdk] [Call for contribution] Documentation for SGX SDK (#276)

2020-10-22 Thread Mingshen Sun
As described in #275, please help me with the documentation of SGX SDK: - Move existing wiki into the `/documents/` directory - Write tutorial and tips of using SGX SDK to build SGX application - Cleanup the `/documents/` directory This documents will be rendered in our homepage

Re: [apache/incubator-teaclave-sgx-sdk] Move wiki page to documents (#275)

2020-10-22 Thread Mingshen Sun
Merged #275 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-sgx-sdk/pull/275#event-3911631082

Re: [apache/incubator-teaclave-sgx-sdk] Move wiki page to documents (#275)

2020-10-22 Thread Mingshen Sun
I'll post a call for contribution to help me migrate old wiki/documents and write new one. -- 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/pull/275#issuecomment-714835330

[apache/incubator-teaclave-sgx-sdk] Move wiki page to documents (#275)

2020-10-22 Thread Mingshen Sun
I suggest to use `/documents/` directory for all SDK documentation. This will be automatically rendered in the homepage. See https://teaclave.apache.org/sgx-sdk-docs/ for reference. You can view, comment on, or merge this pull request online at:

Re: [apache/incubator-teaclave] Add new committers (#426)

2020-10-22 Thread Mingshen Sun
Merged #426 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/426#event-3910949920

[apache/incubator-teaclave] Add new committers (#426)

2020-10-22 Thread Mingshen Sun
## Description Add new committers. You can view, comment on, or merge this pull request online at: https://github.com/apache/incubator-teaclave/pull/426 -- Commit Summary -- * Add new committers -- File Changes -- M CONTRIBUTORS.md (1) -- Patch Links --

[ANNOUNCE] Welcome Ran Duan to join Teaclave as a committer

2020-10-22 Thread Mingshen Sun
Hi community, Let's welcome Ran Duan to join Teaclave as a committer. He has contributed a lot to the Teaclave SGX SDK repository for years. Right now, he is working on our next release. Best, Mingshen - To unsubscribe,

Re: [apache/incubator-teaclave-sgx-sdk] Sqlite3 Port (#274)

2020-10-20 Thread Mingshen Sun
Hi, I found that you introduce some ocalls to help your porting: ``` void ocall_print_error([in, string] const char *str); void ocall_print_string([in, string] const char *str); void ocall_println_string([in, string] const char *str); int ocall_lstat([in, string]

Re: [apache/incubator-teaclave] add pca function (#424)

2020-10-16 Thread Mingshen Sun
Merged #424 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/424#event-3887780030

Re: [apache/incubator-teaclave-sgx-sdk] Added conditional compilation for musl targets (#273)

2020-10-16 Thread Mingshen Sun
Looks good to me. I think this can be documented somewhere so that other people may also interested. @dingelish, what do you think. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub:

Re: [apache/incubator-teaclave] add pca function (#424)

2020-10-16 Thread Mingshen Sun
I have updated your PR to fix the above mentioned issues. -- 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/424#issuecomment-710401311

Re: [apache/incubator-teaclave-sgx-sdk] Added conditiional compilation for musl targets (#272)

2020-10-16 Thread Mingshen Sun
Thanks! -- 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/pull/272#issuecomment-710388994

Re: [apache/incubator-teaclave] add pca function (#424)

2020-10-15 Thread Mingshen Sun
There's some warning introduces by previous PR. I don't know why they're not linked. You can ignore them first. Like this: ``` error: unsafe function's docs miss `# Safety` section --> binder/src/binder.rs:80:5 | 80 | / pub unsafe fn destroy() { 81 | | let _ =

Re: [apache/incubator-teaclave] add pca function (#424)

2020-10-15 Thread Mingshen Sun
Can you run `make CLP=1` to check the code? I see some warnings. Please also fix it. Thanks. -- 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/424#issuecomment-709751350

Re: [apache/incubator-teaclave] Is task execution concurrent? (#425)

2020-10-13 Thread Mingshen Sun
You can start more execution services, that is to say, providing more function workers. -- 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/issues/425#issuecomment-708147647

Re: Podling Teaclave Report Reminder - October 2020

2020-10-10 Thread Mingshen Sun
Sure, I’ll update the report. On Sat, Oct 10, 2020 at 9:18 AM Matt Sicker wrote: > Could be updated now to reflect the status of the release. > > On Wed, Oct 7, 2020 at 17:55 Mingshen Sun wrote: > > > Hi all, > > > > Since the last report, we have mainl

[ANNOUNCE] Apache Teaclave (incubating) 0.1.0 Release

2020-10-09 Thread Mingshen Sun
/apache/incubator-teaclave/issues) - Twitter (https://twitter.com/ApacheTeaclave) Best regards, Apache Teaclave (incubating) Team -- Mingshen Sun

[apache/incubator-teaclave] Release v0.1.0 - Apache Teaclave (incubating) 0.1.0

2020-10-09 Thread Mingshen Sun
This is the first Apache Incubator release of Teaclave. Apache Teaclave (incubating) is an open source ***universal secure computing*** platform, making computation on privacy-sensitive data safe and simple. Apache Teaclave (incubating) has following highlights: - **Security**: Teaclave adopts

Re: Podling Teaclave Report Reminder - October 2020

2020-10-07 Thread Mingshen Sun
. (PODLINGNAMESEARCH-175) On Sat, Sep 19, 2020 at 6:13 PM Mingshen Sun wrote: > Hi all, > > I'll prepare the report in these days. Thanks. > > Best, > Mingshen > > On Sat, Sep 19, 2020 at 6:07 PM wrote: > >> Dear podling, >> >> This email was sent b

Re: [apache/incubator-teaclave] [binder] Add checks and test case for input/output buffer. (#423)

2020-09-29 Thread Mingshen Sun
Merged #423 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/423#event-3822661620

[VOTE] Release Apache Teaclave (incubating) 0.1.0 (release candidate 2)

2020-09-29 Thread Mingshen Sun
hat you can also reply with things you have checked. Best, Mingshen Sun

[apache/incubator-teaclave] Pre-release v0.1.0-rc.2 - v0.1.0-rc.2

2020-09-29 Thread Mingshen Sun
This is the first Apache Incubator release of Teaclave. Apache Teaclave (incubating) is an open source ***universal secure computing*** platform, making computation on privacy-sensitive data safe and simple. Apache Teaclave (incubating) has following highlights: - **Security**: Teaclave adopts

Re: [apache/incubator-teaclave] Fix building issue when source is not in the git repo (#422)

2020-09-29 Thread Mingshen Sun
Merged #422 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/422#event-3822027555

[apache/incubator-teaclave] Fix building issue when source is not in the git repo (#422)

2020-09-29 Thread Mingshen Sun
## Description Fix building issue when source is not in the git repo. You can view, comment on, or merge this pull request online at: https://github.com/apache/incubator-teaclave/pull/422 -- Commit Summary -- * Fix building issue when source is not in the git repo -- File Changes --

Re: [VOTE] Release Apache Teaclave (incubating) 0.1.0 (release candidate 1)

2020-09-25 Thread Mingshen Sun
ample in > simulation mode. > > Best, > Tongxin Li > > On Tue, Sep 22, 2020 at 8:00 PM Mingshen Sun wrote: > > > Dear Teaclave community, > > > > I am pleased to be calling this vote for the first release of Apache > > Teaclave (incubating) 0.1.0 (

[VOTE] Release Apache Teaclave (incubating) 0.1.0 (release candidate 1)

2020-09-22 Thread Mingshen Sun
: - https://cwiki.apache.org/confluence/display/INCUBATOR/Incubator+Release+Checklist Since this voting is the first time for the Teaclave community, I'd like to mention that you can also reply with things you have checked. Best, Mingshen Sun

[apache/incubator-teaclave] Pre-release v0.1.0-rc.1 - v0.1.0-rc1

2020-09-22 Thread Mingshen Sun
This is the first Apache Incubator release of Teaclave. Apache Teaclave (incubating) is an open source ***universal secure computing*** platform, making computation on privacy-sensitive data safe and simple. Apache Teaclave (incubating) has following highlights: - **Security**: Teaclave

Re: Podling Teaclave Report Reminder - October 2020

2020-09-19 Thread Mingshen Sun
Hi all, I'll prepare the report in these days. Thanks. Best, Mingshen On Sat, Sep 19, 2020 at 6:07 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 your quarterly

Re: [apache/incubator-teaclave] memory allocation of .....failed (#419)

2020-09-09 Thread Mingshen Sun
Please change the pre-defined heap size in the `Enclave.config.xml` files. You can find it in each service's enclave directory. (e.g., `services/execution/enclave/Enclave.config.xml`) -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it

Re: [apache/incubator-teaclave] Got error when invoking echo function by python! (#411)

2020-09-08 Thread Mingshen Sun
Can you set the env var `export TEACLAVE_LOG=debug` before running the tool as well? -- 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/issues/411#issuecomment-689307413

Re: [apache/incubator-teaclave] Remove mayfail from the common library (#418)

2020-09-08 Thread Mingshen Sun
Merged #418 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/418#event-3743311352

Re: [apache/incubator-teaclave] Got error when invoking echo function by python! (#411)

2020-09-08 Thread Mingshen Sun
Hi, in this PR #416, I have fixed the issue about error message printing. Can you pull the latest master and compile the teaclave sgx tool again? Then, you will get the error message in the standard output. Thanks. -- You are receiving this because you are subscribed to this thread. Reply to

Re: [apache/incubator-teaclave] Add examples in the CLI's document (#417)

2020-09-08 Thread Mingshen Sun
Merged #417 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/417#event-3743238880

Re: [apache/incubator-teaclave] Print out error messages instead of logging for the sgx tool (#416)

2020-09-08 Thread Mingshen Sun
Merged #416 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/416#event-3743238028

Re: [apache/incubator-teaclave] Use USE_PREBUILT_MESAPY to config whether to use the prebuilt library (#415)

2020-09-03 Thread Mingshen Sun
Merged #415 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/415#event-3725898158

[apache/incubator-teaclave] Use USE_PREBUILT_MESAPY to config whether to use the prebuilt library (#415)

2020-09-02 Thread Mingshen Sun
## Description - Add an option to the build system: use `USE_PREBUILT_MESAPY` to config whether to use the prebuilt library. You can view, comment on, or merge this pull request online at: https://github.com/apache/incubator-teaclave/pull/415 -- Commit Summary -- * Use USE_PREBUILT_MESAPY

[apache/incubator-teaclave] Update MesaPy to d92659cfad8ad54d1105ede8570e6ccc7925ee7e (#414)

2020-09-02 Thread Mingshen Sun
## Description In this MesaPy version, we updated the exec enclave and add `gc.collect()` after a function eval. You can view, comment on, or merge this pull request online at: https://github.com/apache/incubator-teaclave/pull/414 -- Commit Summary -- * Update MesaPy to

[apache/incubator-teaclave] Force to call enclave destory when receiving signals (#413)

2020-09-01 Thread Mingshen Sun
## Description When receiving singals like SIGTERM, SIGINT, the services will be terminated immediately. Before exiting the process, we force to call enclave destroy. This will help us to collect sgx_emmt information if needed. Also, two global variables are added for profiling memory usage.

Re: [apache/incubator-teaclave] Add license header and change version number to 0.1.0 (#408)

2020-08-28 Thread Mingshen Sun
Merged #408 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/408#event-3705087698

Re: [apache/incubator-teaclave] Got error when invoking echo function by python! (#411)

2020-08-28 Thread Mingshen Sun
Thanks for the report. Can you print the TLS extension here https://github.com/apache/incubator-teaclave/blob/47b8573df074ac1879aa082e5ea23d8d5baaee9d/sdk/python/teaclave.py#L459. Seems that the sigining certification you got from the attestation report is invalid. -- You are receiving this

Re: [apache/incubator-teaclave] About teaclave-file-128 encryption algorithm error (#404)

2020-08-25 Thread Mingshen Sun
Since there is no update on this issue, I'm closing it. Feel free to reopen if you think it's still valid. Thanks. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub:

Re: [apache/incubator-teaclave] About teaclave-file-128 encryption algorithm error (#404)

2020-08-25 Thread Mingshen Sun
Closed #404. -- 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/issues/404#event-3692041950

[apache/incubator-teaclave] Use DISCLAIMER-WIP (#409)

2020-08-25 Thread Mingshen Sun
## Description Use `DISCLAIMER-WIP` to disclaim potential issues. You can view, comment on, or merge this pull request online at: https://github.com/apache/incubator-teaclave/pull/409 -- Commit Summary -- * Use DISCLAIMER-WIP -- File Changes -- D DISCLAIMER (8) A DISCLAIMER-WIP

Planning for the first Apache incubator release

2020-08-21 Thread Mingshen Sun
release. Thanks. Best, Mingshen Sun - [1] https://github.com/apache/incubator-teaclave/issues/121

[apache/incubator-teaclave] Add license header and change version number to 0.1.0 (#408)

2020-08-21 Thread Mingshen Sun
## Description - Add license header to *.sh and *.py and change version number to 0.1.0 You can view, comment on, or merge this pull request online at: https://github.com/apache/incubator-teaclave/pull/408 -- Commit Summary -- * Versions changed to 0.1.0 * Add license header -- File

Re: [apache/incubator-teaclave] [RFC] Roadmap (towards first public release) (#121)

2020-08-21 Thread Mingshen Sun
Closed #121. -- 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/issues/121#event-3681237164

Re: [apache/incubator-teaclave] [RFC] Roadmap (towards first public release) (#121)

2020-08-21 Thread Mingshen Sun
Hi all, we follow this roadmap and finish most of the refactoring and features. I'm closing this issue and plan to initiate and official Apache incubator release. Thanks for all contributors. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or

Re: [apache/incubator-teaclave] About teaclave-file-128 encryption algorithm error (#404)

2020-08-21 Thread Mingshen Sun
Hi @hoshinoko, any update? -- 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/issues/404#issuecomment-678496073

Re: [apache/incubator-teaclave] Add KEYS for code signing (#407)

2020-08-17 Thread Mingshen Sun
Merged #407 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/407#event-3664061400

[apache/incubator-teaclave] Add KEYS for code signing (#407)

2020-08-17 Thread Mingshen Sun
## Description - Add my public key to KEYS for release code signing. You can view, comment on, or merge this pull request online at: https://github.com/apache/incubator-teaclave/pull/407 -- Commit Summary -- * Add KEYS for code signing -- File Changes -- A KEYS (70) -- Patch Links

Re: [apache/incubator-teaclave] about sql capability of trusted computing scripts (#405)

2020-08-17 Thread Mingshen Sun
Sorry, we do not support the libraries you mentioned for data analytics. However, you can write you own function to achieve similar functionalities. BTW, Apache Arrow's Rust implementation looks promising [1]. I hope someone may help and find out if it works for Teaclave. - [1]

Re: [apache/incubator-teaclave] Add instruction to report security issue (#406)

2020-08-17 Thread Mingshen Sun
Merged #406 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/406#event-3663562527

[apache/incubator-teaclave] Add instruction to report security issue (#406)

2020-08-17 Thread Mingshen Sun
## Description Add an instruction to report security issues. You can view, comment on, or merge this pull request online at: https://github.com/apache/incubator-teaclave/pull/406 -- Commit Summary -- * Add instruction to report security issue -- File Changes -- A SECURITY.md (8) --

Re: [apache/incubator-teaclave] Contributors meetup: call for participants (#122)

2020-08-12 Thread Mingshen Sun
I'm closing this issue. Will create a new one if we are ready for organizing an online meetup. Thanks. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub:

Re: [apache/incubator-teaclave] Contributors meetup: call for participants (#122)

2020-08-12 Thread Mingshen Sun
Closed #122. -- 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/issues/122#event-3649477870

Re: [apache/incubator-teaclave] About teaclave-file-128 encryption algorithm error (#404)

2020-08-12 Thread Mingshen Sun
Thanks for your report. For CLI, the key is in hex format, while in Python SDK, key is in binary array. `1234` should be `[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0x12, 0x34]`. -- You are receiving this because you are subscribed to this thread. Reply to this

Re: [apache/incubator-teaclave] 启动服务报错 (#403)

2020-08-10 Thread Mingshen Sun
Any update on this issue? -- 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/issues/403#issuecomment-671687297

Re: [apache/incubator-teaclave] [SURVEY] What companies or open source projects are using the Apache Teaclave (Incubating) platform? (#310)

2020-08-10 Thread Mingshen Sun
I have listed some projects and organizations using Teaclave here: http://teaclave.apache.org/community/#organizations-and-projects. I'm closing this issue. If you want to add your project/organization in this list, feel free to ask in our mailing list. Thanks. -- You are receiving this

Re: [apache/incubator-teaclave] [SURVEY] What companies or open source projects are using the Apache Teaclave (Incubating) platform? (#310)

2020-08-10 Thread Mingshen Sun
Closed #310. -- 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/issues/310#event-3640446263

Re: [apache/incubator-teaclave] Access Control 服务中的python脚本参与实际环境中的权限校验吗 (#374)

2020-08-10 Thread Mingshen Sun
Closed #374. -- 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/issues/374#event-3640439690

Re: [apache/incubator-teaclave] Access Control 服务中的python脚本参与实际环境中的权限校验吗 (#374)

2020-08-10 Thread Mingshen Sun
Since there's no more question, I'm closing this issue. -- 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/issues/374#issuecomment-671582871

Re: [apache/incubator-teaclave] 启动服务报错 (#403)

2020-08-06 Thread Mingshen Sun
There are two places which may report this error: ``` config .root_store .add_pem_file( DCAP_ROOT_CA_CERT.to_string().as_bytes()) .map_err(|_| AttestationServiceError::TlsError)?; ``` and ``` let mut stream = new_tls_stream(url).map_err(|_|

Re: [apache/incubator-teaclave] Use byte array instead of base64 for image transfer making parsing faster (#402)

2020-08-06 Thread Mingshen Sun
@yc-huang what did you mean? The `try_from` function will deserialize `FaceDetectionArguments` based on its fields automatically. No need to change this function. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub:

[apache/incubator-teaclave] Use byte array instead of base64 for image transfer making parsing faster (#402)

2020-08-05 Thread Mingshen Sun
## Description - Use byte array instead of base64 You can view, comment on, or merge this pull request online at: https://github.com/apache/incubator-teaclave/pull/402 -- Commit Summary -- * Use byte array instead of base64 for image transfer making parsing faster -- File Changes --

Re: [apache/incubator-teaclave] How to debug Python scripts (#393)

2020-08-05 Thread Mingshen Sun
Hi, thanks for asking. This is one of our limitation for the MesaPy executor. One way to debug Python scripts is to directly use the standalone MesaPy for SGX. For instance, you can use the exec example (https://github.com/mesalock-linux/mesapy/tree/sgx/sgx/examples/exec) to develop the Python

Re: [apache/incubator-teaclave] 关于数据文件加密解密的问题 (#400)

2020-08-04 Thread Mingshen Sun
Closed #400. -- You are receiving this because you commented. Reply to this email directly or view it on GitHub: https://github.com/apache/incubator-teaclave/issues/400#event-3623120195

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