Re: [apache/incubator-teaclave] Support selectively including executors (PR #574)

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

Re: [apache/incubator-teaclave] Support selectively including executors (PR #574)

2021-11-16 Thread Mingshen Sun
@qinkunbao, please help to review this PR. 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/574#issuecomment-971097045

[apache/incubator-teaclave] Support selectively including executors (PR #574)

2021-11-16 Thread Mingshen Sun
## Description

This PR is to support selectively compiling and including different executor 
combinations.

## 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 create your branch from `master`.
- [x] If youve added code that should be tested, add tests.
- [x] If youve 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/574

-- Commit Summary --

  * Support to selectively include different executors
  * Fix the make format command

-- File Changes --

M CMakeLists.txt (54)
M cmake/TeaclaveGenVars.cmake (4)
M cmake/UtilTargets.cmake (4)
M cmake/scripts/sgx_link_sign.sh (33)
M docs/build-system.md (3)
M executor/src/lib.rs (22)
M worker/src/worker.rs (5)

-- Patch Links --

https://github.com/apache/incubator-teaclave/pull/574.patch
https://github.com/apache/incubator-teaclave/pull/574.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/574


Re: [apache/incubator-teaclave] [WAMR] check init return values (PR #573)

2021-11-16 Thread Mingshen Sun
Merged. Thanks!

However, we still need a better solution to handle any errors from WAMR so that 
any issues with the executor will not break our service.

-- 
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/573#issuecomment-970970838

Re: [apache/incubator-teaclave] [WAMR] check init return values (PR #573)

2021-11-16 Thread Mingshen Sun
Merged #573 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/573#event-5628631095

Re: [apache/incubator-teaclave] Update report_bug.md (PR #572)

2021-11-03 Thread Mingshen Sun
Merged #572 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/572#event-5563754769

Re: [apache/incubator-teaclave] [WAMR] Fix leaked resources (PR #569)

2021-11-02 Thread Mingshen Sun
Merged #569 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/569#event-5558862463

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

2021-11-02 Thread Mingshen Sun
Dear Teaclave community,

We are going to have the 9th monthly Teaclave (virtual) meetup. Since
November 25 is around Thanksgiving, I suggest putting it after
Thanksgiving on Nov 30th, 2021 PT:

- 19:00-20:00 on Tuesday, Nov 30, 2021 (PT)

You can find the corresponding date time in your time zone here:
https://time.is/compare/1900_30_November_2021_in_PT

We are glad to have Jinhua Cui and Zhijingcheng Yu from National
University of Singapore joining our meetup to talk about their recent
study about the re-entrancy vulnerability in the exception handling
designs of some popular SGX SDKs and the SmashEx attack. [1, 2]

I also create a Google Calendar for the recurring events. Please
subscribe if you're interested.

Apache Teaclave (incubating) Community Calendar:
https://calendar.google.com/calendar/u/0/embed?src=l1q5osem2br8i4bj7dgik5s...@group.calendar.google.com

At last, same as the previous meetup, please RSVP for the Zoom link
(or find it in the shared calendar). Thanks!

[1] https://jasonyu1996.github.io/SmashEx/
[2] 
https://teaclave.apache.org/blog/2021-10-25-security-advisory-of-smashex-and-cve-2021-0186/

Best,
Mingshen Sun

-
To unsubscribe, e-mail: dev-unsubscr...@teaclave.apache.org
For additional commands, e-mail: dev-h...@teaclave.apache.org



Re: [apache/incubator-teaclave] The founder "keys" and the file "KEYS" are conflict (Issue #571)

2021-11-02 Thread Mingshen Sun
Thanks for reporting this issue. This is duplicated with #567.

I'm thinking of a proper name for the current `keys` directory.

-- 
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/571#issuecomment-957960102

Re: [apache/incubator-teaclave] The founder "keys" and the file "KEYS" are conflict (Issue #571)

2021-11-02 Thread Mingshen Sun
Closed #571.

-- 
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/571#event-5556967665

Welcoming Yuan Zhuang (@yuanz) as Teaclave committer

2021-11-01 Thread Mingshen Sun
Dear Teaclave community,

Please welcome Yuan Zhuang (@yuanz) to join the Teaclave community as
a committer.

Yuan started working on Teaclave TrustZone SDK for about half year ago
and made several major contributions [1] to the project including:

- update for OP-TEE 3.11.0
- support for new TEE API and update examples/aes/ta
- loadable plugins
- new documents

She also helped with the recent Teaclave/OP-TEE integration [2]. Right
now, Teaclave TrustZone SDK is the recommended SDK by OP-TEE for
developing Rust TAs. [3]

Congratulations to Yuan and thanks!

[1] 
https://github.com/apache/incubator-teaclave-trustzone-sdk/commits?author=DemesneGH
[2] https://github.com/OP-TEE/optee_docs/pull/140
[3] https://optee.readthedocs.io/en/latest/building/optee_with_rust.html

Mingshen Sun
Apache Teaclave (incubating) PPMC
https://mssun.me

-
To unsubscribe, e-mail: dev-unsubscr...@teaclave.apache.org
For additional commands, e-mail: dev-h...@teaclave.apache.org



Welcoming Rong Fan (@fanrong) as Teaclave committer

2021-11-01 Thread Mingshen Sun
Dear Teaclave community,

Please welcome Rong Fan (@fanrong) to join the Teaclave community as a
committer.

Rong started working on Teaclave TrustZone SDK for about half year ago
and made several major contributions [1] to the project including:

- keep update with the latest OP-TEE versions
- use dynamic library in the client library
- make our building system compatible with that in OP-TEE

He also helped with the recent Teaclave/OP-TEE integration [2, 3],
which is a huge milestone for the Teaclave TrustZone SDK project.
Right now, Teaclave TrustZone SDK is the recommended SDK by OP-TEE for
developing Rust TAs. [4]

Congratulations to Rong and thanks!

[1] 
https://github.com/apache/incubator-teaclave-trustzone-sdk/commits?author=fanrong1992
[2] https://github.com/OP-TEE/manifest/pull/200
[3] https://github.com/OP-TEE/build/pull/521
[4] https://optee.readthedocs.io/en/latest/building/optee_with_rust.html

Mingshen Sun
Apache Teaclave (incubating) PPMC
https://mssun.me

-
To unsubscribe, e-mail: dev-unsubscr...@teaclave.apache.org
For additional commands, e-mail: dev-h...@teaclave.apache.org



Security Advisory of SmashEx and CVE-2021-0186

2021-11-01 Thread Mingshen Sun
Hi Teaclave Community,

Recently, we were notified of a re-entrancy vulnerability in the
exception handling designs of some popular SGX SDKs (including Intel
SGX SDK), resulting in arbitrary disclosure of enclave private memory
and code-reuse attacks in SGX enclave.

The vulnerability is named as SmashEx [1]. The SmashEx attack affects
several SGX runtimes with exception handling. For Intel SGX SDK, the
assigned identifier is CVE-2021-0186 [2]. While the vulnerability
itself is not a Teaclave flaw, we're taking proactive measures to
explain and mitigate its impact on Teaclave users.

## Overview

Due to the lack of atomicity primitives in SGX enclaves, an SGX
enclave can be interrupted and re-entered at any time, including when
it is in a state unsafe for re-entry (i.e., when it is executing a
critical section). The SmashEx attack exploits such unsafe enclave
re-entries happening in the exception handling mechanism in the SGX
runtime.

A malicious host can create an exception immediately after EENTER
which causes control to be transferred to the host before the enclave
stack (RSP register) has been properly set up. Then, a special ECALL
(called `ECMD_EXCEPT`) to enclave will use the attacker-controlled RSP
register to setup the context of the exception handler function. At
last, when the host transfers control back to the enclave with
ERESUME, it may execute with a stack that resides in host memory
thereby enabling ROP exploits.

This vulnerability can be fixed by adding extra checks on untrusted
RSP when constructing the context of the exception handler.

## Affected Versions

For Intel SGX SDK, the vulnerability affects all projects using the
following versions.

- Intel SGX SDK for Windows v2.12 and earlier
- Intel SGX SDK for Linux v2.13 and earlier

## Impacts on Teaclave

Teaclave SGX SDK wraps Intel SGX SDK and provides a Rust development
environment. The affected Intel SGX SDK version was recommended in
Rust SGX SDK v1.1.3 (which is a pre-Apache release). Therefore, people
using Rust SGX SDK v1.1.3 with the vulnerable Intel SGX SDK (v2.13 and
earlier) are also vulnerable. *However, the current Teaclave SGX SDK
is compatible with newer Intel SGX SDK versions. Therefore, we
recommend all users to upgrade to the latest Intel SGX SDK.*

For Teaclave (i.e., the Teaclave FaaS platform), it uses Teaclave SGX
SDK to build a confidential computing platform. Therefore, the
Teaclave v0.2.0 released in March used the vulnerable Intel SGX SDK
version. *However, the v0.3.0 released [3] in August has upgraded the
Intel SGX SDK to v2.14 with the fix. Therefore, the latest release of
Teaclave is not affected by this vulnerability.*

## Patches & Mitigations

The vulnerability has been fixed in Intel SGX SDK in this patch:
 - Patch: 
https://github.com/intel/linux-sgx/commit/edfe42a517b3e4b1d81204c3cdef6da6cb35fefc

Teaclave users can apply the following mitigations:

- Use Teacalve SGX SDK with Intel SGX SDK for Linux version 2.14 or later
- Upgrade to Teaclave 0.3.0 or later

## Acknowledgements

We would like to thank Jinhua Cui, National University of Defense
Technology and National University of Singapore, Shweta Shinde, ETH
Zurich , Zhijingcheng Yu, National University of Singapore, and
Prateek Saxena, National University of
Singapore for notifying us about this issue.

## References

- [1] https://jasonyu1996.github.io/SmashEx/
- [2] 
https://www.intel.com/content/www/us/en/security-center/advisory/intel-sa-00548.html
- [3] https://github.com/apache/incubator-teaclave/releases/tag/v0.3.0
- [SmashEx: Smashing SGX Enclaves Using
Exceptions](https://arxiv.org/abs/2110.06657)
- [Open Enclave SDK Elevation of Privilege
Vulnerability](https://github.com/openenclave/openenclave/security/advisories/GHSA-mj87-466f-jq42)


This writeup is also published on the Teaclave blog:
https://teaclave.apache.org/blog/2021-10-25-security-advisory-of-smashex-and-cve-2021-0186/.

Mingshen Sun
Apache Teaclave (incubating) PPMC
https://mssun.me

-
To unsubscribe, e-mail: dev-unsubscr...@teaclave.apache.org
For additional commands, e-mail: dev-h...@teaclave.apache.org



Re: [apache/incubator-teaclave] Update crates-sgx (PR #570)

2021-11-01 Thread Mingshen Sun
Merged #570 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/570#event-5551474356

[apache/incubator-teaclave] Update crates-sgx (PR #570)

2021-10-28 Thread Mingshen Sun
## Description

This PR is to update the SGX crates dependencies. The main goal is to fix the 
rustface issue.

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

- [x] Bug fix (non-breaking change which fixes an issue)
- [x] Code cleanup or just sync with upstream third-party crates

## How has this been tested?

`make run-tests`

You can view, comment on, or merge this pull request online at:

  https://github.com/apache/incubator-teaclave/pull/570

-- Commit Summary --

  * https://github.com/apache/incubator-teaclave/pull/570/commits/ef9781981f30b8615873810d497877d8081fa325;>Update
 crates-sgx

-- File Changes --

M third_party/crates-sgx (2)

-- Patch Links --

https://github.com/apache/incubator-teaclave/pull/570.patch
https://github.com/apache/incubator-teaclave/pull/570.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/570


No meetup in this week

2021-10-26 Thread Mingshen Sun
Dear Teaclave community,

Since we just had a meetup two weeks ago, therefore, let's skip the
regular meetup this week.

See you next month.

Mingshen Sun

-
To unsubscribe, e-mail: dev-unsubscr...@teaclave.apache.org
For additional commands, e-mail: dev-h...@teaclave.apache.org



Re: [apache/incubator-teaclave] [Doc] Update my-first-fucntion.md (PR #566)

2021-10-20 Thread Mingshen Sun
Merged #566 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/566#event-5494924878

[Blog] Developing TrustZone Application with Teaclave TrustZone SDK (Chinese)

2021-10-19 Thread Mingshen Sun
Dear all,

We have a new blog post in Chinese to introduce how to develop
TrustZone application with Teaclave TrustZone SDK:

- 使用 Teaclave TrustZone SDK 开发 TrustZone 应用:
https://teaclave.apache.org/blog/2021-10-15-developing-teaclave-application-with-teaclave-trustzone-sdk/

Thanks.

Mingshen Sun

-
To unsubscribe, e-mail: dev-unsubscr...@teaclave.apache.org
For additional commands, e-mail: dev-h...@teaclave.apache.org



Re: Teaclave (Virtual) Meetup #8 - 7-8pm, Oct 14, 2021 PT

2021-10-14 Thread Mingshen Sun
Dear Teaclave community,

We have about twenty people attend this meetup. Thank you all! Hope
you enjoy this meetup.

Here is the meetup notes:
https://teaclave.apache.org/blog/2021-10-14-teaclave-meetup-8/

Best,
Mingshen Sun

On Wed, Oct 13, 2021 at 5:51 PM Mingshen Sun  wrote:
>
> Dear Teaclave community,
>
> This is a kind reminder of our meetup tomorrow.
>
>
> Mingshen
>
> On Wed, Oct 6, 2021 at 10:07 PM Mingshen Sun  wrote:
> >
> > Dear Teaclave community,
> >
> > We are going to have the 8th monthly Teaclave (virtual) meetup. The
> > meetup in this month is scheduled on Oct 14, 2021 (PT):
> >
> > - 19:00-20:00 on Thursday, Oct 14, 2021 (PT)
> >
> > You can find the corresponding date time in your TZ here:
> > https://time.is/compare/1900_14_October_2021_in_PT
> >
> > As usual, I'll give an update of Teaclave first. Then, we're glad to
> > invite Shunfan Zhou to talk about experiences on using and customizing
> > Teaclave SGX SDK. At last, we will have an open discussion session on
> > recent news/projects around confidential computing.
> >
> > I also create a Google Calendar for the recurring events. Please
> > subscribe if you're interested.
> >
> > Apache Teaclave (incubating) Community Calendar:
> > https://calendar.google.com/calendar/u/0/embed?src=l1q5osem2br8i4bj7dgik5s...@group.calendar.google.com
> >
> > At last, same as the previous meetup, please RSVP for the Zoom link
> > (or find it in the shared calendar). Thanks!
> >
> > Best,
> > Mingshen Sun

-
To unsubscribe, e-mail: dev-unsubscr...@teaclave.apache.org
For additional commands, e-mail: dev-h...@teaclave.apache.org



Re: Teaclave (Virtual) Meetup #8 - 7-8pm, Oct 14, 2021 PT

2021-10-13 Thread Mingshen Sun
Dear Teaclave community,

This is a kind reminder of our meetup tomorrow.


Mingshen

On Wed, Oct 6, 2021 at 10:07 PM Mingshen Sun  wrote:
>
> Dear Teaclave community,
>
> We are going to have the 8th monthly Teaclave (virtual) meetup. The
> meetup in this month is scheduled on Oct 14, 2021 (PT):
>
> - 19:00-20:00 on Thursday, Oct 14, 2021 (PT)
>
> You can find the corresponding date time in your TZ here:
> https://time.is/compare/1900_14_October_2021_in_PT
>
> As usual, I'll give an update of Teaclave first. Then, we're glad to
> invite Shunfan Zhou to talk about experiences on using and customizing
> Teaclave SGX SDK. At last, we will have an open discussion session on
> recent news/projects around confidential computing.
>
> I also create a Google Calendar for the recurring events. Please
> subscribe if you're interested.
>
> Apache Teaclave (incubating) Community Calendar:
> https://calendar.google.com/calendar/u/0/embed?src=l1q5osem2br8i4bj7dgik5s...@group.calendar.google.com
>
> At last, same as the previous meetup, please RSVP for the Zoom link
> (or find it in the shared calendar). Thanks!
>
> Best,
> Mingshen Sun

-
To unsubscribe, e-mail: dev-unsubscr...@teaclave.apache.org
For additional commands, e-mail: dev-h...@teaclave.apache.org



Re: [apache/incubator-teaclave] Development environment for containerized Teaclave services (#560)

2021-10-12 Thread Mingshen Sun
Thanks for raising this issue.

Yes, this is very important for all collaborators. Currently, we only have a 
simple document about some tips for Teaclave development: 
https://teaclave.apache.org/docs/development-tips/.

-- 
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/560#issuecomment-941749022

Re: [apache/incubator-teaclave] Duplicated docker compose files (#556)

2021-10-12 Thread Mingshen Sun
Closed #556.

-- 
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/556#event-5453491412

Re: [apache/incubator-teaclave] Duplicated docker compose files (#556)

2021-10-12 Thread Mingshen Sun
I believe this issue was resolved in the #559 PR. 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/issues/556#issuecomment-941748288

Re: [apache/incubator-teaclave] [Simulation Mode] Bugs in Teaclave Docker Services (#562)

2021-10-11 Thread Mingshen Sun
Closed #562 via #563.

-- 
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/562#event-5444528405

Re: [apache/incubator-teaclave] Use ./run-teaclave-services.sh -m sim in simulation mode (#563)

2021-10-11 Thread Mingshen Sun
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/563#issuecomment-940196221

Re: [apache/incubator-teaclave] Use ./run-teaclave-services.sh -m sim in simulation mode (#563)

2021-10-11 Thread Mingshen Sun
Merged #563 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/563#event-5444528397

Re: [apache/incubator-teaclave] Use ./run-teaclave-services.sh -m sim in simulation mode (#563)

2021-10-11 Thread Mingshen Sun
@bigdata-memory, can you kindly review/approve this PR? 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/563#issuecomment-940191360

Teaclave (Virtual) Meetup #8 - 7-8pm, Oct 14, 2021 PT

2021-10-06 Thread Mingshen Sun
Dear Teaclave community,

We are going to have the 8th monthly Teaclave (virtual) meetup. The
meetup in this month is scheduled on Oct 14, 2021 (PT):

- 19:00-20:00 on Thursday, Oct 14, 2021 (PT)

You can find the corresponding date time in your TZ here:
https://time.is/compare/1900_14_October_2021_in_PT

As usual, I'll give an update of Teaclave first. Then, we're glad to
invite Shunfan Zhou to talk about experiences on using and customizing
Teaclave SGX SDK. At last, we will have an open discussion session on
recent news/projects around confidential computing.

I also create a Google Calendar for the recurring events. Please
subscribe if you're interested.

Apache Teaclave (incubating) Community Calendar:
https://calendar.google.com/calendar/u/0/embed?src=l1q5osem2br8i4bj7dgik5s...@group.calendar.google.com

At last, same as the previous meetup, please RSVP for the Zoom link
(or find it in the shared calendar). Thanks!

Best,
Mingshen Sun

-
To unsubscribe, e-mail: dev-unsubscr...@teaclave.apache.org
For additional commands, e-mail: dev-h...@teaclave.apache.org



Podling Teaclave Report - October 2021

2021-10-06 Thread Mingshen Sun
Dear Teaclave PPMC and mentors,

Here is a draft of the podling report. Please comment on this thread
if I miss anything important. I have also uploaded to the wiki here:
https://cwiki.apache.org/confluence/display/INCUBATOR/October2021#teaclave.

Thanks.
Mingshen Sun

## Teaclave

Teaclave is a universal secure computing platform, making computation
on privacy-sensitive data safe and simple.

Teaclave has been incubating since 2019-08-20.

### Three most important unfinished issues to address before graduating:

  - Improve project structure and documentation
  - Grow the community (attracting more committers, contributors, users)
  - Publish Apache releases (resolving logistics on Apache release)

### Are there any issues that the IPMC or ASF Board need to be aware of?

None.

### How has the community developed since the last report?

Since the last report, we have organized one monthly virtual meetup
(we skipped one due to the public holiday). For each meetup, we have
minutes write-up published on the Teaclave blog.
  - Teaclave Meetup #7:
<https://teaclave.apache.org/blog/2021-08-26-teaclave-meetup-7/>

Starting from this meetup, we use Google Calendar to show the meetup
schedule and location (i.e., the Zoom link).
  - Teaclave Community Calendar:
<https://calendar.google.com/calendar/u/0/embed?src=l1q5osem2br8i4bj7dgik5s...@group.calendar.google.com>

We also have two new members elected since the last report:
  - 2021-09-20: Yuan Zhuang (Apache ID: TBD), Committer
  - 2021-09-20: Rong Fan (Apache ID: TBD), Commiter

### How has the project developed since the last report?

Here are the summaries of recent progress:

Teaclave Faas Platform

  - Add TVM MNIST example
  - Add IDE helper script
  - Add license header and include SkyWalking Eyes in CI for automatic checking
  - Release v0.3.0: https://teaclave.apache.org/download/#teaclave
  - Consolidate `docker-compose` scripts for servers with different SGX drivers

Teaclave TrustZone SDK

  - TEE Socket APIs and examples
  - Upgrade building docker to Ubuntu 20.04
  - Switch to GitHub Actions
  - Add -rs to examples and update test scripts
  - Update to OP-TEE 3.14.0

Teaclave SGX SDK

  - Intel SGX SDK 2.14
  - Move wiki pages to the document directory for homepage rendering
  - Better project template

Website

  - [blog] 使用 Teaclave SGX SDK 开发 SGX 应用 · Aug 24 2021:
<https://teaclave.apache.org/blog/2021-08-25-developing-sgx-application-with-teaclave-sgx-sdk/>
  - [blog] Announcing Apache Teaclave (incubating) 0.3.0 · Sep 30
2021: <https://teaclave.apache.org/blog/2021-10-01-announcing-teaclave-0-3-0/>
  - [style] Update the contributors page to include Apache ID and tags
for each committers

Community Collaboration

  - Teaclave/Intel: Integrating Graphene as a new Library OS executor
  - Teaclave/OP-TEE: Integrating examples in Rust TrustZone SDK in OP-TEE

### How would you assess the podling's maturity?
Please feel free to add your own commentary.

  - [ ] Initial setup
  - [ ] Working towards first release
  - [x] Community building
  - [ ] Nearing graduation
  - [ ] Other:

### Date of last release:

  2021-08-23: Apache Teaclave (incubating) 0.3.0

### When were the last committers or PPMC members elected?

  - 2021-09-20: Yuan Zhuang (Apache ID: TBD), Committer
  - 2021-09-20: Rong Fan (Apache ID: TBD), Committer

### Have your mentors been helpful and responsive?

Yes, our mentors work responsively to help us with electing new
mentors, developing new features, fixing bugs, and expanding the
community.

### Is the PPMC managing the podling's brand / trademarks?

We don't find any 3rd parties incorrectly using the podling's name and
brand.  The VP, Brand has approved the project name.
(PODLINGNAMESEARCH-175)

-
To unsubscribe, e-mail: dev-unsubscr...@teaclave.apache.org
For additional commands, e-mail: dev-h...@teaclave.apache.org



Re: Podling Teaclave Report Reminder - October 2021

2021-10-06 Thread Mingshen Sun
Dear Teaclave PPMC and mentors,

I'm working on this report now and will be uploaded later today. Thanks.

Mingshen

On Mon, Sep 20, 2021 at 1:58 AM  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 board report.
>
> The board meeting is scheduled for Wed, 20 October 2021.
> The report for your podling will form a part of the Incubator PMC
> report. The Incubator PMC requires your report to be submitted 2 weeks
> before the board meeting, to allow sufficient time for review and
> submission (Wed, October 06).
>
> Please submit your report with sufficient time to allow the Incubator
> PMC, and subsequently board members to review and digest. Again, the
> very latest you should submit your report is 2 weeks prior to the board
> meeting.
>
> Candidate names should not be made public before people are actually
> elected, so please do not include the names of potential committers or
> PPMC members in your report.
>
> Thanks,
>
> The Apache Incubator PMC
>
> Submitting your Report
>
> --
>
> Your report should contain the following:
>
> *   Your project name
> *   A brief description of your project, which assumes no knowledge of
> the project or necessarily of its field
> *   A list of the three most important issues to address in the move
> towards graduation.
> *   Any issues that the Incubator PMC or ASF Board might wish/need to be
> aware of
> *   How has the community developed since the last report
> *   How has the project developed since the last report.
> *   How does the podling rate their own maturity.
>
> This should be appended to the Incubator Wiki page at:
>
> https://cwiki.apache.org/confluence/display/INCUBATOR/October2021
>
> Note: This is manually populated. You may need to wait a little before
> this page is created from a template.
>
> Note: The format of the report has changed to use markdown.
>
> Mentors
> ---
>
> Mentors should review reports for their project(s) and sign them off on
> the Incubator wiki page. Signing off reports shows that you are
> following the project - projects that are not signed may raise alarms
> for the Incubator PMC.
>
> Incubator PMC
>
> -
> To unsubscribe, e-mail: dev-unsubscr...@teaclave.apache.org
> For additional commands, e-mail: dev-h...@teaclave.apache.org

-
To unsubscribe, e-mail: dev-unsubscr...@teaclave.apache.org
For additional commands, e-mail: dev-h...@teaclave.apache.org



Blog of Announcing Apache Teaclave (incubating) 0.3.0

2021-10-06 Thread Mingshen Sun
Dear Teaclave community,

I just posted a blog about announcing Apache Teaclave (incubating)
0.3: https://teaclave.apache.org/blog/2021-10-01-announcing-teaclave-0-3-0/.

Though this writeup is a bit late, still, please feel free to share
this blog to wider audiences. Thanks.

Mingshen Sun

-
To unsubscribe, e-mail: dev-unsubscr...@teaclave.apache.org
For additional commands, e-mail: dev-h...@teaclave.apache.org



[apache/incubator-teaclave] Use ./run-teaclave-services.sh -m sim in simulation mode (#563)

2021-10-06 Thread Mingshen Sun
## Description

Fix instruction to use `./run-teaclave-services.sh -m sim` in simulation mode

Fixes #562

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

- [x] Bug fix (non-breaking change which fixes an issue)


You can view, comment on, or merge this pull request online at:

  https://github.com/apache/incubator-teaclave/pull/563

-- Commit Summary --

  * https://github.com/apache/incubator-teaclave/pull/563/commits/d12fbae7a2bd3ef6343c1813b7a228273e76a04d;>Use
 ./run-teaclave-services.sh -m sim in simulation mode

-- File Changes --

M docs/my-first-function.md (2)

-- Patch Links --

https://github.com/apache/incubator-teaclave/pull/563.patch
https://github.com/apache/incubator-teaclave/pull/563.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/563


Re: [apache/incubator-teaclave] [Simulation Mode] Bugs in Teaclave Docker Services (#562)

2021-10-06 Thread Mingshen Sun
Should be `./run-teaclave-services.sh -m sim` for simulation mode.

https://github.com/apache/incubator-teaclave/blob/master/docker/run-teaclave-services.sh#L124

-- 
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/562#issuecomment-935535619

Re: [apache/incubator-teaclave] Support containerized Intel Aesmd service (#553)

2021-10-05 Thread Mingshen Sun
Closed #553 via #559.

-- 
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/553#event-5412730975

Re: [apache/incubator-teaclave] [docker] start Teaclave docker services with auto-detection mechanism (#559)

2021-10-05 Thread Mingshen Sun
Merged #559 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/559#event-5412730954

Re: [apache/incubator-teaclave] Pin openssl to version 1.1 (#561)

2021-10-05 Thread Mingshen Sun
Merged #561 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/561#event-5412725502

Re: [apache/incubator-teaclave] [docker] start Teaclave docker services with auto-detection mechanism (#559)

2021-10-04 Thread Mingshen Sun
I have fixed in PR #561. Please help to review and approve this PR (we won't 
merge any PR without review). 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/559#issuecomment-933884816

[apache/incubator-teaclave] Pin openssl to version 1.1 (#561)

2021-10-04 Thread Mingshen Sun
## Description

Pining openssl to version 1.1 in CI for macos.

## 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 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?

Tested by the GitHub Action CI.

## Checklist

- [x] Fork the repo and create your branch from `master`.
- [ ] If youve added code that should be tested, add tests.
- [ ] If youve changed APIs, update the documentation.
- [ ] Ensure the tests pass (see CI results).
- [ ] 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/561

-- Commit Summary --

  * https://github.com/apache/incubator-teaclave/pull/561/commits/0e0c88fa9dc8aa8fda92114a92bfd570642ca994;>Pin
 openssl to version 1.1

-- File Changes --

M .github/workflows/ci.yml (4)

-- Patch Links --

https://github.com/apache/incubator-teaclave/pull/561.patch
https://github.com/apache/incubator-teaclave/pull/561.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/561


Re: [apache/incubator-teaclave] [docker] start Teaclave docker services with auto-detection mechanism (#559)

2021-10-04 Thread Mingshen Sun
> The CI identified the following issue. 
> ![image](https://user-images.githubusercontent.com/10856796/135905616-60640390-262a-47a3-9201-495bb7f62377.png)
>  Is it related to this PR? or anything I should fix in this PR? thanks.

This is caused by the CI environment. We didn't pin openssl to a specific 
version. We can resolve this issue in another PR.

-- 
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/559#issuecomment-933756849

Re: [apache/incubator-teaclave] [docker] start Teaclave docker services with auto-detection mechanism (#559)

2021-09-30 Thread Mingshen Sun
I see several docs also contain instructions to use `docker-compose` to start 
services. Can you also change these? Thanks.

- `docs/my-first-function.md`
- `docs/azure-confidential-computing.md`

-- 
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/559#issuecomment-931633417

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

2021-09-28 Thread Mingshen Sun
Dear Teaclave community,

It appears that the scheduled date of this meetup is a public holiday
in China, and some of our participants cannot make it this time.
Therefore, I propose to postpone this meetup to 10/15. I'll also
update the calendar.

Mingshen

On Fri, Sep 24, 2021 at 1:39 PM Mingshen Sun  wrote:
>
> Dear Teaclave community,
>
> We are going to have the 8th monthly Teaclave (virtual) meetup. The
> meetup in this month is scheduled on Sept 30, 2021 (PT):
>
> - 19:00-20:00 on Thursday, Sept 30, 2021 (PT)
>
> You can find the corresponding date time in your TZ here:
> https://time.is/compare/1900_30_September_2021_in_PT
>
> As usual, I'll give an update of Teaclave first. Then, if there's no
> specific topic this time, we will have an open discussion session on
> recent news/projects around confidential computing.
>
> I also create a Google Calendar for the recurring events. Please
> subscribe if you're interested.
>
> Apache Teaclave (incubating) Community Calendar:
> https://calendar.google.com/calendar/u/0/embed?src=l1q5osem2br8i4bj7dgik5s...@group.calendar.google.com
>
> At last, same as the previous meetup, please RSVP for the Zoom link
> (or find it in the shared calendar). Thanks!
>
> Best,
> Mingshen Sun

-
To unsubscribe, e-mail: dev-unsubscr...@teaclave.apache.org
For additional commands, e-mail: dev-h...@teaclave.apache.org



Re: [apache/incubator-teaclave] [docker] start Teaclave docker services with auto-detection mechanism (#559)

2021-09-28 Thread Mingshen Sun
Thanks. This is really cool!

Let me test it on servers with different kinds of SGX drivers. (This also 
bother me since we cannot test this in our CI)

-- 
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/559#issuecomment-929717820

Teaclave Communit Discord Server

2021-09-25 Thread Mingshen Sun
Dear Teaclave community,

I created the Teaclave Community Discord server. You can directly chat
with our community here: https://discord.gg/ynECXsxm5P. The link is
also updated in our homepage:
https://teaclave.apache.org/community/#discord.

But we still recommend using the mailing list to communicate in an
async way. Thanks.

Mingshen Sun

-
To unsubscribe, e-mail: dev-unsubscr...@teaclave.apache.org
For additional commands, e-mail: dev-h...@teaclave.apache.org



Re: [apache/incubator-teaclave] The container name of teaclave-file-service missing in DCAP docker compose file (#557)

2021-09-25 Thread Mingshen Sun
Closed #557 via #558.

-- 
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/557#event-5359285386

Re: [apache/incubator-teaclave] Fix container name of teaclave-file-service missing (#558)

2021-09-25 Thread Mingshen Sun
Merged #558 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/558#event-5359285381

Re: [apache/incubator-teaclave] Duplicated docker compose files (#556)

2021-09-25 Thread Mingshen Sun
The main purpose of `doker-compose-ubuntu-1804.yml` is backward compatibility. 
Originally, we only provide docker for isgx driver. I think we can delete it 
now since we have kept them both for a while.

-- 
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/556#issuecomment-927022837

Re: [apache/incubator-teaclave-sgx-sdk] Polish README.md (#361)

2021-09-24 Thread Mingshen Sun
Merged #361 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/361#event-5358471270

[apache/incubator-teaclave-sgx-sdk] Polish README.md (#361)

2021-09-24 Thread Mingshen Sun
- Remove out-dated descriptions after entering the Apache incubator.
You can view, comment on, or merge this pull request online at:

  https://github.com/apache/incubator-teaclave-sgx-sdk/pull/361

-- Commit Summary --

  * https://github.com/apache/incubator-teaclave-sgx-sdk/pull/361/commits/551cdf4162cde509e812968ecd3ed4a18db7d99f;>Polish
 README.md

-- File Changes --

A .asf.yaml (25)
R README.md (90)
M documents/README.md (34)
D documents/gbdt.pdf (0)
D rustsgx.png (0)

-- Patch Links --

https://github.com/apache/incubator-teaclave-sgx-sdk/pull/361.patch
https://github.com/apache/incubator-teaclave-sgx-sdk/pull/361.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-sgx-sdk/pull/361


Teaclave (Virtual) Meetup #8 - 7-8pm, Sept 30, 2021 PT

2021-09-24 Thread Mingshen Sun
BEGIN:VCALENDAR
PRODID:-//Google Inc//Google Calendar 70.9054//EN
VERSION:2.0
CALSCALE:GREGORIAN
METHOD:PUBLISH
X-WR-CALNAME:Apache Teaclave (incubating) Community Calendar
X-WR-TIMEZONE:America/Los_Angeles
X-WR-CALDESC:Events of Apache Teaclave (incubating) community.
BEGIN:VTIMEZONE
TZID:America/Los_Angeles
X-LIC-LOCATION:America/Los_Angeles
BEGIN:DAYLIGHT
TZOFFSETFROM:-0800
TZOFFSETTO:-0700
TZNAME:PDT
DTSTART:19700308T02
RRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=2SU
END:DAYLIGHT
BEGIN:STANDARD
TZOFFSETFROM:-0700
TZOFFSETTO:-0800
TZNAME:PST
DTSTART:19701101T02
RRULE:FREQ=YEARLY;BYMONTH=11;BYDAY=1SU
END:STANDARD
END:VTIMEZONE
BEGIN:VEVENT
DTSTART;TZID=America/Los_Angeles:20210826T19
DTEND;TZID=America/Los_Angeles:20210826T20
RRULE:FREQ=MONTHLY;BYDAY=-1TH
DTSTAMP:20210824T214545Z
UID:5mqjt1r0ane1ogleev6t5bu...@google.com
CREATED:20210824T212048Z
DESCRIPTION:Topic: Teaclave Community MeetupTime: 7:00pm - 8:00pm\, mon
 thly on the last Thursday (PT).Join Zoom Meetinghttps
 ://us02web.zoom.us/j/82385130105?pwd=VnN3K2N4T01iT1oyU0dPVGN1bUFBZz09Meeting ID: 823 8513 0105Passcode: 719877Join by SIP<
 a href="mailto:82385130...@zoomcrc.com">82385130...@zoomcrc.com
 Join by H.323162.255.37.11 (US West)162.255.36.11 (US East)221.
 122.88.195 (China)115.114.131.7 (India Mumbai)115.114.115.7 (India 
 Hyderabad)213.19.144.110 (Amsterdam Netherlands)213.244.140.110 (Ge
 rmany)103.122.166.55 (Australia Sydney)103.122.167.55 (Australia Me
 lbourne)209.9.211.110 (Hong Kong SAR)149.137.40.110 (Singapore)
 64.211.144.160 (Brazil)69.174.57.160 (Canada Toronto)65.39.152.160 
 (Canada Vancouver)207.226.132.110 (Japan Tokyo)149.137.24.110 (Japa
 n Osaka)
LAST-MODIFIED:20210824T214419Z
LOCATION:
SEQUENCE:4
STATUS:CONFIRMED
SUMMARY:Teaclave Community Meetup
TRANSP:OPAQUE
END:VEVENT
END:VCALENDAR
BEGIN:VCALENDAR
PRODID:-//Google Inc//Google Calendar 70.9054//EN
VERSION:2.0
CALSCALE:GREGORIAN
METHOD:PUBLISH
X-WR-CALNAME:Apache Teaclave (incubating) Community Calendar
X-WR-TIMEZONE:America/Los_Angeles
X-WR-CALDESC:Events of Apache Teaclave (incubating) community.
BEGIN:VTIMEZONE
TZID:America/Los_Angeles
X-LIC-LOCATION:America/Los_Angeles
BEGIN:DAYLIGHT
TZOFFSETFROM:-0800
TZOFFSETTO:-0700
TZNAME:PDT
DTSTART:19700308T02
RRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=2SU
END:DAYLIGHT
BEGIN:STANDARD
TZOFFSETFROM:-0700
TZOFFSETTO:-0800
TZNAME:PST
DTSTART:19701101T02
RRULE:FREQ=YEARLY;BYMONTH=11;BYDAY=1SU
END:STANDARD
END:VTIMEZONE
BEGIN:VEVENT
DTSTART;TZID=America/Los_Angeles:20210826T19
DTEND;TZID=America/Los_Angeles:20210826T20
RRULE:FREQ=MONTHLY;BYDAY=-1TH
DTSTAMP:20210824T214545Z
UID:5mqjt1r0ane1ogleev6t5bu...@google.com
CREATED:20210824T212048Z
DESCRIPTION:Topic: Teaclave Community MeetupTime: 7:00pm - 8:00pm\, mon
 thly on the last Thursday (PT).Join Zoom Meetinghttps
 ://us02web.zoom.us/j/82385130105?pwd=VnN3K2N4T01iT1oyU0dPVGN1bUFBZz09Meeting ID: 823 8513 0105Passcode: 719877Join by SIP<
 a href="mailto:82385130...@zoomcrc.com">82385130...@zoomcrc.com
 Join by H.323162.255.37.11 (US West)162.255.36.11 (US East)221.
 122.88.195 (China)115.114.131.7 (India Mumbai)115.114.115.7 (India 
 Hyderabad)213.19.144.110 (Amsterdam Netherlands)213.244.140.110 (Ge
 rmany)103.122.166.55 (Australia Sydney)103.122.167.55 (Australia Me
 lbourne)209.9.211.110 (Hong Kong SAR)149.137.40.110 (Singapore)
 64.211.144.160 (Brazil)69.174.57.160 (Canada Toronto)65.39.152.160 
 (Canada Vancouver)207.226.132.110 (Japan Tokyo)149.137.24.110 (Japa
 n Osaka)
LAST-MODIFIED:20210824T214419Z
LOCATION:
SEQUENCE:4
STATUS:CONFIRMED
SUMMARY:Teaclave Community Meetup
TRANSP:OPAQUE
END:VEVENT
END:VCALENDAR

-
To unsubscribe, e-mail: dev-unsubscr...@teaclave.apache.org
For additional commands, e-mail: dev-h...@teaclave.apache.org

Re: [apache/incubator-teaclave-sgx-sdk] Clean up project template (#347)

2021-09-23 Thread Mingshen Sun
Thank you so much! Merged.

-- 
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/347#issuecomment-926172107

Re: [apache/incubator-teaclave-sgx-sdk] Clean up project template (#347)

2021-09-23 Thread Mingshen Sun
Merged #347 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/347#event-5352519985

Re: [apache/incubator-teaclave] Some Questions about data\function\task operation (#555)

2021-09-20 Thread Mingshen Sun
> Does teaclave supports delete the uploaded data\function\task?

No.

> Where are the data\wasm function files store in? Is the storage service 
> enclave?

They are stored in the *storage service*, i.e., a database protected by encalve.

> Do the data\function files exist when the teaclave service restart?

No, the current implementation is a in-memory database.


-- 
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/555#issuecomment-923297941

Re: [apache/incubator-teaclave] Generating key and signing a file (#554)

2021-09-20 Thread Mingshen Sun
Sorry, I'm not sure if I understand this question correctly. Do you mean 
signing the _input data_?

Can you give me more context of why "generating a key pair from python and use 
it to sign data"? 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/issues/554#issuecomment-923295785

Re: [apache/incubator-teaclave] Support containerized Intel Aesmd service (#553)

2021-09-15 Thread Mingshen Sun
Yes, thanks for listing the alternatives to start AESM service.

The goal here is to make the process simple and smooth for the first time users 
so that they can deploy Teaclave with minimal efforts. Otherwise, it will 
introduce more confusions. Of course, we can document different setups for 
different usage scenarios.

With that being said, a separate dockerfile 
(`aesm-service.ubuntu-1804.Dockerfile`) and using `docker-compose` to manage 
all containers should be a good option. 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:
https://github.com/apache/incubator-teaclave/issues/553#issuecomment-920242133

Re: [apache/incubator-teaclave-sgx-sdk] fix: correct buffer overwrite in sgx_libc::ocall::{read, pread64, readv, preadv64} (#353)

2021-09-14 Thread Mingshen Sun
Thank you. @volcano0dr, can you review this PR again? 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/353#issuecomment-919620986

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

2021-09-14 Thread Mingshen Sun
Hi, I want to ping this thread again. Please tell us while using the SDK for 
SGX implementation. This is really important for us to build the community.

You can also send a pull request to the "Powered By" page in our home page 
about your projects/companies here: 
https://github.com/apache/incubator-teaclave-website/blob/master/site/powered-by.md

-- 
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#issuecomment-919570861

Re: [apache/incubator-teaclave-sgx-sdk] upgrade SDK and rust compiler urgently needed (#360)

2021-09-14 Thread Mingshen Sun
@brenzi, as discussed with @volcano0dr, he's working on a new release recently. 
You'll see the changes in this month.

In the meantime, I suggest to pin to a specific version (through vendoring) to 
avoid such problem.

-- 
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/360#issuecomment-919570408

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

2021-09-14 Thread Mingshen Sun
Reopened #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-5302486130

Re: [apache/incubator-teaclave] Support containerized Intel Aesmd service (#553)

2021-09-14 Thread Mingshen Sun
Thanks for the proposal. I'm thinking if we still need keep the docker-compose 
files using the host aesmd. If not, we don't have to maintain these many `yml` 
files for both host aesmd and containerized aesmd.

Also, we need to have a separate docker file for the AESM service only: 
`aesm-service.ubuntu-1804.Dockerfile`. I saw `linux-sgx/Dockerfile` uses 
multi-sage builds 
(https://docs.docker.com/develop/develop-images/multistage-build/) for 
different targets. I don't think this is suitable for us.

-- 
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/553#issuecomment-919548754

Tags of Teaclave Committers

2021-09-14 Thread Mingshen Sun
Dear Teaclave Commiters,

Thanks for your contribution to the projects.

I'd like to propose "tags" of our committers to give a simple
description of our current committers including our PPMC to show areas
you're familiar with. This can help us to assign code reviews and help
to answer related issues.

This idea is from the TVM project. The project contributor page [1]
lists the committers and their tags, e.g., runtime, relay, vm,
compiler, etc. Each tag represents certain components or certain
topics they're interested in/familiar with.

I suggest doing the same to our contributor page [2]. I just came up
with some tags like sgx-sdk, trustzone-sdk, faas-platform, rpc,
attestation, etc. I hope this can give you some ideas of what it
should look like.

Therefore, please reply with your tags to this thread or send a PR to
the website [3] directly. Thanks!

Mingshen

- [1] https://github.com/apache/tvm/blob/main/CONTRIBUTORS.md#committers
- [2] https://teaclave.apache.org/contributors/
- [3] 
https://github.com/apache/incubator-teaclave-website/blob/master/site/contributors.md

-
To unsubscribe, e-mail: dev-unsubscr...@teaclave.apache.org
For additional commands, e-mail: dev-h...@teaclave.apache.org



Re: [apache/incubator-teaclave] Remove CONTRIBUTORS.md and point to the homepage (#552)

2021-09-14 Thread Mingshen Sun
Merged #552 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/552#event-5302240943

[apache/incubator-teaclave] Remove CONTRIBUTORS.md and point to the homepage (#552)

2021-09-14 Thread Mingshen Sun
## Description

Remove the `CONTRIBUTOS.md` file and point to the contributor information to 
the homepage.

Originally, this file is to maintains all PPMC, committer and contributor list 
for the Teaclave platform project and sub-projects. However, Its very 
difficult to maintain the contributor list especially we have several 
sub-projects (SGX SDK, TrustZone SDK). I suggest to use the homepage to present 
our contributors instead. Also, people can submit PR to the 
`incubator-teaclave-website` repo to update the list. 
(https://github.com/apache/incubator-teaclave-website/blob/master/site/contributors.md)
You can view, comment on, or merge this pull request online at:

  https://github.com/apache/incubator-teaclave/pull/552

-- Commit Summary --

  * Remove CONTRIBUTORS.md and point to the homepage

-- File Changes --

D CONTRIBUTORS.md (101)
M README.md (3)

-- Patch Links --

https://github.com/apache/incubator-teaclave/pull/552.patch
https://github.com/apache/incubator-teaclave/pull/552.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/552


Re: [apache/incubator-teaclave-sgx-sdk] [SURVEY] What companies or open source projects are using Apache Teaclave (Incubating) SGX SDK? (#239)

2021-09-14 Thread Mingshen Sun
Hi, I want to ping this thread again. Please tell us while using the SDK for 
SGX implementation. This is really important for us to build the community.

You can also send a pull request to the "Powered By" page in our home page 
about your projects/companies here: 
https://github.com/apache/incubator-teaclave-website/blob/master/site/powered-by.md

-- 
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/239#issuecomment-919503838

Re: [apache/incubator-teaclave-sgx-sdk] First Contribution: Issue #276 (#359)

2021-09-14 Thread Mingshen Sun
The docs are rendered here: https://teaclave.apache.org/sgx-sdk-docs/

All links in the index page are broken because using absolute path. Can you fix 
it by changing them to relative path?

For example, change `[Setting up your Development 
Environment](/documents/environment-setup.md)` to `[Setting up your Development 
Environment](environment-setup.md)`

-- 
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/359#issuecomment-919490920

Re: [apache/incubator-teaclave-sgx-sdk] First Contribution: Issue #276 (#359)

2021-09-14 Thread Mingshen Sun
Merged #359 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/359#event-5301898867

Re: [apache/incubator-teaclave-sgx-sdk] First Contribution: Issue #276 (#359)

2021-09-14 Thread Mingshen Sun
> I see we already have a `release_notes.md` already, would you like the 
> release summaries seen in the main `Readme.md` added to these?

I saw you fold the release summary, this is cool. 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/359#issuecomment-919419421

Re: [apache/incubator-teaclave-sgx-sdk] upgrade SDK and rust compiler urgently needed (#360)

2021-09-13 Thread Mingshen Sun
Thanks for the report. I'll link a related PR here: 
https://github.com/apache/incubator-teaclave-sgx-sdk/pull/349

-- 
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/360#issuecomment-918552275

Re: [apache/incubator-teaclave-sgx-sdk] Upgrade to 1.55 nightly (#349)

2021-09-13 Thread Mingshen Sun
I think this should be properly resolved as soon as possible.

@volcano0dr any timeline for the new version?

-- 
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/349#issuecomment-918551997

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

2021-09-13 Thread Mingshen Sun
@mjquinlan Thank you so much! I'm wondering if there's any update on this PR.

-- 
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/273#issuecomment-918550411

Re: [apache/incubator-teaclave-sgx-sdk] fix: correct buffer overwrite in sgx_libc::ocall::{read, pread64, readv, preadv64} (#353)

2021-09-13 Thread Mingshen Sun
Thanks @clauverjat, any update on this PR?

-- 
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/353#issuecomment-918546929

Re: [apache/incubator-teaclave] How to deploy Teaclave on TrustZone platform (#551)

2021-09-13 Thread Mingshen Sun
> so I‘m wondering if Teaclave can be deployed based on Teaclave-trustzon-sdk? 
> If it can be deployed, how to deploy it?

No. The current implementation of Teaclave FaaS platform is for Intel SGX.

-- 
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/551#issuecomment-918536504

Re: [apache/incubator-teaclave-sgx-sdk] First Contribution: Issue #276 (#359)

2021-09-12 Thread Mingshen Sun
Thanks @ThomasPluck! I'll help to review the PR.

-- 
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/359#issuecomment-917722520

Re: Teaclave (Virtual) Meetup #7 - 7-8pm, Aug 26, 2021 PT

2021-08-30 Thread Mingshen Sun
I also posted the Teaclave Meetup #7 minutes in our blog:
https://teaclave.apache.org/blog/2021-08-26-teaclave-meetup-7/.

Mingshen

On Thu, Aug 26, 2021 at 7:35 PM Mingshen Sun  wrote:
>
> Hi all,
>
> Thanks for attending this month's meetup.
>
> Here is the minutes for th meetup:
> https://mssun.notion.site/Teaclave-Community-Meetup-Minutes-5cb34b2215f4474c834c108fbcfa4e4d
>
> I'll also update it in our blog. Thanks!
>
>
> Mingshen
>
> On Tue, Aug 24, 2021 at 2:47 PM Mingshen Sun  wrote:
> >
> > Dear Teaclave community,
> >
> > We are going to have the 7th monthly Teaclave (virtual) meetup. The
> > meetup in this month is scheduled on Aug 26, 2021 (PT):
> >
> > - 19:00-20:00 on Thursday, Aug 26, 2021 (PT)
> >
> > You can find the corresponding date time in your TZ here:
> > https://time.is/compare/1900_26_August_2021_in_PT
> >
> > As usual, I'll give an update of Teaclave first. Then, if there's no
> > specific topic this time, we will have an open discussion session on
> > recent news/projects around confidential computing.
> >
> > I also create a Google Calendar for the recurring events. Please
> > subscribe if you're interested.
> >
> > Apache Teaclave (incubating) Community Calendar:
> > https://calendar.google.com/calendar/u/0/embed?src=l1q5osem2br8i4bj7dgik5s...@group.calendar.google.com
> >
> > At last, same as the previous meetup, please RSVP for the Zoom link
> > (or find it in the shared calendar). Thanks!
> >
> > Best,
> > Mingshen Sun

-
To unsubscribe, e-mail: dev-unsubscr...@teaclave.apache.org
For additional commands, e-mail: dev-h...@teaclave.apache.org



Re: Teaclave (Virtual) Meetup #7 - 7-8pm, Aug 26, 2021 PT

2021-08-26 Thread Mingshen Sun
Hi all,

Thanks for attending this month's meetup.

Here is the minutes for th meetup:
https://mssun.notion.site/Teaclave-Community-Meetup-Minutes-5cb34b2215f4474c834c108fbcfa4e4d

I'll also update it in our blog. Thanks!


Mingshen

On Tue, Aug 24, 2021 at 2:47 PM Mingshen Sun  wrote:
>
> Dear Teaclave community,
>
> We are going to have the 7th monthly Teaclave (virtual) meetup. The
> meetup in this month is scheduled on Aug 26, 2021 (PT):
>
> - 19:00-20:00 on Thursday, Aug 26, 2021 (PT)
>
> You can find the corresponding date time in your TZ here:
> https://time.is/compare/1900_26_August_2021_in_PT
>
> As usual, I'll give an update of Teaclave first. Then, if there's no
> specific topic this time, we will have an open discussion session on
> recent news/projects around confidential computing.
>
> I also create a Google Calendar for the recurring events. Please
> subscribe if you're interested.
>
> Apache Teaclave (incubating) Community Calendar:
> https://calendar.google.com/calendar/u/0/embed?src=l1q5osem2br8i4bj7dgik5s...@group.calendar.google.com
>
> At last, same as the previous meetup, please RSVP for the Zoom link
> (or find it in the shared calendar). Thanks!
>
> Best,
> Mingshen Sun

-
To unsubscribe, e-mail: dev-unsubscr...@teaclave.apache.org
For additional commands, e-mail: dev-h...@teaclave.apache.org



[ANNOUNCE] Apache Teaclave (incubating) 0.3.0 released

2021-08-24 Thread Mingshen Sun
Dear community,

The Apache Teaclave (incubating) team is pleased to announce the
release of Apache Teaclave (incubating) 0.3.0.

This is the third 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.

This is the third official Apache Incubator release. In this release,
we focus more on bringing WebAssembly into Teaclave. Now, you can run
functions written in different languages in Teaclave with the
WebAssembly executor. Specifically, we modify WebAssembly Micro
Runtime and add it as a new executor in Teaclave.

To illustrate the capability of the executor, we also support
WebAssembly machine learning models compiled by Apache TVM. Apache TVM
is an open source machine learning compiler framework for CPUs, GPUs,
and machine learning accelerators.  TVM also supports WebAssembly
runtime backend.  We also introduce a new MNIST inference example to
show the usage of the new executor with TVM.

Here is a list of notable changes in Teaclave version 0.3.0.

**Features**
  - Add the WebAssembly executor to support functions written in other
languages.
  - Examples of running C and Rust with the WebAssembly executor.
  - Support inference tasks with models compiled by TVM.
  - Add the MNIST inference example to demonstrate the ability of
using TVM in Teaclave.

**Enhancements**
  - Add the script to simplify developing with editors with Rust's
Language Server Protocol support.
  - Upgrade SGX SDK dependencies, i.e., Intel SGX SDK to version
2.14.100.2, DCAP to version 1.11.100.2.

**Bug Fixes**
  - Update the SGX SDK used in the runtime dockerfile.
  - Fix Python.h not found when compiling acs_py_enclave.c.
  - Fix building system messed up by untracked Cargo.lock files.
  - Fix dcap building issue.

**Docs**
  - Add instructions to configure URLs of input/output files in examples.
  - Executing WebAssembly in Teaclave:
https://teaclave.apache.org/docs/executing-wasm/.
  - Inferencing with TVM in Teaclave:
https://teaclave.apache.org/docs/inference-with-tvm/.

Release notes can be found here:
https://github.com/apache/incubator-teaclave/releases/tag/v0.3.0

A link to the download can be found here: https://teaclave.apache.org/download/

To learn more about Teaclave, please visit: https://teaclave.apache.org/


Best,
Mingshen Sun
The Apache Teaclave (incubating) Team

===

*Disclaimer*

Apache Teaclave (incubating) is an effort undergoing incubation at The
Apache Software Foundation (ASF), sponsored by the Apache Incubator.
Incubation is required of all newly accepted projects until a further
review indicates that the infrastructure, communications, and decision
making process have stabilized in a manner consistent with other
successful ASF projects. While incubation status is not necessarily a
reflection of the completeness or stability of the code, it does
indicate that the project has yet to be fully endorsed by the ASF.

-
To unsubscribe, e-mail: dev-unsubscr...@teaclave.apache.org
For additional commands, e-mail: dev-h...@teaclave.apache.org



Teaclave (Virtual) Meetup #7 - 7-8pm, Aug 26, 2021 PT

2021-08-24 Thread Mingshen Sun
BEGIN:VCALENDAR
PRODID:-//Google Inc//Google Calendar 70.9054//EN
VERSION:2.0
CALSCALE:GREGORIAN
METHOD:PUBLISH
X-WR-CALNAME:Apache Teaclave (incubating) Community Calendar
X-WR-TIMEZONE:America/Los_Angeles
X-WR-CALDESC:Events of Apache Teaclave (incubating) community.
BEGIN:VTIMEZONE
TZID:America/Los_Angeles
X-LIC-LOCATION:America/Los_Angeles
BEGIN:DAYLIGHT
TZOFFSETFROM:-0800
TZOFFSETTO:-0700
TZNAME:PDT
DTSTART:19700308T02
RRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=2SU
END:DAYLIGHT
BEGIN:STANDARD
TZOFFSETFROM:-0700
TZOFFSETTO:-0800
TZNAME:PST
DTSTART:19701101T02
RRULE:FREQ=YEARLY;BYMONTH=11;BYDAY=1SU
END:STANDARD
END:VTIMEZONE
BEGIN:VEVENT
DTSTART;TZID=America/Los_Angeles:20210826T19
DTEND;TZID=America/Los_Angeles:20210826T20
RRULE:FREQ=MONTHLY;BYDAY=-1TH
DTSTAMP:20210824T214545Z
UID:5mqjt1r0ane1ogleev6t5bu...@google.com
CREATED:20210824T212048Z
DESCRIPTION:Topic: Teaclave Community MeetupTime: 7:00pm - 8:00pm\, mon
 thly on the last Thursday (PT).Join Zoom Meetinghttps
 ://us02web.zoom.us/j/82385130105?pwd=VnN3K2N4T01iT1oyU0dPVGN1bUFBZz09Meeting ID: 823 8513 0105Passcode: 719877Join by SIP<
 a href="mailto:82385130...@zoomcrc.com">82385130...@zoomcrc.com
 Join by H.323162.255.37.11 (US West)162.255.36.11 (US East)221.
 122.88.195 (China)115.114.131.7 (India Mumbai)115.114.115.7 (India 
 Hyderabad)213.19.144.110 (Amsterdam Netherlands)213.244.140.110 (Ge
 rmany)103.122.166.55 (Australia Sydney)103.122.167.55 (Australia Me
 lbourne)209.9.211.110 (Hong Kong SAR)149.137.40.110 (Singapore)
 64.211.144.160 (Brazil)69.174.57.160 (Canada Toronto)65.39.152.160 
 (Canada Vancouver)207.226.132.110 (Japan Tokyo)149.137.24.110 (Japa
 n Osaka)
LAST-MODIFIED:20210824T214419Z
LOCATION:
SEQUENCE:4
STATUS:CONFIRMED
SUMMARY:Teaclave Community Meetup
TRANSP:OPAQUE
END:VEVENT
END:VCALENDAR
BEGIN:VCALENDAR
PRODID:-//Google Inc//Google Calendar 70.9054//EN
VERSION:2.0
CALSCALE:GREGORIAN
METHOD:PUBLISH
X-WR-CALNAME:Apache Teaclave (incubating) Community Calendar
X-WR-TIMEZONE:America/Los_Angeles
X-WR-CALDESC:Events of Apache Teaclave (incubating) community.
BEGIN:VTIMEZONE
TZID:America/Los_Angeles
X-LIC-LOCATION:America/Los_Angeles
BEGIN:DAYLIGHT
TZOFFSETFROM:-0800
TZOFFSETTO:-0700
TZNAME:PDT
DTSTART:19700308T02
RRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=2SU
END:DAYLIGHT
BEGIN:STANDARD
TZOFFSETFROM:-0700
TZOFFSETTO:-0800
TZNAME:PST
DTSTART:19701101T02
RRULE:FREQ=YEARLY;BYMONTH=11;BYDAY=1SU
END:STANDARD
END:VTIMEZONE
BEGIN:VEVENT
DTSTART;TZID=America/Los_Angeles:20210826T19
DTEND;TZID=America/Los_Angeles:20210826T20
RRULE:FREQ=MONTHLY;BYDAY=-1TH
DTSTAMP:20210824T214545Z
UID:5mqjt1r0ane1ogleev6t5bu...@google.com
CREATED:20210824T212048Z
DESCRIPTION:Topic: Teaclave Community MeetupTime: 7:00pm - 8:00pm\, mon
 thly on the last Thursday (PT).Join Zoom Meetinghttps
 ://us02web.zoom.us/j/82385130105?pwd=VnN3K2N4T01iT1oyU0dPVGN1bUFBZz09Meeting ID: 823 8513 0105Passcode: 719877Join by SIP<
 a href="mailto:82385130...@zoomcrc.com">82385130...@zoomcrc.com
 Join by H.323162.255.37.11 (US West)162.255.36.11 (US East)221.
 122.88.195 (China)115.114.131.7 (India Mumbai)115.114.115.7 (India 
 Hyderabad)213.19.144.110 (Amsterdam Netherlands)213.244.140.110 (Ge
 rmany)103.122.166.55 (Australia Sydney)103.122.167.55 (Australia Me
 lbourne)209.9.211.110 (Hong Kong SAR)149.137.40.110 (Singapore)
 64.211.144.160 (Brazil)69.174.57.160 (Canada Toronto)65.39.152.160 
 (Canada Vancouver)207.226.132.110 (Japan Tokyo)149.137.24.110 (Japa
 n Osaka)
LAST-MODIFIED:20210824T214419Z
LOCATION:
SEQUENCE:4
STATUS:CONFIRMED
SUMMARY:Teaclave Community Meetup
TRANSP:OPAQUE
END:VEVENT
END:VCALENDAR

-
To unsubscribe, e-mail: dev-unsubscr...@teaclave.apache.org
For additional commands, e-mail: dev-h...@teaclave.apache.org

Re: [apache/incubator-teaclave] Doc: C code can also be compiled using Zig (#550)

2021-08-24 Thread Mingshen Sun
Merged #550 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/550#event-5202274613

Re: [apache/incubator-teaclave] Doc: C code can also be compiled using Zig (#550)

2021-08-23 Thread Mingshen Sun
> I tried `zig` 0.8 on Ubuntu and it works for `simple_add` example.
> 
> I'm not so familiar with `zig`, @jedisct1 could you please explain the 
> benefits of compiling C to WASM with `zig`? It would be great if you can add 
> one or two sentences in the document!

I believe on benefit he mentioned in the PR is "No need for another full LLVM 
installation if Zig is already installed."

-- 
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/550#issuecomment-904303114

Re: [apache/incubator-teaclave] Doc: C code can also be compiled using Zig (#550)

2021-08-23 Thread Mingshen Sun
Let me try if it works in the WAMR executor. 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/550#issuecomment-904169498

[apache/incubator-teaclave] Release v0.3.0 - Apache Teaclave (incubating) 0.3.0

2021-08-23 Thread Mingshen Sun
Apache Teaclave (incubating) is an open source universal secure computing 
platform, making computation on privacy-sensitive data safe and simple.

This is the third official Apache Incubator release. In this release, we focus 
more on bringing WebAssembly into Teaclave. Now, you can run functions written 
in different languages in Teaclave with the WebAssembly executor. Specifically, 
we modify WebAssembly Micro Runtime and add it as a new executor in Teaclave.

To illustrate the capability of the executor, we also support WebAssembly 
machine learning models compiled by Apache TVM. Apache TVM is an open source 
machine learning compiler framework for CPUs, GPUs, and machine learning 
accelerators.  TVM also supports WebAssembly runtime backend.  We also 
introduce a new MNIST inference example to show the usage of the new executor 
with TVM.

Here is a list of notable chanages in Teaclave version 0.3.0.

**Features**
  - Add the WebAssemly executor to support functions written in other languages.
  - Exmples of runing C and Rust with the WebAssembly executor.
  - Support inference tasks with models compiled by TVM.
  - Add the MNIST inference example to demonstrate the ability of using TVM in 
Teaclave.

**Enhancements**
  - Add the script to simplify developing with editors with Rust's Language 
Server Protocol support.
  - Upgrade SGX SDK dependencies, i.e., Intel SGX SDK to version 2.14.100.2, 
DCAP to version 1.11.100.2.

**Bug Fixes**
  - Update the SGX SDK used in the runtime dockerfile.
  - Fix Python.h not found when compiling acs_py_enclave.c.
  - Fix building system messed up by untracked Cargo.lock files.
  - Fix dcap building issue.

**Docs**
  - Add instruction to config URLs of input/output files in examples.
  - Executing WebAssembly in Teaclave: 
https://teaclave.apache.org/docs/executing-wasm/.
  - Inferencing with TVM in Teaclave: 
https://teaclave.apache.org/docs/inference-with-tvm/.

-- 
You are receiving this because you are subscribed to this thread.
View it on GitHub:
https://github.com/apache/incubator-teaclave/releases/tag/v0.3.0

[RESULT][VOTE] Release Apache Teaclave (incubating) v0.3.0-rc.1

2021-08-23 Thread Mingshen Sun
Hi all,

Thanks to everyone that participated. The vote to release Apache
Teaclave (incubating) version 0.3.0 Release Candidate 1 in general@incuabator
is now closed.

Vote thread: 
https://lists.apache.org/thread.html/r018fb18270819082d15b106a9261144c8b27144cef992b68db537597%40%3Cgeneral.incubator.apache.org%3E

The vote PASSED with 5 binding +1, 0 non binding +1 and 0 -1 votes:

Binding votes:
- Gordon King
- Yulong Zhang
- Xun Liu
- Hongbo Chen
- Rundong Zhou

I will be working on publishing the artifacts of Apache Teaclave
(incubating) v0.3.0 and post an announcement. Thanks.

Mingshen

-
To unsubscribe, e-mail: dev-unsubscr...@teaclave.apache.org
For additional commands, e-mail: dev-h...@teaclave.apache.org



[RESULT] [VOTE] Release Apache Teaclave (incubating) v0.3.0-rc.1

2021-08-19 Thread Mingshen Sun
Dear Teaclave community,

It's suggested to have another email for the voting result. I'll put
the result here again. Thanks.

The vote to release Apache Teaclave (incubating) v0.3.0-rc1 is now closed.

This release has PASSED with 5 +1 votes (4 binding), no 0 votes, and 0 -1 vote.

+1 votes
* Pei Wang (binding)
* Yulong Zhang (binding)
* Rundong Zhou (binding)
* Tongxin Li (binding)
* Hongbo Chen (binding)

0 votes
* No votes

-1 votes
* No votes

Vote thread: 
https://lists.apache.org/thread.html/r1feb15a35ff03933c794fe18d957c2a312ceeb6662deb4e22153f559%40%3Cdev.teaclave.apache.org%3E

Best,
Mingshen Sun

-
To unsubscribe, e-mail: dev-unsubscr...@teaclave.apache.org
For additional commands, e-mail: dev-h...@teaclave.apache.org



Re: [VOTE] Release Apache Teaclave (incubating) v0.3.0-rc.1

2021-08-19 Thread Mingshen Sun
Hi all,

I'm glad to announce the results of the vote.

This vote PASSED with 5 +1 votes (5 binding), no 0 votes, and 0 -1 vote.

+1 votes
* Pei Wang (binding)
* Yulong Zhang (binding)
* Rundong Zhou (binding)
* Tongxin Li (binding)
* Hongbo Chen (binding)

0 votes
* No votes

-1 votes
* No votes

The list of members can be found here [1].

I'll continue with the release process on general@.

[1] https://teaclave.apache.org/contributors/

Best,
Mingshen Sun


On Thu, Aug 19, 2021 at 9:20 PM Pei Wang  wrote:
>
> +1.
>
> On Thu, Aug 19, 2021 at 4:26 PM Rundong Zhou  wrote:
>
> > +1
> >
> > On 2021/08/19 05:04:33, Tongxin Li  wrote:
> > > +1
> > >
> > > Best,
> > > Tongxin
> > >
> > > On Wed, Aug 18, 2021 at 3:09 PM Hongbo Chen  wrote:
> > >
> > > > I tried to build Teaclave from this release and it works well in
> > SIM_MODE
> > > > on my and.
> > > > +1 :)
> > > >
> > > > Thanks,
> > > > Hongbo
> > > >
> > > > On Tue, Aug 17, 2021 at 2:20 PM Yulong Zhang 
> > > > wrote:
> > > >
> > > > > +1
> > > > >
> > > > > On 2021/08/17 03:39:39, Mingshen Sun  wrote:
> > > > > > Hi all,
> > > > > >
> > > > > > I am pleased to be calling this vote for the third release of
> > > > > > Apache Teaclave (incubating) 0.3.0 (release candidate 1).
> > > > > >
> > > > > > The release candidate to be voted over is available at:
> > > > > >   -
> > > > >
> > https://dist.apache.org/repos/dist/dev/incubator/teaclave/0.3.0-rc.1/
> > > > > >
> > > > > > The release candidate is signed with a GPG key available at:
> > > > > >   - https://dist.apache.org/repos/dist/dev/incubator/teaclave/KEYS
> > > > > >
> > > > > > The Git commit for this release is:
> > > > > >   -
> > > > >
> > > >
> > https://gitbox.apache.org/repos/asf?p=incubator-teaclave.git;a=commit;h=f2be66e025f9323512b2e8fec5d99e04908b552a
> > > > > >
> > > > > > The release note is available in:
> > > > > >   -
> > > > >
> > https://github.com/apache/incubator-teaclave/releases/tag/v0.3.0-rc.1
> > > > > >
> > > > > > Build guide and get started instructions can be found at:
> > > > > >   -
> > > > >
> > > >
> > https://github.com/apache/incubator-teaclave/blob/v0.3.0-rc.1/docs/my-first-function.md
> > > > > >
> > > > > > The short version of building Teaclave from the source tarball:
> > > > > >
> > > > > > ```
> > > > > > $ wget
> > > > >
> > > >
> > https://dist.apache.org/repos/dist/dev/incubator/teaclave/0.3.0-rc.1/apache-teaclave-0.3.0-rc.1-incubating.tar.gz
> > > > > > $ tar zxvf apache-teaclave-0.3.0-rc.1-incubating.tar.gz && cd \
> > > > > >   apache-teaclave-0.3.0-incubating
> > > > > > $ # Instructions to verify the source tar:
> > > > > >
> > > >
> > https://teaclave.apache.org/download/#verify-the-integrity-of-the-files
> > > > > >
> > > > > > $ 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 && \
> > > > > >  cmake -DTEST_MODE=ON -DSGX_SIM_MODE=ON -DGIT_SUBMODULE=OFF ..
> > && \
> > > > > >  make"
> > > > > > ```
> > > > > >
> > > > > > The vote will be open for at least 72 hours. Everyone is welcome to
> > > > > > vote. Please vote by replying to this thread explicitly.
> > > > > >
> > > > > >   [ ] +1 approve
> > > > > >   [ ] +0 no opinion
> > > > > >   [ ] -1 disapprove with the reason
> > > > > >
> > > > > > Anyone can participate in testing and voting, not just committers,
> > > > > > please feel free to try out the release candidate and provide your
> > > > > > votes. Please also reply 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
> > > > > >
> > > > > >
> > -
> > > > > > To unsubscribe, e-mail: dev-unsubscr...@teaclave.apache.org
> > > > > > For additional commands, e-mail: dev-h...@teaclave.apache.org
> > > > > >
> > > > > >
> > > > >
> > > > > -
> > > > > To unsubscribe, e-mail: dev-unsubscr...@teaclave.apache.org
> > > > > For additional commands, e-mail: dev-h...@teaclave.apache.org
> > > > >
> > > > >
> > > >
> > >
> >
> > -
> > To unsubscribe, e-mail: dev-unsubscr...@teaclave.apache.org
> > For additional commands, e-mail: dev-h...@teaclave.apache.org
> >
> >

-
To unsubscribe, e-mail: dev-unsubscr...@teaclave.apache.org
For additional commands, e-mail: dev-h...@teaclave.apache.org



Re: [apache/incubator-teaclave] Cannot build TVM example (#547)

2021-08-19 Thread Mingshen Sun
Closed #547 via #549.

-- 
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/547#event-5182727948

Re: [apache/incubator-teaclave] Add local onnx model for building TVM graph (#549)

2021-08-19 Thread Mingshen Sun
Merged #549 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/549#event-5182727930

Re: [apache/incubator-teaclave-sgx-sdk] Support stable rust? (#315)

2021-08-18 Thread Mingshen Sun
Another solution to supporting stable rust: 
https://www.crowdsupply.com/sutajio-kosagi/precursor/updates/adding-rust-stable-libstd-support-for-xous

In a nutshell, we can put compiled std `rlib` to `sysroot`.

-- 
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/315#issuecomment-900872760

Re: [apache/incubator-teaclave] Cannot build TVM example (#547)

2021-08-18 Thread Mingshen Sun
The quota issue of `onnx/models` has been fixed.

-- 
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/547#issuecomment-900834208

[apache/incubator-teaclave] CI is broken when building TVM example (#547)

2021-08-17 Thread Mingshen Sun
CI is broken now: https://github.com/apache/incubator-teaclave/runs/3353624057

This is caused by `onnx/models`'s Git LFS quota reached. 
https://github.com/onnx/models/issues/459


-- 
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/547

Re: [apache/incubator-teaclave] A top-level Cargo.toml for virtual workspaces (#546)

2021-08-17 Thread Mingshen Sun
Hi, this is not feasible right now. Teaclave uses two set of Rust dependencies 
for SGX enclave and untrusted normal world separately. We haven't consolidated 
these into one. Therefore, we have to compile code in different worlds 
separately with different `Cargo.toml` files. You can find there here: 
https://github.com/apache/incubator-teaclave/tree/master/cmake/tomls. Our 
building system (cmake) will help to switch dependencies when building code for 
different worlds.

-- 
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/546#issuecomment-900625261

Re: [apache/incubator-teaclave] Intel SGX SDK not found (build on baremetal) (#544)

2021-08-17 Thread Mingshen Sun
Closed #544.

-- 
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/544#event-5170212473

Re: [apache/incubator-teaclave] Fix dependent PkgConfig missing (#545)

2021-08-17 Thread Mingshen Sun
Merged #545 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/545#event-5170132208

Re: [apache/incubator-teaclave] Intel SGX SDK not found (build on baremetal) (#544)

2021-08-16 Thread Mingshen Sun
The `CMakeLists.txt` checks if `libsgx_urts>=2.12.100.3`. See here:

https://github.com/apache/incubator-teaclave/blob/f2be66e025f9323512b2e8fec5d99e04908b552a/CMakeLists.txt#L27-L30

-- 
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/544#issuecomment-899985598

[VOTE] Release Apache Teaclave (incubating) v0.3.0-rc.1

2021-08-16 Thread Mingshen Sun
Hi all,

I am pleased to be calling this vote for the third release of
Apache Teaclave (incubating) 0.3.0 (release candidate 1).

The release candidate to be voted over is available at:
  - https://dist.apache.org/repos/dist/dev/incubator/teaclave/0.3.0-rc.1/

The release candidate is signed with a GPG key available at:
  - https://dist.apache.org/repos/dist/dev/incubator/teaclave/KEYS

The Git commit for this release is:
  - 
https://gitbox.apache.org/repos/asf?p=incubator-teaclave.git;a=commit;h=f2be66e025f9323512b2e8fec5d99e04908b552a

The release note is available in:
  - https://github.com/apache/incubator-teaclave/releases/tag/v0.3.0-rc.1

Build guide and get started instructions can be found at:
  - 
https://github.com/apache/incubator-teaclave/blob/v0.3.0-rc.1/docs/my-first-function.md

The short version of building Teaclave from the source tarball:

```
$ wget 
https://dist.apache.org/repos/dist/dev/incubator/teaclave/0.3.0-rc.1/apache-teaclave-0.3.0-rc.1-incubating.tar.gz
$ tar zxvf apache-teaclave-0.3.0-rc.1-incubating.tar.gz && cd \
  apache-teaclave-0.3.0-incubating
$ # Instructions to verify the source tar:
https://teaclave.apache.org/download/#verify-the-integrity-of-the-files

$ 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 && \
 cmake -DTEST_MODE=ON -DSGX_SIM_MODE=ON -DGIT_SUBMODULE=OFF .. && \
 make"
```

The vote will be open for at least 72 hours. Everyone is welcome to
vote. Please vote by replying to this thread explicitly.

  [ ] +1 approve
  [ ] +0 no opinion
  [ ] -1 disapprove with the reason

Anyone can participate in testing and voting, not just committers,
please feel free to try out the release candidate and provide your
votes. Please also reply 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

-
To unsubscribe, e-mail: dev-unsubscr...@teaclave.apache.org
For additional commands, e-mail: dev-h...@teaclave.apache.org



[apache/incubator-teaclave] Pre-release v0.3.0-rc.1 - Apache Teaclave (incubating) 0.3.0 Release Candidate 1

2021-08-16 Thread Mingshen Sun
Apache Teaclave (incubating) is an open source universal secure computing 
platform, making computation on privacy-sensitive data safe and simple.

This is the third official Apache Incubator release. In this release, we focus 
more on bringing WebAssembly into Teaclave. Now, you can run functions written 
in different languages in Teaclave with the WebAssembly executor. Specifically, 
we modify WebAssembly Micro Runtime and add it as a new executor in Teaclave.

To illustrate the capability of the executor, we also support WebAssembly 
machine learning models compiled by Apache TVM. Apache TVM is an open source 
machine learning compiler framework for CPUs, GPUs, and machine learning 
accelerators.  TVM also supports WebAssembly runtime backend.  We also 
introduce a new MNIST inference example to show the usage of the new executor 
with TVM.

Here is a list of notable chanages in Teaclave version 0.3.0.

**Features**
  - Add the WebAssemly executor to support functions written in other languages.
  - Exmples of runing C and Rust with the WebAssembly executor.
  - Support inference tasks with models compiled by TVM.
  - Add the MNIST inference example to demonstrate the ability of using TVM in 
Teaclave.

**Enhancements**
  - Add the script to simplify developing with editors with Rust's Language 
Server Protocol support.
  - Upgrade SGX SDK dependencies, i.e., Intel SGX SDK to version 2.14.100.2, 
DCAP to version 1.11.100.2.

**Bug Fixes**
  - Update the SGX SDK used in the runtime dockerfile.
  - Fix Python.h not found when compiling acs_py_enclave.c.
  - Fix building system messed up by untracked Cargo.lock files.
  - Fix dcap building issue.

**Docs**
  - Add instruction to config URLs of input/output files in examples.
  - Executing WebAssembly in Teaclave: 
https://teaclave.apache.org/docs/executing-wasm/.
  - Inferencing with TVM in Teaclave: 
https://teaclave.apache.org/docs/inference-with-tvm/.

-- 
You are receiving this because you are subscribed to this thread.
View it on GitHub:
https://github.com/apache/incubator-teaclave/releases/tag/v0.3.0-rc.1

Re: [apache/incubator-teaclave] Build cargo-lipo with the stable rust (#543)

2021-08-16 Thread Mingshen Sun
Merged #543 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/543#event-5165776509

[apache/incubator-teaclave] Build cargo-lipo with the stable rust (#543)

2021-08-16 Thread Mingshen Sun
## Description

Build cargo-lipo with the stable rust.
You can view, comment on, or merge this pull request online at:

  https://github.com/apache/incubator-teaclave/pull/543

-- Commit Summary --

  * Build cargo-lipo with the stable rust

-- File Changes --

M .github/workflows/ci.yml (2)

-- Patch Links --

https://github.com/apache/incubator-teaclave/pull/543.patch
https://github.com/apache/incubator-teaclave/pull/543.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/543


Re: [apache/incubator-teaclave] add TVM example document (#537)

2021-08-16 Thread Mingshen Sun
Merged #537 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/537#event-5164833940

Re: [apache/incubator-teaclave] Use struture builder to construct complicated structures (#542)

2021-08-11 Thread Mingshen Sun
Merged. 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/542#issuecomment-897018996

Re: [apache/incubator-teaclave] Use struture builder to construct complicated structures (#542)

2021-08-11 Thread Mingshen Sun
Merged #542 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/542#event-5143830887

Re: [apache/incubator-teaclave] Add license headers (#541)

2021-08-10 Thread Mingshen Sun
Merged #541 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/541#event-5137674012

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