You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@teaclave.apache.org by ms...@apache.org on 2021/03/09 22:34:14 UTC
[incubator-teaclave-website] branch master updated (2e4881e ->
2ae3e5c)
This is an automated email from the ASF dual-hosted git repository.
mssun pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-teaclave-website.git.
from 2e4881e Add 0.2.0 release blog
new 9f386f4 Add 0.2.0 release blog in Chinese
new 2ae3e5c Add link to Teacalve TrustZone SDK
The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
site/.vuepress/config.js | 1 +
.../2021-03-02-announcing-teaclave-0.2.0-cn.md | 114 +++++++++++++++++++++
site/blog/2021-03-02-announcing-teaclave-0.2.0.md | 2 +
3 files changed, 117 insertions(+)
create mode 100644 site/blog/2021-03-02-announcing-teaclave-0.2.0-cn.md
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@teaclave.apache.org
For additional commands, e-mail: commits-help@teaclave.apache.org
[incubator-teaclave-website] 01/02: Add 0.2.0 release blog in
Chinese
Posted by ms...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
mssun pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-teaclave-website.git
commit 9f386f4eaafb7435c55a5fbddaab0f189473bf5b
Author: Mingshen Sun <bo...@mssun.me>
AuthorDate: Tue Mar 9 14:06:32 2021 -0800
Add 0.2.0 release blog in Chinese
---
.../2021-03-02-announcing-teaclave-0.2.0-cn.md | 114 +++++++++++++++++++++
site/blog/2021-03-02-announcing-teaclave-0.2.0.md | 2 +
2 files changed, 116 insertions(+)
diff --git a/site/blog/2021-03-02-announcing-teaclave-0.2.0-cn.md b/site/blog/2021-03-02-announcing-teaclave-0.2.0-cn.md
new file mode 100644
index 0000000..22958c9
--- /dev/null
+++ b/site/blog/2021-03-02-announcing-teaclave-0.2.0-cn.md
@@ -0,0 +1,114 @@
+---
+title: Apache Teaclave (incubating) 0.2.0 发布
+date: 2021-03-02
+author: Mingshen Sun
+---
+
+[English](/blog/2021-03-01-announcing-teaclave-0-2-0/) | [中文](/blog/2021-03-01-announcing-teaclave-0-2-0-cn/)
+
+Apache Teaclave (incubating) 是一个隐私安全计算平台,为隐私数据计算赋能。基于硬
+件安全能力,Teaclave 确保敏感数据在可信域外和离岸场景下安全可控的流通和处理,无
+需担心隐私数据泄露和滥用。 Teaclave 同时支持多方参与的联合计算,打破企业和组织中
+的数据孤岛。Teaclave 于 2019 年由百度捐赠进入 Apache 基金会孵化器。在 2020 年 10
+月发布第一个开源社区版本。
+
+Teaclave 使用 Intel SGX, 提供基于硬件隔离、内存加密、远程证实等安全技术保护数据
+隐私计算任务。 Teaclave 平台提供了函数即服务(function-as-a-service)接口,降低
+了使用门槛。平台中也实现了众多内置函数,例如机器学习算法,多方联 合求交,加解密
+计算等等常用功能。更重要的是,开发者还可以使用 Python 自由编写函数来操作隐私数据,
+在中平台执行。最后,为了避免内存安全漏洞带来的安全风险,Teaclave 还使用内存安全
+编程语言 Rust 编写。
+
+2021 年 3 月 2 日,我们迎来了 Teaclave 第二个社区版本的发布 0.2.0。在这一版本中,
+我们重点放在提供更多的内建函数,不同语言的客户端 SDK,更方便的 docker 部署环境,
+命令行接口,文档等等。
+
+## Teaclave 0.2.0 亮点介绍
+
+在 0.2.0 中,我们添加了多种语言的客户端 SDK,现在我们提供了 Python、Rust、C、
+Swift 四种语言的接口,在 Teaclave Meetup #2 中,我们已经介绍了不同语言 SDK 的组
+织结构和框架。简单来说,我们使用 JSON 序列化/反序列化的方式作为多语言的边界。下
+图描述了这几种语言 SDK 的关系,以及一些事例的接口。
+
+
+
+## Teaclave 0.2.0 版本详情
+
+详细来讲 0.2.0 包括一下修改以及新功能:
+
+### Functions
+
+- 增加内置的 PCA (Principal Component Analysis) 函数
+- 添加泄漏密码查询内置函数 (#447)
+
+### SDK
+
+- 增加 Rust 客户端 SDK (#455)
+- 增加 C 客户端 SDK (#470)
+- 增加 Swift 客户端 SDK,也就是 iOS framework
+- 修改 SDK 中接口的 CMAC 格式为 byte array
+
+### Docker
+
+- 增加 `teaclave-file-service` 容器作为示例程序的远程文件系统 (#446)
+- 修复在仿真模式下的 docker compose 文件 (#462)
+
+### CLI
+
+- 增加 `attesation` 的子命令,可以展示当前 SGX 平台的远程认证报告
+
+### 文档
+
+- 增加 codebase 中的文档
+- 增加在 Azure Confidential Compute VM 中部署 Teaclave 的文档介绍
+
+### 其他
+
+- 在 binder 模块中增加 input/output buffer 的检查以及测试
+- 使用 Github Action 进行 PR 的编译、测试以及格式检查
+- 文档的打磨
+
+## 如何下载
+
+Teaclave 0.2.0 版本可以在官网下载页面找到(注意验证 PGP 签名和 hash)。
+
+## 快速入门
+
+如果您想尝试使用 Teaclave,我们提供了一个简单的上手文档([https://teaclave.apache.org/docs/my-first-function/](https://teaclave.apache.org/docs/my-first-function/))来执行一个打印 hello world 的函数。
+
+简单来说,你可以通过以下命令使用 docker 编译 Teaclave:
+
+```
+$ cd incubator-teaclave
+$ docker run --rm -v $(pwd):/teaclave -w /teaclave \
+ -it teaclave/teaclave-build-ubuntu-1804-sgx-2.9.1:latest \
+ bash -c ". /root/.cargo/env && \
+ . /opt/sgxsdk/environment && \
+ mkdir -p build && cd build && \
+ cmake -DTEST_MODE=ON .. && \
+ make"
+```
+
+然后使用 `docker-compose` 在仿真模式下执行 Teaclave 的所有服务:
+
+```
+$ (cd docker && docker-compose -f docker-compose-ubuntu-1804-sgx-sim-mode.yml up --build)
+```
+
+最后,就可以在 examples 目录下使用 Python 调用 echo 函数打印 "Hello, Teaclave!":
+
+```
+$ cd examples/python
+$ PYTHONPATH=../../sdk/python python3 builtin_echo.py 'Hello, Teaclave!'
+[+] registering user
+[+] login
+[+] registering function
+[+] creating task
+[+] approving task
+[+] invoking task
+[+] getting result
+[+] done
+[+] function return: b'Hello, Teaclave!'
+```
+
+如果你想深入的了解 Teaclave 的内部设计和实现,我们还有更多设计文档、API 文档、代码库文档等你发现。
diff --git a/site/blog/2021-03-02-announcing-teaclave-0.2.0.md b/site/blog/2021-03-02-announcing-teaclave-0.2.0.md
index 7f56aed..49ce603 100644
--- a/site/blog/2021-03-02-announcing-teaclave-0.2.0.md
+++ b/site/blog/2021-03-02-announcing-teaclave-0.2.0.md
@@ -4,6 +4,8 @@ date: 2021-03-02
author: Mingshen Sun
---
+[English](/blog/2021-03-01-announcing-teaclave-0-2-0/) | [中文](/blog/2021-03-01-announcing-teaclave-0-2-0-cn/)
+
On behalf of the Teaclave community, I am happy to announce the *second* Apache
Incubator release of Teaclave, 0.2.0. Teaclave is a universal secure computing
platform, making computation on privacy-sensitive data safe and simple.
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@teaclave.apache.org
For additional commands, e-mail: commits-help@teaclave.apache.org
[incubator-teaclave-website] 02/02: Add link to Teacalve TrustZone
SDK
Posted by ms...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
mssun pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-teaclave-website.git
commit 2ae3e5c1255e659d7099081ca031c16c620ad68f
Author: Mingshen Sun <bo...@mssun.me>
AuthorDate: Tue Mar 9 14:06:44 2021 -0800
Add link to Teacalve TrustZone SDK
---
site/.vuepress/config.js | 1 +
1 file changed, 1 insertion(+)
diff --git a/site/.vuepress/config.js b/site/.vuepress/config.js
index 92c973e..4cad87e 100644
--- a/site/.vuepress/config.js
+++ b/site/.vuepress/config.js
@@ -42,6 +42,7 @@ module.exports = {
items: [
{ text: 'Teaclave', link: 'https://github.com/apache/incubator-teaclave'},
{ text: 'Teaclave SGX SDK', link: 'https://github.com/apache/incubator-teaclave-sgx-sdk'},
+ { text: 'Teaclave TrustZone SDK', link: 'https://github.com/apache/incubator-teaclave-trustzone-sdk'},
{ text: 'Teaclave Website', link: 'https://github.com/apache/incubator-teaclave-website'},
]
},
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@teaclave.apache.org
For additional commands, e-mail: commits-help@teaclave.apache.org