You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@teaclave.apache.org by di...@apache.org on 2019/12/17 05:02:41 UTC

[incubator-teaclave-sgx-sdk] branch v1.1.0-beta updated: Fix all repo path

This is an automated email from the ASF dual-hosted git repository.

dingyu pushed a commit to branch v1.1.0-beta
in repository https://gitbox.apache.org/repos/asf/incubator-teaclave-sgx-sdk.git


The following commit(s) were added to refs/heads/v1.1.0-beta by this push:
     new 721c1fd  Fix all repo path
721c1fd is described below

commit 721c1fdec0be2162728c83fa7c4571639c131180
Author: Yu Ding <di...@gmail.com>
AuthorDate: Mon Dec 16 21:02:28 2019 -0800

    Fix all repo path
---
 Readme.md                                          | 20 +++++++++-----------
 documents/sgx_in_mesalock_linux.md                 |  2 +-
 samplecode/backtrace/enclave/Cargo.toml            |  8 ++++----
 samplecode/crypto/enclave/Cargo.toml               | 10 +++++-----
 samplecode/db-proxy/db-proxy/app/Cargo.toml        |  6 +++---
 samplecode/db-proxy/db-proxy/enclave/Cargo.toml    |  6 +++---
 samplecode/file/enclave/Cargo.toml                 | 12 ++++++------
 samplecode/hello-regex/enclave/Cargo.toml          |  6 +++---
 samplecode/hello-rust-vscode-debug/Cargo.toml      |  2 +-
 samplecode/hello-rust-vscode-debug/app/Cargo.toml  |  6 +++---
 .../hello-rust-vscode-debug/enclave/Cargo.toml     |  6 +++---
 samplecode/hello-rust/app/Cargo.toml               |  6 +++---
 samplecode/hello-rust/enclave/Cargo.toml           |  8 ++++----
 samplecode/helloworld/enclave/Cargo.toml           |  6 +++---
 samplecode/http_req/README.md                      |  2 +-
 samplecode/http_req/app/Cargo.toml                 |  6 +++---
 samplecode/http_req/enclave/Cargo.toml             |  6 +++---
 samplecode/hugemem/enclave/Cargo.toml              |  6 +++---
 samplecode/kvdb-memdb/app/Cargo.toml               |  6 +++---
 samplecode/kvdb-memdb/enclave/Cargo.toml           |  6 +++---
 samplecode/localattestation/attestation/Cargo.toml | 10 +++++-----
 samplecode/localattestation/enclave1/Cargo.toml    |  4 ++--
 samplecode/localattestation/enclave2/Cargo.toml    |  4 ++--
 samplecode/localattestation/enclave3/Cargo.toml    |  4 ++--
 samplecode/logger/app/Cargo.toml                   |  6 +++---
 samplecode/logger/enclave/Cargo.toml               |  6 +++---
 samplecode/machine-learning/app/Cargo.toml         |  6 +++---
 samplecode/machine-learning/enclave/Cargo.toml     |  8 ++++----
 samplecode/mio/client/app/Cargo.toml               |  6 +++---
 samplecode/mio/client/enclave/Cargo.toml           |  4 ++--
 samplecode/mio/server/app/Cargo.toml               |  6 +++---
 samplecode/mio/server/enclave/Cargo.toml           |  6 +++---
 samplecode/mutual-ra/app/Cargo.toml                |  6 +++---
 samplecode/mutual-ra/enclave/Cargo.toml            | 14 +++++++-------
 samplecode/net2/app/Cargo.toml                     |  6 +++---
 samplecode/net2/enclave/Cargo.toml                 |  6 +++---
 samplecode/pcl/encrypted-hello/enclave/Cargo.toml  |  6 +++---
 samplecode/pcl/pcl-seal/app/Cargo.toml             |  6 +++---
 samplecode/pcl/pcl-seal/enclave/Cargo.toml         | 14 +++++++-------
 .../pcl/pcl-seal/enclave/ue_send_recv/Cargo.toml   |  4 ++--
 samplecode/pcl/pcl-user/Cargo.toml                 |  4 ++--
 samplecode/prost-protobuf/app/Cargo.toml           |  6 +++---
 samplecode/prost-protobuf/enclave/Cargo.toml       |  6 +++---
 samplecode/protobuf/enclave/Cargo.toml             |  2 +-
 samplecode/psi/SMCServer/enclave/Cargo.toml        | 18 +++++++++---------
 .../Application/enclave/Cargo.toml                 | 16 ++++++++--------
 samplecode/remoteattestation/README.md             |  2 +-
 samplecode/sealeddata/enclave/Cargo.toml           | 10 +++++-----
 samplecode/secretsharing/enclave/Cargo.toml        |  2 +-
 samplecode/serialize/enclave/Cargo.toml            |  8 ++++----
 samplecode/sgx-cov/app/Cargo.toml                  |  6 +++---
 samplecode/sgx-cov/enclave/Cargo.toml              | 10 +++++-----
 samplecode/sgxcounter/app/Cargo.toml               |  6 +++---
 samplecode/sgxcounter/enclave/Cargo.toml           |  8 ++++----
 samplecode/sgxtime/app/Cargo.toml                  |  6 +++---
 samplecode/sgxtime/enclave/Cargo.toml              |  8 ++++----
 samplecode/static-data-distribution/app/Cargo.toml |  8 ++++----
 .../static-data-distribution/enclave/Cargo.toml    |  8 ++++----
 samplecode/switchless/app/Cargo.toml               |  6 +++---
 samplecode/switchless/enclave/Cargo.toml           |  6 +++---
 samplecode/tcmalloc/app/Cargo.toml                 |  6 +++---
 samplecode/tcmalloc/enclave/Cargo.toml             |  6 +++---
 samplecode/thread/enclave/Cargo.toml               |  4 ++--
 samplecode/tls/tlsclient/app/Cargo.toml            |  6 +++---
 samplecode/tls/tlsclient/enclave/Cargo.toml        |  8 ++++----
 samplecode/tls/tlsserver/app/Cargo.toml            |  6 +++---
 samplecode/tls/tlsserver/enclave/Cargo.toml        |  8 ++++----
 samplecode/tr-mpc/tr-mpc-client/Cargo.toml         |  4 ++--
 samplecode/tr-mpc/tr-mpc-server/app/Cargo.toml     |  6 +++---
 samplecode/tr-mpc/tr-mpc-server/enclave/Cargo.toml | 12 ++++++------
 samplecode/ue-ra/ue-ra-client/Cargo.toml           |  4 ++--
 samplecode/ue-ra/ue-ra-server/app/Cargo.toml       |  6 +++---
 samplecode/ue-ra/ue-ra-server/enclave/Cargo.toml   | 12 ++++++------
 samplecode/unit-test/app/Cargo.toml                |  6 +++---
 samplecode/unit-test/enclave/Cargo.toml            | 22 +++++++++++-----------
 samplecode/wasmi/app/Cargo.toml                    |  6 +++---
 samplecode/wasmi/enclave/Cargo.toml                |  6 +++---
 samplecode/wasmi/enclave/sgxwasm/Cargo.toml        |  6 +++---
 samplecode/zlib-lazy-static-sample/app/Cargo.toml  |  6 +++---
 .../zlib-lazy-static-sample/enclave/Cargo.toml     |  2 +-
 sgx_alloc/Cargo.toml                               |  2 +-
 sgx_alloc/Readme.md                                |  2 +-
 sgx_backtrace/Cargo.toml                           |  2 +-
 sgx_backtrace_sys/Cargo.toml                       |  2 +-
 sgx_backtrace_sys/Readme.md                        |  2 +-
 sgx_build_helper/Cargo.toml                        |  2 +-
 sgx_build_helper/Readme.md                         |  2 +-
 sgx_cov/Cargo.toml                                 |  2 +-
 sgx_cov/Readme.md                                  |  2 +-
 sgx_crypto_helper/Cargo.toml                       |  2 +-
 sgx_crypto_helper/Readme.md                        |  2 +-
 sgx_demangle/Cargo.toml                            |  2 +-
 sgx_demangle/Readme.md                             |  2 +-
 sgx_libc/Cargo.toml                                |  2 +-
 sgx_no_tstd/Cargo.toml                             |  2 +-
 sgx_no_tstd/Readme.md                              |  2 +-
 sgx_panic_abort/Cargo.toml                         |  2 +-
 sgx_panic_unwind/Cargo.toml                        |  2 +-
 sgx_rand/Cargo.toml                                |  2 +-
 sgx_rand/Readme.md                                 |  2 +-
 sgx_rand_derive/Cargo.toml                         |  2 +-
 sgx_rand_derive/Readme.md                          |  2 +-
 sgx_serialize/Cargo.toml                           |  2 +-
 sgx_serialize/Readme.md                            |  2 +-
 sgx_serialize_derive/Cargo.toml                    |  2 +-
 sgx_serialize_derive/Readme.md                     |  2 +-
 sgx_serialize_derive_internals/Cargo.toml          |  2 +-
 sgx_serialize_derive_internals/Readme.md           |  2 +-
 sgx_tcrypto/Cargo.toml                             |  2 +-
 sgx_tcrypto/Readme.md                              |  2 +-
 sgx_tcrypto_helper/Cargo.toml                      | 10 +++++-----
 sgx_tcrypto_helper/Readme.md                       |  4 ++--
 sgx_tdh/Cargo.toml                                 |  2 +-
 sgx_tdh/Readme.md                                  |  2 +-
 sgx_tkey_exchange/Cargo.toml                       |  2 +-
 sgx_tkey_exchange/Readme.md                        |  2 +-
 sgx_tprotected_fs/Cargo.toml                       |  2 +-
 sgx_tprotected_fs/Readme.md                        |  2 +-
 sgx_trts/Cargo.toml                                |  2 +-
 sgx_trts/Readme.md                                 |  2 +-
 sgx_tse/Cargo.toml                                 |  2 +-
 sgx_tse/Readme.md                                  |  2 +-
 sgx_tseal/Cargo.toml                               |  2 +-
 sgx_tseal/Readme.md                                |  2 +-
 sgx_tservice/Cargo.toml                            |  2 +-
 sgx_tservice/Readme.md                             |  2 +-
 sgx_tstd/Cargo.toml                                |  2 +-
 sgx_tstd/Readme.md                                 |  2 +-
 sgx_tunittest/Cargo.toml                           |  2 +-
 sgx_tunittest/Readme.md                            |  2 +-
 sgx_types/Cargo.toml                               |  2 +-
 sgx_types/Readme.md                                |  2 +-
 sgx_ucrypto/Cargo.toml                             |  2 +-
 sgx_ucrypto/Readme.md                              |  2 +-
 sgx_unwind/Cargo.toml                              |  2 +-
 sgx_unwind/Readme.md                               |  2 +-
 sgx_urts/Cargo.toml                                |  2 +-
 sgx_urts/Readme.md                                 |  2 +-
 138 files changed, 340 insertions(+), 342 deletions(-)

diff --git a/Readme.md b/Readme.md
index 358911a..99cac82 100644
--- a/Readme.md
+++ b/Readme.md
@@ -9,23 +9,23 @@ Good news! Our paper "Towards Memory Safety for Enclave Programs with Rust-SGX"
 
 We open-sourced [gbdt-rs](https://github.com/mesalock-linux/gbdt-rs), a light-weight, amazingly fast, memory safe, and trustworthy gradient boosting decision tree implementation and the [paper](documents/gbdt.pdf) has been accepted by IEEE S&P'19! It is optimized for SGX!
 
-To achieve better security, we recommend developers to apply [Non-bypassable Security Paradigm (NbSP)](https://github.com/baidu/rust-sgx-sdk/blob/master/documents/nbsp.pdf) to the system design and implementation.
+To achieve better security, we recommend developers to apply [Non-bypassable Security Paradigm (NbSP)](https://github.com/apache/teaclave-sgx-sdk/blob/master/documents/nbsp.pdf) to the system design and implementation.
 
-To help understand this project and know how to use it, we are writing some [wiki](https://github.com/baidu/rust-sgx-sdk/wiki) articles. Please [send me an email](mailto:rustsgx@gmail.com?subject=Wiki%20page%20needed:) if you'd like to see other topics. We'll add it as soon as possible.
+To help understand this project and know how to use it, we are writing some [wiki](https://github.com/apache/teaclave-sgx-sdk/wiki) articles. Please [send me an email](mailto:rustsgx@gmail.com?subject=Wiki%20page%20needed:) if you'd like to see other topics. We'll add it as soon as possible.
 
 Current wiki pages:
 
-* [The World of Forked crates](https://github.com/baidu/rust-sgx-sdk/wiki/The-World-of-Forked-crates) introduces the forked crate ecosystem, and provides some guidelines and usage, and show how we secure them.
+* [The World of Forked crates](https://github.com/apache/teaclave-sgx-sdk/wiki/The-World-of-Forked-crates) introduces the forked crate ecosystem, and provides some guidelines and usage, and show how we secure them.
 
-* [Setup gdb 7.11 on Ubuntu 18.04 for VSCode sgx-gdb remote debugging](https://github.com/baidu/rust-sgx-sdk/wiki/Setup-gdb-7.11-on-Ubuntu-18.04-for-VSCode---sgx-gdb-remote-debugging) If you encounter errors like `gdb.error: syntax error in expression, near )0x7ffff4127370 = 0.`, probably you need to follow this instruction to setup gdb 7. Thanks to @akoskinas for this great instruction!
+* [Setup gdb 7.11 on Ubuntu 18.04 for VSCode sgx-gdb remote debugging](https://github.com/apache/teaclave-sgx-sdk/wiki/Setup-gdb-7.11-on-Ubuntu-18.04-for-VSCode---sgx-gdb-remote-debugging) If you encounter errors like `gdb.error: syntax error in expression, near )0x7ffff4127370 = 0.`, probably you need to follow this instruction to setup gdb 7. Thanks to @akoskinas for this great instruction!
 
-* [Performance Optimization Tips](https://github.com/baidu/rust-sgx-sdk/wiki/Performance-Optimization-Tips)
+* [Performance Optimization Tips](https://github.com/apache/teaclave-sgx-sdk/wiki/Performance-Optimization-Tips)
 
-* [Use VSCode rls+rust-analysis+sgx-gdb for graphic developing (not in docker)](https://github.com/baidu/rust-sgx-sdk/wiki/Use-VSCode---rls---rust-analysis---sgx-gdb-for-graphic-developing-(not-in-docker))
+* [Use VSCode rls+rust-analysis+sgx-gdb for graphic developing (not in docker)](https://github.com/apache/teaclave-sgx-sdk/wiki/Use-VSCode---rls---rust-analysis---sgx-gdb-for-graphic-developing-(not-in-docker))
 
-* [Debugging local enclave in docker](https://github.com/baidu/rust-sgx-sdk/wiki/Debugging-a-local-Rust-SGX-enclave-in-docker-with-sgx-gdb)
+* [Debugging local enclave in docker](https://github.com/apache/teaclave-sgx-sdk/wiki/Debugging-a-local-Rust-SGX-enclave-in-docker-with-sgx-gdb)
 
-* Everything about [environment setup](https://github.com/baidu/rust-sgx-sdk/wiki/Environment-Setup)
+* Everything about [environment setup](https://github.com/apache/teaclave-sgx-sdk/wiki/Environment-Setup)
 
 ## v1.0.9 Release
 
@@ -64,7 +64,7 @@ This version supports Rust nightly build (nightly-2018-10-01) in the master bran
 This version supports the Rust nightly build (nightly-2018-07-16) in master branch and the most recent Rust stable build (stable-2018-07-10). And it supports the latest Intel SGX SDK **v2.2**. New third party libraries include: bytes, http, iovec, rust-crypto, rust-fnv and rust-threshold-secret-sharing. New code sample 'secretsharing' and 'rust-threshold-secret-sharing' is provided by @davidp94. Please refer to [release_notes](release_notes.md) for further details.
 
 ## v1.0.0 Release
-We proudly announce v1.0.0 of rust-sgx-sdk! We port Parity's [Webassembly Interpreter](https://github.com/paritytech/wasmi) to Intel SGX and provide a full functional in-enclave [wasmi sample](samplecode/wasmi), and a [sample solution](samplecode/psi) of two-party private-set-intersection resisting side-channel attacks! From this version, we start to support most recent stable branch of Rust instead of nightly for better stability and future production use. Thus, the [stable branch](http [...]
+We proudly announce v1.0.0 of rust-sgx-sdk! We port Parity's [Webassembly Interpreter](https://github.com/paritytech/wasmi) to Intel SGX and provide a full functional in-enclave [wasmi sample](samplecode/wasmi), and a [sample solution](samplecode/psi) of two-party private-set-intersection resisting side-channel attacks! From this version, we start to support most recent stable branch of Rust instead of nightly for better stability and future production use. Thus, the [stable branch](http [...]
 
 ## v0.9.8 Release
 This version provides security updates regards to recent Spectre attacks in Intel SGX, and supports **Rust stable (2018-03-01)** (in branch named 'rust-stable'). It contains support of [Intel SGX SDK 2.1.2](https://download.01.org/intel-sgx/linux-2.1.2/) and a series of API functions to stop speculative execution on demand. In addition, we provide a ported version of [rust-protobuf](https://crates.io/crates/protobuf) v1.4.4. Please refer to [release_notes](release_notes.md) for further details.
@@ -238,8 +238,6 @@ Baidu Rust-SGX SDK is provided under the BSD license. Please refer to the [Licen
 
 Ran Duan, Long Li, Shi Jia, Yu Ding, Yulong Zhang, Yueqiang Cheng, Lenx Wei, Tanghui Chen
 
-![Baidu X-Lab Logo](https://raw.githubusercontent.com/baidu/rust-sgx-sdk/master/logo_25.png)
-
 # Acknowledgement
 
 Thanks to [Prof. Jingqiang Lin](http://people.ucas.ac.cn/~0010268) for his contribution to this project.
diff --git a/documents/sgx_in_mesalock_linux.md b/documents/sgx_in_mesalock_linux.md
index 76eb17b..5a5c835 100644
--- a/documents/sgx_in_mesalock_linux.md
+++ b/documents/sgx_in_mesalock_linux.md
@@ -57,7 +57,7 @@ Rust SGX SDK and docker
 Step 1 : build SGX application in Rust SGX dev docker container.
 
 ```bash
-$ git pull git@github.com:baidu/rust-sgx-sdk.git
+$ git pull git@github.com:apache/teaclave-sgx-sdk.git
 $ docker run -v /path/to/rust-sgx-sdk:/root/sgx -ti --device /dev/isgx baiduxlab/sgx-rust
 ```
 
diff --git a/samplecode/backtrace/enclave/Cargo.toml b/samplecode/backtrace/enclave/Cargo.toml
index fbff10a..ffd5857 100644
--- a/samplecode/backtrace/enclave/Cargo.toml
+++ b/samplecode/backtrace/enclave/Cargo.toml
@@ -11,11 +11,11 @@ crate-type = ["staticlib"]
 default = []
 
 [target.'cfg(not(target_env = "sgx"))'.dependencies]
-sgx_types = { git = "https://github.com/baidu/rust-sgx-sdk.git" }
-sgx_tstd = { git = "https://github.com/baidu/rust-sgx-sdk.git", features = ["backtrace"] }
-sgx_backtrace = { git = "https://github.com/baidu/rust-sgx-sdk.git" }
+sgx_types = { git = "https://github.com/apache/teaclave-sgx-sdk.git" }
+sgx_tstd = { git = "https://github.com/apache/teaclave-sgx-sdk.git", features = ["backtrace"] }
+sgx_backtrace = { git = "https://github.com/apache/teaclave-sgx-sdk.git" }
 
-[patch.'https://github.com/baidu/rust-sgx-sdk.git']
+[patch.'https://github.com/apache/teaclave-sgx-sdk.git']
 sgx_alloc = { path = "../../../sgx_alloc" }
 sgx_backtrace = { path = "../../../sgx_backtrace" }
 sgx_backtrace_sys = { path = "../../../sgx_backtrace_sys" }
diff --git a/samplecode/crypto/enclave/Cargo.toml b/samplecode/crypto/enclave/Cargo.toml
index 279f0a5..b84f74c 100644
--- a/samplecode/crypto/enclave/Cargo.toml
+++ b/samplecode/crypto/enclave/Cargo.toml
@@ -11,12 +11,12 @@ crate-type = ["staticlib"]
 default = []
 
 [target.'cfg(not(target_env = "sgx"))'.dependencies]
-sgx_types = { git = "https://github.com/baidu/rust-sgx-sdk.git" }
-sgx_trts = { git = "https://github.com/baidu/rust-sgx-sdk.git" }
-sgx_tstd = { git = "https://github.com/baidu/rust-sgx-sdk.git" }
-sgx_tcrypto = { git = "https://github.com/baidu/rust-sgx-sdk.git" }
+sgx_types = { git = "https://github.com/apache/teaclave-sgx-sdk.git" }
+sgx_trts = { git = "https://github.com/apache/teaclave-sgx-sdk.git" }
+sgx_tstd = { git = "https://github.com/apache/teaclave-sgx-sdk.git" }
+sgx_tcrypto = { git = "https://github.com/apache/teaclave-sgx-sdk.git" }
 
-[patch.'https://github.com/baidu/rust-sgx-sdk.git']
+[patch.'https://github.com/apache/teaclave-sgx-sdk.git']
 sgx_alloc = { path = "../../../sgx_alloc" }
 sgx_backtrace = { path = "../../../sgx_backtrace" }
 sgx_backtrace_sys = { path = "../../../sgx_backtrace_sys" }
diff --git a/samplecode/db-proxy/db-proxy/app/Cargo.toml b/samplecode/db-proxy/db-proxy/app/Cargo.toml
index 7749678..ff5b48d 100644
--- a/samplecode/db-proxy/db-proxy/app/Cargo.toml
+++ b/samplecode/db-proxy/db-proxy/app/Cargo.toml
@@ -5,9 +5,9 @@ authors = ["The Teaclave Authors"]
 build = "build.rs"
 
 [dependencies]
-sgx_types = { git = "https://github.com/baidu/rust-sgx-sdk.git" }
-sgx_urts = { git = "https://github.com/baidu/rust-sgx-sdk.git" }
+sgx_types = { git = "https://github.com/apache/teaclave-sgx-sdk.git" }
+sgx_urts = { git = "https://github.com/apache/teaclave-sgx-sdk.git" }
 
-[patch.'https://github.com/baidu/rust-sgx-sdk.git']
+[patch.'https://github.com/apache/teaclave-sgx-sdk.git']
 sgx_types = { path = "../../../../sgx_types" }
 sgx_urts = { path = "../../../../sgx_urts" }
diff --git a/samplecode/db-proxy/db-proxy/enclave/Cargo.toml b/samplecode/db-proxy/db-proxy/enclave/Cargo.toml
index ce5ce80..85d4f43 100644
--- a/samplecode/db-proxy/db-proxy/enclave/Cargo.toml
+++ b/samplecode/db-proxy/db-proxy/enclave/Cargo.toml
@@ -11,10 +11,10 @@ crate-type = ["staticlib"]
 default = []
 
 [target.'cfg(not(target_env = "sgx"))'.dependencies]
-sgx_types = { git = "https://github.com/baidu/rust-sgx-sdk.git" }
-sgx_tstd = { git = "https://github.com/baidu/rust-sgx-sdk.git" }
+sgx_types = { git = "https://github.com/apache/teaclave-sgx-sdk.git" }
+sgx_tstd = { git = "https://github.com/apache/teaclave-sgx-sdk.git" }
 
-[patch.'https://github.com/baidu/rust-sgx-sdk.git']
+[patch.'https://github.com/apache/teaclave-sgx-sdk.git']
 sgx_alloc = { path = "../../../../sgx_alloc" }
 sgx_backtrace = { path = "../../../../sgx_backtrace" }
 sgx_backtrace_sys = { path = "../../../../sgx_backtrace_sys" }
diff --git a/samplecode/file/enclave/Cargo.toml b/samplecode/file/enclave/Cargo.toml
index ae85267..1245cd7 100644
--- a/samplecode/file/enclave/Cargo.toml
+++ b/samplecode/file/enclave/Cargo.toml
@@ -11,15 +11,15 @@ crate-type = ["staticlib"]
 default = []
 
 [target.'cfg(not(target_env = "sgx"))'.dependencies]
-sgx_tstd = { git = "https://github.com/baidu/rust-sgx-sdk.git" }
-sgx_rand = { git = "https://github.com/baidu/rust-sgx-sdk.git" }
-sgx_serialize = { git = "https://github.com/baidu/rust-sgx-sdk.git" }
+sgx_tstd = { git = "https://github.com/apache/teaclave-sgx-sdk.git" }
+sgx_rand = { git = "https://github.com/apache/teaclave-sgx-sdk.git" }
+sgx_serialize = { git = "https://github.com/apache/teaclave-sgx-sdk.git" }
 
 [dependencies]
-sgx_rand_derive = { git = "https://github.com/baidu/rust-sgx-sdk.git" }
-sgx_serialize_derive = { git = "https://github.com/baidu/rust-sgx-sdk.git" }
+sgx_rand_derive = { git = "https://github.com/apache/teaclave-sgx-sdk.git" }
+sgx_serialize_derive = { git = "https://github.com/apache/teaclave-sgx-sdk.git" }
 
-[patch.'https://github.com/baidu/rust-sgx-sdk.git']
+[patch.'https://github.com/apache/teaclave-sgx-sdk.git']
 sgx_alloc = { path = "../../../sgx_alloc" }
 sgx_backtrace = { path = "../../../sgx_backtrace" }
 sgx_backtrace_sys = { path = "../../../sgx_backtrace_sys" }
diff --git a/samplecode/hello-regex/enclave/Cargo.toml b/samplecode/hello-regex/enclave/Cargo.toml
index d3cd066..eccccba 100644
--- a/samplecode/hello-regex/enclave/Cargo.toml
+++ b/samplecode/hello-regex/enclave/Cargo.toml
@@ -14,10 +14,10 @@ default = []
 regex = { git = "https://github.com/mesalock-linux/regex-sgx" }
 
 [target.'cfg(not(target_env = "sgx"))'.dependencies]
-sgx_types = { git = "https://github.com/baidu/rust-sgx-sdk.git" }
-sgx_tstd = { git = "https://github.com/baidu/rust-sgx-sdk.git" }
+sgx_types = { git = "https://github.com/apache/teaclave-sgx-sdk.git" }
+sgx_tstd = { git = "https://github.com/apache/teaclave-sgx-sdk.git" }
 
-[patch.'https://github.com/baidu/rust-sgx-sdk.git']
+[patch.'https://github.com/apache/teaclave-sgx-sdk.git']
 sgx_alloc = { path = "../../../sgx_alloc" }
 sgx_backtrace = { path = "../../../sgx_backtrace" }
 sgx_backtrace_sys = { path = "../../../sgx_backtrace_sys" }
diff --git a/samplecode/hello-rust-vscode-debug/Cargo.toml b/samplecode/hello-rust-vscode-debug/Cargo.toml
index ebc603c..b05a940 100644
--- a/samplecode/hello-rust-vscode-debug/Cargo.toml
+++ b/samplecode/hello-rust-vscode-debug/Cargo.toml
@@ -5,7 +5,7 @@ members = [
     "enclave",
 ]
 
-[patch.'https://github.com/baidu/rust-sgx-sdk.git']
+[patch.'https://github.com/apache/teaclave-sgx-sdk.git']
 sgx_alloc = { path = "../../sgx_alloc" }
 sgx_build_helper = { path = "../../sgx_build_helper" }
 sgx_cov = { path = "../../sgx_cov" }
diff --git a/samplecode/hello-rust-vscode-debug/app/Cargo.toml b/samplecode/hello-rust-vscode-debug/app/Cargo.toml
index 5c04800..25c3ae4 100644
--- a/samplecode/hello-rust-vscode-debug/app/Cargo.toml
+++ b/samplecode/hello-rust-vscode-debug/app/Cargo.toml
@@ -5,9 +5,9 @@ authors = ["The Teaclave Authors"]
 build = "build.rs"
 
 [dependencies]
-sgx_types =  { git = "https://github.com/baidu/rust-sgx-sdk.git" }
-sgx_urts =  { git = "https://github.com/baidu/rust-sgx-sdk.git" }
+sgx_types =  { git = "https://github.com/apache/teaclave-sgx-sdk.git" }
+sgx_urts =  { git = "https://github.com/apache/teaclave-sgx-sdk.git" }
 
-[patch.'https://github.com/baidu/rust-sgx-sdk.git']
+[patch.'https://github.com/apache/teaclave-sgx-sdk.git']
 sgx_types = { path = "../../../sgx_types" }
 sgx_urts = { path = "../../../sgx_urts" }
diff --git a/samplecode/hello-rust-vscode-debug/enclave/Cargo.toml b/samplecode/hello-rust-vscode-debug/enclave/Cargo.toml
index 9a4817e..d508cd4 100644
--- a/samplecode/hello-rust-vscode-debug/enclave/Cargo.toml
+++ b/samplecode/hello-rust-vscode-debug/enclave/Cargo.toml
@@ -11,10 +11,10 @@ crate-type = ["staticlib"]
 default = []
 
 [target.'cfg(not(target_env = "sgx"))'.dependencies]
-sgx_types = { git = "https://github.com/baidu/rust-sgx-sdk.git" }
-sgx_tstd = { git = "https://github.com/baidu/rust-sgx-sdk.git" }
+sgx_types = { git = "https://github.com/apache/teaclave-sgx-sdk.git" }
+sgx_tstd = { git = "https://github.com/apache/teaclave-sgx-sdk.git" }
 
-[patch.'https://github.com/baidu/rust-sgx-sdk.git']
+[patch.'https://github.com/apache/teaclave-sgx-sdk.git']
 sgx_alloc = { path = "../../../sgx_alloc" }
 sgx_backtrace = { path = "../../../sgx_backtrace" }
 sgx_backtrace_sys = { path = "../../../sgx_backtrace_sys" }
diff --git a/samplecode/hello-rust/app/Cargo.toml b/samplecode/hello-rust/app/Cargo.toml
index 2efb04f..b3d39f6 100644
--- a/samplecode/hello-rust/app/Cargo.toml
+++ b/samplecode/hello-rust/app/Cargo.toml
@@ -5,10 +5,10 @@ authors = ["The Teaclave Authors"]
 build = "build.rs"
 
 [dependencies]
-sgx_types = { git = "https://github.com/baidu/rust-sgx-sdk.git" }
-sgx_urts = { git = "https://github.com/baidu/rust-sgx-sdk.git" }
+sgx_types = { git = "https://github.com/apache/teaclave-sgx-sdk.git" }
+sgx_urts = { git = "https://github.com/apache/teaclave-sgx-sdk.git" }
 
-[patch.'https://github.com/baidu/rust-sgx-sdk.git']
+[patch.'https://github.com/apache/teaclave-sgx-sdk.git']
 sgx_types = { path = "../../../sgx_types" }
 sgx_urts = { path = "../../../sgx_urts" }
 
diff --git a/samplecode/hello-rust/enclave/Cargo.toml b/samplecode/hello-rust/enclave/Cargo.toml
index 9daf8c7..eb622f9 100644
--- a/samplecode/hello-rust/enclave/Cargo.toml
+++ b/samplecode/hello-rust/enclave/Cargo.toml
@@ -11,10 +11,10 @@ crate-type = ["staticlib"]
 default = []
 
 [target.'cfg(not(target_env = "sgx"))'.dependencies]
-sgx_types = { git = "https://github.com/baidu/rust-sgx-sdk.git" }
-sgx_tstd = { git = "https://github.com/baidu/rust-sgx-sdk.git", features = ["backtrace"] }
-sgx_trts = { git = "https://github.com/baidu/rust-sgx-sdk.git" }
-[patch.'https://github.com/baidu/rust-sgx-sdk.git']
+sgx_types = { git = "https://github.com/apache/teaclave-sgx-sdk.git" }
+sgx_tstd = { git = "https://github.com/apache/teaclave-sgx-sdk.git", features = ["backtrace"] }
+sgx_trts = { git = "https://github.com/apache/teaclave-sgx-sdk.git" }
+[patch.'https://github.com/apache/teaclave-sgx-sdk.git']
 sgx_alloc = { path = "../../../sgx_alloc" }
 sgx_build_helper = { path = "../../../sgx_build_helper" }
 sgx_cov = { path = "../../../sgx_cov" }
diff --git a/samplecode/helloworld/enclave/Cargo.toml b/samplecode/helloworld/enclave/Cargo.toml
index 9a4817e..d508cd4 100644
--- a/samplecode/helloworld/enclave/Cargo.toml
+++ b/samplecode/helloworld/enclave/Cargo.toml
@@ -11,10 +11,10 @@ crate-type = ["staticlib"]
 default = []
 
 [target.'cfg(not(target_env = "sgx"))'.dependencies]
-sgx_types = { git = "https://github.com/baidu/rust-sgx-sdk.git" }
-sgx_tstd = { git = "https://github.com/baidu/rust-sgx-sdk.git" }
+sgx_types = { git = "https://github.com/apache/teaclave-sgx-sdk.git" }
+sgx_tstd = { git = "https://github.com/apache/teaclave-sgx-sdk.git" }
 
-[patch.'https://github.com/baidu/rust-sgx-sdk.git']
+[patch.'https://github.com/apache/teaclave-sgx-sdk.git']
 sgx_alloc = { path = "../../../sgx_alloc" }
 sgx_backtrace = { path = "../../../sgx_backtrace" }
 sgx_backtrace_sys = { path = "../../../sgx_backtrace_sys" }
diff --git a/samplecode/http_req/README.md b/samplecode/http_req/README.md
index d2ba90e..2677638 100644
--- a/samplecode/http_req/README.md
+++ b/samplecode/http_req/README.md
@@ -4,7 +4,7 @@ Showcases [http_req-sgx](https://github.com/piotr-roslaniec/http_req-sgx-example
 
 ## Instruction
 
-Follow instructions in [baidu/rust-sgx-sdk](https://github.com/baidu/rust-sgx-sdk) to setup development environment. Alternatively, use [rust-sdk-helper](https://github.com/piotr-roslaniec/rust-sdk-helper).
+Follow instructions in [apache/teaclave-sgx-sdk](https://github.com/apache/teaclave-sgx-sdk) to setup development environment. Alternatively, use [rust-sdk-helper](https://github.com/piotr-roslaniec/rust-sdk-helper).
 
 Please make sure that you have environment variable `SGX_SDK_RUST` points to the root of this sdk.
 
diff --git a/samplecode/http_req/app/Cargo.toml b/samplecode/http_req/app/Cargo.toml
index ba772bc..956ffa6 100644
--- a/samplecode/http_req/app/Cargo.toml
+++ b/samplecode/http_req/app/Cargo.toml
@@ -5,9 +5,9 @@ authors = ["The Teaclave Authors"]
 edition = '2018'
 
 [dependencies]
-sgx_types = { git = "https://github.com/baidu/rust-sgx-sdk.git" }
-sgx_urts = { git = "https://github.com/baidu/rust-sgx-sdk.git" }
+sgx_types = { git = "https://github.com/apache/teaclave-sgx-sdk.git" }
+sgx_urts = { git = "https://github.com/apache/teaclave-sgx-sdk.git" }
 
-[patch.'https://github.com/baidu/rust-sgx-sdk.git']
+[patch.'https://github.com/apache/teaclave-sgx-sdk.git']
 sgx_types = { path = "../../../sgx_types" }
 sgx_urts = { path = "../../../sgx_urts" }
diff --git a/samplecode/http_req/enclave/Cargo.toml b/samplecode/http_req/enclave/Cargo.toml
index 8005f89..a4ca4bf 100644
--- a/samplecode/http_req/enclave/Cargo.toml
+++ b/samplecode/http_req/enclave/Cargo.toml
@@ -12,10 +12,10 @@ crate-type = ["staticlib"]
 http_req = { git = "https://github.com/mesalock-linux/http_req-sgx" }
 
 [target.'cfg(not(target_env = "sgx"))'.dependencies]
-sgx_types = { git = "https://github.com/baidu/rust-sgx-sdk.git" }
-sgx_tstd = { git = "https://github.com/baidu/rust-sgx-sdk.git",  features = ["net"] }
+sgx_types = { git = "https://github.com/apache/teaclave-sgx-sdk.git" }
+sgx_tstd = { git = "https://github.com/apache/teaclave-sgx-sdk.git",  features = ["net"] }
 
-[patch.'https://github.com/baidu/rust-sgx-sdk.git']
+[patch.'https://github.com/apache/teaclave-sgx-sdk.git']
 sgx_alloc = { path = "../../../sgx_alloc" }
 sgx_backtrace = { path = "../../../sgx_backtrace" }
 sgx_backtrace_sys = { path = "../../../sgx_backtrace_sys" }
diff --git a/samplecode/hugemem/enclave/Cargo.toml b/samplecode/hugemem/enclave/Cargo.toml
index 9016139..d65ec58 100644
--- a/samplecode/hugemem/enclave/Cargo.toml
+++ b/samplecode/hugemem/enclave/Cargo.toml
@@ -11,10 +11,10 @@ crate-type = ["staticlib"]
 default = []
 
 [target.'cfg(not(target_env = "sgx"))'.dependencies]
-sgx_types = { git = "https://github.com/baidu/rust-sgx-sdk.git" }
-sgx_tstd = { git = "https://github.com/baidu/rust-sgx-sdk.git" }
+sgx_types = { git = "https://github.com/apache/teaclave-sgx-sdk.git" }
+sgx_tstd = { git = "https://github.com/apache/teaclave-sgx-sdk.git" }
 
-[patch.'https://github.com/baidu/rust-sgx-sdk.git']
+[patch.'https://github.com/apache/teaclave-sgx-sdk.git']
 sgx_alloc = { path = "../../../sgx_alloc" }
 sgx_backtrace = { path = "../../../sgx_backtrace" }
 sgx_backtrace_sys = { path = "../../../sgx_backtrace_sys" }
diff --git a/samplecode/kvdb-memdb/app/Cargo.toml b/samplecode/kvdb-memdb/app/Cargo.toml
index 188ab4c..eff1586 100644
--- a/samplecode/kvdb-memdb/app/Cargo.toml
+++ b/samplecode/kvdb-memdb/app/Cargo.toml
@@ -5,9 +5,9 @@ authors = ["The Teaclave Authors"]
 build = "build.rs"
 
 [dependencies]
-sgx_types = { git = "https://github.com/baidu/rust-sgx-sdk.git" }
-sgx_urts = { git = "https://github.com/baidu/rust-sgx-sdk.git" }
+sgx_types = { git = "https://github.com/apache/teaclave-sgx-sdk.git" }
+sgx_urts = { git = "https://github.com/apache/teaclave-sgx-sdk.git" }
 
-[patch.'https://github.com/baidu/rust-sgx-sdk.git']
+[patch.'https://github.com/apache/teaclave-sgx-sdk.git']
 sgx_types = { path = "../../../sgx_types" }
 sgx_urts = { path = "../../../sgx_urts" }
diff --git a/samplecode/kvdb-memdb/enclave/Cargo.toml b/samplecode/kvdb-memdb/enclave/Cargo.toml
index 7dcb400..89887cd 100644
--- a/samplecode/kvdb-memdb/enclave/Cargo.toml
+++ b/samplecode/kvdb-memdb/enclave/Cargo.toml
@@ -16,10 +16,10 @@ kvdb = { git = "https://github.com/mesalock-linux/parity-common-sgx" }
 kvdb-memorydb = { git = "https://github.com/mesalock-linux/parity-common-sgx" }
 
 [target.'cfg(not(target_env = "sgx"))'.dependencies]
-sgx_types = { git = "https://github.com/baidu/rust-sgx-sdk.git" }
-sgx_tstd = { git = "https://github.com/baidu/rust-sgx-sdk.git" }
+sgx_types = { git = "https://github.com/apache/teaclave-sgx-sdk.git" }
+sgx_tstd = { git = "https://github.com/apache/teaclave-sgx-sdk.git" }
 
-[patch.'https://github.com/baidu/rust-sgx-sdk.git']
+[patch.'https://github.com/apache/teaclave-sgx-sdk.git']
 sgx_alloc = { path = "../../../sgx_alloc" }
 sgx_backtrace = { path = "../../../sgx_backtrace" }
 sgx_backtrace_sys = { path = "../../../sgx_backtrace_sys" }
diff --git a/samplecode/localattestation/attestation/Cargo.toml b/samplecode/localattestation/attestation/Cargo.toml
index 33b8b92..f7b1076 100644
--- a/samplecode/localattestation/attestation/Cargo.toml
+++ b/samplecode/localattestation/attestation/Cargo.toml
@@ -8,12 +8,12 @@ default = []
 use_std = []
 
 [target.'cfg(not(target_env = "sgx"))'.dependencies]
-sgx_types = { git = "https://github.com/baidu/rust-sgx-sdk.git" }
-sgx_trts = { git = "https://github.com/baidu/rust-sgx-sdk.git" }
-sgx_tstd = { git = "https://github.com/baidu/rust-sgx-sdk.git" }
-sgx_tdh = { git = "https://github.com/baidu/rust-sgx-sdk.git" }
+sgx_types = { git = "https://github.com/apache/teaclave-sgx-sdk.git" }
+sgx_trts = { git = "https://github.com/apache/teaclave-sgx-sdk.git" }
+sgx_tstd = { git = "https://github.com/apache/teaclave-sgx-sdk.git" }
+sgx_tdh = { git = "https://github.com/apache/teaclave-sgx-sdk.git" }
 
-[patch.'https://github.com/baidu/rust-sgx-sdk.git']
+[patch.'https://github.com/apache/teaclave-sgx-sdk.git']
 sgx_alloc = { path = "../../../sgx_alloc" }
 sgx_backtrace = { path = "../../../sgx_backtrace" }
 sgx_backtrace_sys = { path = "../../../sgx_backtrace_sys" }
diff --git a/samplecode/localattestation/enclave1/Cargo.toml b/samplecode/localattestation/enclave1/Cargo.toml
index 45b6aef..f4cbc9d 100644
--- a/samplecode/localattestation/enclave1/Cargo.toml
+++ b/samplecode/localattestation/enclave1/Cargo.toml
@@ -11,12 +11,12 @@ crate-type = ["staticlib"]
 default = []
 
 [target.'cfg(not(target_env = "sgx"))'.dependencies]
-sgx_types = { git = "https://github.com/baidu/rust-sgx-sdk.git" }
+sgx_types = { git = "https://github.com/apache/teaclave-sgx-sdk.git" }
 
 [dependencies]
 attestation = {path = "../attestation/"}
 
-[patch.'https://github.com/baidu/rust-sgx-sdk.git']
+[patch.'https://github.com/apache/teaclave-sgx-sdk.git']
 sgx_alloc = { path = "../../../sgx_alloc" }
 sgx_backtrace = { path = "../../../sgx_backtrace" }
 sgx_backtrace_sys = { path = "../../../sgx_backtrace_sys" }
diff --git a/samplecode/localattestation/enclave2/Cargo.toml b/samplecode/localattestation/enclave2/Cargo.toml
index f8458f5..18892c0 100644
--- a/samplecode/localattestation/enclave2/Cargo.toml
+++ b/samplecode/localattestation/enclave2/Cargo.toml
@@ -11,12 +11,12 @@ crate-type = ["staticlib"]
 default = []
 
 [target.'cfg(not(target_env = "sgx"))'.dependencies]
-sgx_types = { git = "https://github.com/baidu/rust-sgx-sdk.git" }
+sgx_types = { git = "https://github.com/apache/teaclave-sgx-sdk.git" }
 
 [dependencies]
 attestation = {path = "../attestation/"}
 
-[patch.'https://github.com/baidu/rust-sgx-sdk.git']
+[patch.'https://github.com/apache/teaclave-sgx-sdk.git']
 sgx_alloc = { path = "../../../sgx_alloc" }
 sgx_backtrace = { path = "../../../sgx_backtrace" }
 sgx_backtrace_sys = { path = "../../../sgx_backtrace_sys" }
diff --git a/samplecode/localattestation/enclave3/Cargo.toml b/samplecode/localattestation/enclave3/Cargo.toml
index ec5ce26..caff807 100644
--- a/samplecode/localattestation/enclave3/Cargo.toml
+++ b/samplecode/localattestation/enclave3/Cargo.toml
@@ -11,12 +11,12 @@ crate-type = ["staticlib"]
 default = []
 
 [target.'cfg(not(target_env = "sgx"))'.dependencies]
-sgx_types = { git = "https://github.com/baidu/rust-sgx-sdk.git" }
+sgx_types = { git = "https://github.com/apache/teaclave-sgx-sdk.git" }
 
 [dependencies]
 attestation = {path = "../attestation/"}
 
-[patch.'https://github.com/baidu/rust-sgx-sdk.git']
+[patch.'https://github.com/apache/teaclave-sgx-sdk.git']
 sgx_alloc = { path = "../../../sgx_alloc" }
 sgx_backtrace = { path = "../../../sgx_backtrace" }
 sgx_backtrace_sys = { path = "../../../sgx_backtrace_sys" }
diff --git a/samplecode/logger/app/Cargo.toml b/samplecode/logger/app/Cargo.toml
index 7361235..d53486c 100644
--- a/samplecode/logger/app/Cargo.toml
+++ b/samplecode/logger/app/Cargo.toml
@@ -5,9 +5,9 @@ authors = ["The Teaclave Authors"]
 build = "build.rs"
 
 [dependencies]
-sgx_types = { git = "https://github.com/baidu/rust-sgx-sdk.git" }
-sgx_urts = { git = "https://github.com/baidu/rust-sgx-sdk.git" }
+sgx_types = { git = "https://github.com/apache/teaclave-sgx-sdk.git" }
+sgx_urts = { git = "https://github.com/apache/teaclave-sgx-sdk.git" }
 
-[patch.'https://github.com/baidu/rust-sgx-sdk.git']
+[patch.'https://github.com/apache/teaclave-sgx-sdk.git']
 sgx_types = { path = "../../../sgx_types" }
 sgx_urts = { path = "../../../sgx_urts" }
\ No newline at end of file
diff --git a/samplecode/logger/enclave/Cargo.toml b/samplecode/logger/enclave/Cargo.toml
index 0d6c80e..95e2550 100644
--- a/samplecode/logger/enclave/Cargo.toml
+++ b/samplecode/logger/enclave/Cargo.toml
@@ -11,14 +11,14 @@ crate-type = ["staticlib"]
 default = []
 
 [target.'cfg(not(target_env = "sgx"))'.dependencies]
-sgx_types = { git = "https://github.com/baidu/rust-sgx-sdk.git" }
-sgx_tstd = { git = "https://github.com/baidu/rust-sgx-sdk.git" }
+sgx_types = { git = "https://github.com/apache/teaclave-sgx-sdk.git" }
+sgx_tstd = { git = "https://github.com/apache/teaclave-sgx-sdk.git" }
 
 [dependencies]
 log = { git = "https://github.com/mesalock-linux/log-sgx" }
 env_logger = { git = "https://github.com/mesalock-linux/env_logger-sgx" }
 
-[patch.'https://github.com/baidu/rust-sgx-sdk.git']
+[patch.'https://github.com/apache/teaclave-sgx-sdk.git']
 sgx_alloc = { path = "../../../sgx_alloc" }
 sgx_backtrace = { path = "../../../sgx_backtrace" }
 sgx_backtrace_sys = { path = "../../../sgx_backtrace_sys" }
diff --git a/samplecode/machine-learning/app/Cargo.toml b/samplecode/machine-learning/app/Cargo.toml
index 188ab4c..eff1586 100644
--- a/samplecode/machine-learning/app/Cargo.toml
+++ b/samplecode/machine-learning/app/Cargo.toml
@@ -5,9 +5,9 @@ authors = ["The Teaclave Authors"]
 build = "build.rs"
 
 [dependencies]
-sgx_types = { git = "https://github.com/baidu/rust-sgx-sdk.git" }
-sgx_urts = { git = "https://github.com/baidu/rust-sgx-sdk.git" }
+sgx_types = { git = "https://github.com/apache/teaclave-sgx-sdk.git" }
+sgx_urts = { git = "https://github.com/apache/teaclave-sgx-sdk.git" }
 
-[patch.'https://github.com/baidu/rust-sgx-sdk.git']
+[patch.'https://github.com/apache/teaclave-sgx-sdk.git']
 sgx_types = { path = "../../../sgx_types" }
 sgx_urts = { path = "../../../sgx_urts" }
diff --git a/samplecode/machine-learning/enclave/Cargo.toml b/samplecode/machine-learning/enclave/Cargo.toml
index b92b137..8fb79c9 100644
--- a/samplecode/machine-learning/enclave/Cargo.toml
+++ b/samplecode/machine-learning/enclave/Cargo.toml
@@ -14,9 +14,9 @@ default = []
 lto = true
 
 [target.'cfg(not(target_env = "sgx"))'.dependencies]
-sgx_tstd = { git = "https://github.com/baidu/rust-sgx-sdk.git" }
-sgx_types = { git = "https://github.com/baidu/rust-sgx-sdk.git" }
-sgx_rand = { git = "https://github.com/baidu/rust-sgx-sdk.git" }
+sgx_tstd = { git = "https://github.com/apache/teaclave-sgx-sdk.git" }
+sgx_types = { git = "https://github.com/apache/teaclave-sgx-sdk.git" }
+sgx_rand = { git = "https://github.com/apache/teaclave-sgx-sdk.git" }
 
 [dependencies]
 # Choose the instruction set by specifying "fallback", "sse", "avx", "fma"
@@ -27,7 +27,7 @@ rusty-machine = { git = "https://github.com/mesalock-linux/rusty-machine-sgx", d
 serde         = { git = "https://github.com/mesalock-linux/serde-sgx" }
 serde_json    = { git = "https://github.com/mesalock-linux/serde-json-sgx" }
 
-[patch.'https://github.com/baidu/rust-sgx-sdk.git']
+[patch.'https://github.com/apache/teaclave-sgx-sdk.git']
 sgx_alloc = { path = "../../../sgx_alloc" }
 sgx_backtrace = { path = "../../../sgx_backtrace" }
 sgx_backtrace_sys = { path = "../../../sgx_backtrace_sys" }
diff --git a/samplecode/mio/client/app/Cargo.toml b/samplecode/mio/client/app/Cargo.toml
index 7749678..ff5b48d 100644
--- a/samplecode/mio/client/app/Cargo.toml
+++ b/samplecode/mio/client/app/Cargo.toml
@@ -5,9 +5,9 @@ authors = ["The Teaclave Authors"]
 build = "build.rs"
 
 [dependencies]
-sgx_types = { git = "https://github.com/baidu/rust-sgx-sdk.git" }
-sgx_urts = { git = "https://github.com/baidu/rust-sgx-sdk.git" }
+sgx_types = { git = "https://github.com/apache/teaclave-sgx-sdk.git" }
+sgx_urts = { git = "https://github.com/apache/teaclave-sgx-sdk.git" }
 
-[patch.'https://github.com/baidu/rust-sgx-sdk.git']
+[patch.'https://github.com/apache/teaclave-sgx-sdk.git']
 sgx_types = { path = "../../../../sgx_types" }
 sgx_urts = { path = "../../../../sgx_urts" }
diff --git a/samplecode/mio/client/enclave/Cargo.toml b/samplecode/mio/client/enclave/Cargo.toml
index a11f642..cee958a 100644
--- a/samplecode/mio/client/enclave/Cargo.toml
+++ b/samplecode/mio/client/enclave/Cargo.toml
@@ -11,7 +11,7 @@ crate-type = ["staticlib"]
 default = []
 
 [target.'cfg(not(target_env = "sgx"))'.dependencies]
-sgx_tstd = { git = "https://github.com/baidu/rust-sgx-sdk.git", features = ["net"] }
+sgx_tstd = { git = "https://github.com/apache/teaclave-sgx-sdk.git", features = ["net"] }
 
 [dependencies]
 mio = { git = "https://github.com/mesalock-linux/mio-sgx", tag = "sgx_1.0.9" }
@@ -19,7 +19,7 @@ rustls = { git = "https://github.com/mesalock-linux/rustls", branch = "mesalock_
 webpki = { git = "https://github.com/mesalock-linux/webpki", branch = "mesalock_sgx" }
 log = { git = "https://github.com/mesalock-linux/log-sgx" }
 
-[patch.'https://github.com/baidu/rust-sgx-sdk.git']
+[patch.'https://github.com/apache/teaclave-sgx-sdk.git']
 sgx_alloc = { path = "../../../../sgx_alloc" }
 sgx_build_helper = { path = "../../../../sgx_build_helper" }
 sgx_cov = { path = "../../../../sgx_cov" }
diff --git a/samplecode/mio/server/app/Cargo.toml b/samplecode/mio/server/app/Cargo.toml
index 7749678..ff5b48d 100644
--- a/samplecode/mio/server/app/Cargo.toml
+++ b/samplecode/mio/server/app/Cargo.toml
@@ -5,9 +5,9 @@ authors = ["The Teaclave Authors"]
 build = "build.rs"
 
 [dependencies]
-sgx_types = { git = "https://github.com/baidu/rust-sgx-sdk.git" }
-sgx_urts = { git = "https://github.com/baidu/rust-sgx-sdk.git" }
+sgx_types = { git = "https://github.com/apache/teaclave-sgx-sdk.git" }
+sgx_urts = { git = "https://github.com/apache/teaclave-sgx-sdk.git" }
 
-[patch.'https://github.com/baidu/rust-sgx-sdk.git']
+[patch.'https://github.com/apache/teaclave-sgx-sdk.git']
 sgx_types = { path = "../../../../sgx_types" }
 sgx_urts = { path = "../../../../sgx_urts" }
diff --git a/samplecode/mio/server/enclave/Cargo.toml b/samplecode/mio/server/enclave/Cargo.toml
index 56c0918..b063b2d 100644
--- a/samplecode/mio/server/enclave/Cargo.toml
+++ b/samplecode/mio/server/enclave/Cargo.toml
@@ -11,8 +11,8 @@ crate-type = ["staticlib"]
 default = []
 
 [target.'cfg(not(target_env = "sgx"))'.dependencies]
-sgx_types = { git = "https://github.com/baidu/rust-sgx-sdk.git" }
-sgx_tstd = { git = "https://github.com/baidu/rust-sgx-sdk.git", features = ["net"] }
+sgx_types = { git = "https://github.com/apache/teaclave-sgx-sdk.git" }
+sgx_tstd = { git = "https://github.com/apache/teaclave-sgx-sdk.git", features = ["net"] }
 
 [dependencies]
 mio = { git = "https://github.com/mesalock-linux/mio-sgx", tag = "sgx_1.0.9" }
@@ -20,7 +20,7 @@ rustls = { git = "https://github.com/mesalock-linux/rustls", branch = "mesalock_
 webpki = { git = "https://github.com/mesalock-linux/webpki", branch = "mesalock_sgx" }
 log = { git = "https://github.com/mesalock-linux/log-sgx" }
 
-[patch.'https://github.com/baidu/rust-sgx-sdk.git']
+[patch.'https://github.com/apache/teaclave-sgx-sdk.git']
 sgx_alloc = { path = "../../../../sgx_alloc" }
 sgx_backtrace = { path = "../../../../sgx_backtrace" }
 sgx_backtrace_sys = { path = "../../../../sgx_backtrace_sys" }
diff --git a/samplecode/mutual-ra/app/Cargo.toml b/samplecode/mutual-ra/app/Cargo.toml
index 188ab4c..eff1586 100644
--- a/samplecode/mutual-ra/app/Cargo.toml
+++ b/samplecode/mutual-ra/app/Cargo.toml
@@ -5,9 +5,9 @@ authors = ["The Teaclave Authors"]
 build = "build.rs"
 
 [dependencies]
-sgx_types = { git = "https://github.com/baidu/rust-sgx-sdk.git" }
-sgx_urts = { git = "https://github.com/baidu/rust-sgx-sdk.git" }
+sgx_types = { git = "https://github.com/apache/teaclave-sgx-sdk.git" }
+sgx_urts = { git = "https://github.com/apache/teaclave-sgx-sdk.git" }
 
-[patch.'https://github.com/baidu/rust-sgx-sdk.git']
+[patch.'https://github.com/apache/teaclave-sgx-sdk.git']
 sgx_types = { path = "../../../sgx_types" }
 sgx_urts = { path = "../../../sgx_urts" }
diff --git a/samplecode/mutual-ra/enclave/Cargo.toml b/samplecode/mutual-ra/enclave/Cargo.toml
index 77f76d1..5c48c28 100644
--- a/samplecode/mutual-ra/enclave/Cargo.toml
+++ b/samplecode/mutual-ra/enclave/Cargo.toml
@@ -11,12 +11,12 @@ crate-type = ["staticlib"]
 default = []
 
 [target.'cfg(not(target_env = "sgx"))'.dependencies]
-sgx_types   = { git = "https://github.com/baidu/rust-sgx-sdk.git" }
-sgx_trts    = { git = "https://github.com/baidu/rust-sgx-sdk.git" }
-sgx_tstd    = { git = "https://github.com/baidu/rust-sgx-sdk.git", features = ["net", "backtrace"] }
-sgx_tcrypto = { git = "https://github.com/baidu/rust-sgx-sdk.git" }
-sgx_tse     = { git = "https://github.com/baidu/rust-sgx-sdk.git" }
-sgx_rand    = { git = "https://github.com/baidu/rust-sgx-sdk.git" }
+sgx_types   = { git = "https://github.com/apache/teaclave-sgx-sdk.git" }
+sgx_trts    = { git = "https://github.com/apache/teaclave-sgx-sdk.git" }
+sgx_tstd    = { git = "https://github.com/apache/teaclave-sgx-sdk.git", features = ["net", "backtrace"] }
+sgx_tcrypto = { git = "https://github.com/apache/teaclave-sgx-sdk.git" }
+sgx_tse     = { git = "https://github.com/apache/teaclave-sgx-sdk.git" }
+sgx_rand    = { git = "https://github.com/apache/teaclave-sgx-sdk.git" }
 
 [dependencies]
 chrono = { git = "https://github.com/mesalock-linux/chrono-sgx" }
@@ -36,7 +36,7 @@ git = "https://github.com/mesalock-linux/rustls"
 branch = "mesalock_sgx"
 features = ["dangerous_configuration"]
 
-[patch.'https://github.com/baidu/rust-sgx-sdk.git']
+[patch.'https://github.com/apache/teaclave-sgx-sdk.git']
 sgx_alloc = { path = "../../../sgx_alloc" }
 sgx_backtrace = { path = "../../../sgx_backtrace" }
 sgx_backtrace_sys = { path = "../../../sgx_backtrace_sys" }
diff --git a/samplecode/net2/app/Cargo.toml b/samplecode/net2/app/Cargo.toml
index 188ab4c..eff1586 100644
--- a/samplecode/net2/app/Cargo.toml
+++ b/samplecode/net2/app/Cargo.toml
@@ -5,9 +5,9 @@ authors = ["The Teaclave Authors"]
 build = "build.rs"
 
 [dependencies]
-sgx_types = { git = "https://github.com/baidu/rust-sgx-sdk.git" }
-sgx_urts = { git = "https://github.com/baidu/rust-sgx-sdk.git" }
+sgx_types = { git = "https://github.com/apache/teaclave-sgx-sdk.git" }
+sgx_urts = { git = "https://github.com/apache/teaclave-sgx-sdk.git" }
 
-[patch.'https://github.com/baidu/rust-sgx-sdk.git']
+[patch.'https://github.com/apache/teaclave-sgx-sdk.git']
 sgx_types = { path = "../../../sgx_types" }
 sgx_urts = { path = "../../../sgx_urts" }
diff --git a/samplecode/net2/enclave/Cargo.toml b/samplecode/net2/enclave/Cargo.toml
index bf8493a..4a2d072 100644
--- a/samplecode/net2/enclave/Cargo.toml
+++ b/samplecode/net2/enclave/Cargo.toml
@@ -14,10 +14,10 @@ default = []
 net2 = { git = "https://github.com/mesalock-linux/net2-rs-sgx" }
 
 [target.'cfg(not(target_env = "sgx"))'.dependencies]
-sgx_tstd = { git = "https://github.com/baidu/rust-sgx-sdk.git", features = ["net"] }
-sgx_types = { git = "https://github.com/baidu/rust-sgx-sdk.git" }
+sgx_tstd = { git = "https://github.com/apache/teaclave-sgx-sdk.git", features = ["net"] }
+sgx_types = { git = "https://github.com/apache/teaclave-sgx-sdk.git" }
 
-[patch.'https://github.com/baidu/rust-sgx-sdk.git']
+[patch.'https://github.com/apache/teaclave-sgx-sdk.git']
 sgx_alloc = { path = "../../../sgx_alloc" }
 sgx_backtrace = { path = "../../../sgx_backtrace" }
 sgx_backtrace_sys = { path = "../../../sgx_backtrace_sys" }
diff --git a/samplecode/pcl/encrypted-hello/enclave/Cargo.toml b/samplecode/pcl/encrypted-hello/enclave/Cargo.toml
index e2cf112..f1c968f 100644
--- a/samplecode/pcl/encrypted-hello/enclave/Cargo.toml
+++ b/samplecode/pcl/encrypted-hello/enclave/Cargo.toml
@@ -11,10 +11,10 @@ crate-type = ["staticlib"]
 default = []
 
 [target.'cfg(not(target_env = "sgx"))'.dependencies]
-sgx_types = { git = "https://github.com/baidu/rust-sgx-sdk.git" }
-sgx_tstd = { git = "https://github.com/baidu/rust-sgx-sdk.git" }
+sgx_types = { git = "https://github.com/apache/teaclave-sgx-sdk.git" }
+sgx_tstd = { git = "https://github.com/apache/teaclave-sgx-sdk.git" }
 
-[patch.'https://github.com/baidu/rust-sgx-sdk.git']
+[patch.'https://github.com/apache/teaclave-sgx-sdk.git']
 sgx_alloc = { path = "../../../../sgx_alloc" }
 sgx_build_helper = { path = "../../../../sgx_build_helper" }
 sgx_cov = { path = "../../../../sgx_cov" }
diff --git a/samplecode/pcl/pcl-seal/app/Cargo.toml b/samplecode/pcl/pcl-seal/app/Cargo.toml
index 9348f96..cea07b9 100644
--- a/samplecode/pcl/pcl-seal/app/Cargo.toml
+++ b/samplecode/pcl/pcl-seal/app/Cargo.toml
@@ -5,10 +5,10 @@ authors = ["The Teaclave Authors"]
 build = "build.rs"
 
 [dependencies]
-sgx_types = { git = "https://github.com/baidu/rust-sgx-sdk.git" }
-sgx_urts = { git = "https://github.com/baidu/rust-sgx-sdk.git" }
+sgx_types = { git = "https://github.com/apache/teaclave-sgx-sdk.git" }
+sgx_urts = { git = "https://github.com/apache/teaclave-sgx-sdk.git" }
 itertools = "*"
 
-[patch.'https://github.com/baidu/rust-sgx-sdk.git']
+[patch.'https://github.com/apache/teaclave-sgx-sdk.git']
 sgx_types = { path = "../../../../sgx_types" }
 sgx_urts = { path = "../../../../sgx_urts" }
diff --git a/samplecode/pcl/pcl-seal/enclave/Cargo.toml b/samplecode/pcl/pcl-seal/enclave/Cargo.toml
index b2bae9e..0f0232a 100644
--- a/samplecode/pcl/pcl-seal/enclave/Cargo.toml
+++ b/samplecode/pcl/pcl-seal/enclave/Cargo.toml
@@ -11,12 +11,12 @@ crate-type = ["staticlib"]
 default = []
 
 [target.'cfg(not(target_env = "sgx"))'.dependencies]
-sgx_types       = { git = "https://github.com/baidu/rust-sgx-sdk.git" }
-sgx_tstd        = { git = "https://github.com/baidu/rust-sgx-sdk.git", features = ["net"] }
-sgx_tcrypto     = { git = "https://github.com/baidu/rust-sgx-sdk.git" }
-sgx_tse         = { git = "https://github.com/baidu/rust-sgx-sdk.git" }
-sgx_rand        = { git = "https://github.com/baidu/rust-sgx-sdk.git" }
-sgx_tseal       = { git = "https://github.com/baidu/rust-sgx-sdk.git" }
+sgx_types       = { git = "https://github.com/apache/teaclave-sgx-sdk.git" }
+sgx_tstd        = { git = "https://github.com/apache/teaclave-sgx-sdk.git", features = ["net"] }
+sgx_tcrypto     = { git = "https://github.com/apache/teaclave-sgx-sdk.git" }
+sgx_tse         = { git = "https://github.com/apache/teaclave-sgx-sdk.git" }
+sgx_rand        = { git = "https://github.com/apache/teaclave-sgx-sdk.git" }
+sgx_tseal       = { git = "https://github.com/apache/teaclave-sgx-sdk.git" }
 
 [dependencies]
 chrono          = { git = "https://github.com/mesalock-linux/chrono-sgx" }
@@ -31,7 +31,7 @@ rustls          = { git = "https://github.com/mesalock-linux/rustls", branch = "
 webpki-roots    = { git = "https://github.com/mesalock-linux/webpki-roots", branch = "mesalock_sgx" }
 ue_send_recv    = { path = "ue_send_recv" }
 
-[patch.'https://github.com/baidu/rust-sgx-sdk.git']
+[patch.'https://github.com/apache/teaclave-sgx-sdk.git']
 sgx_alloc = { path = "../../../../sgx_alloc" }
 sgx_build_helper = { path = "../../../../sgx_build_helper" }
 sgx_cov = { path = "../../../../sgx_cov" }
diff --git a/samplecode/pcl/pcl-seal/enclave/ue_send_recv/Cargo.toml b/samplecode/pcl/pcl-seal/enclave/ue_send_recv/Cargo.toml
index 71ad981..3006fc2 100644
--- a/samplecode/pcl/pcl-seal/enclave/ue_send_recv/Cargo.toml
+++ b/samplecode/pcl/pcl-seal/enclave/ue_send_recv/Cargo.toml
@@ -17,9 +17,9 @@ rustls = { git = "https://github.com/mesalock-linux/rustls", branch = "mesalock_
 cfg-if = "*"
 
 [target.'cfg(not(target_env = "sgx"))'.dependencies]
-sgx_tstd    = { git = "https://github.com/baidu/rust-sgx-sdk.git" }
+sgx_tstd    = { git = "https://github.com/apache/teaclave-sgx-sdk.git" }
 
-[patch.'https://github.com/baidu/rust-sgx-sdk.git']
+[patch.'https://github.com/apache/teaclave-sgx-sdk.git']
 sgx_alloc = { path = "../../../../../sgx_alloc" }
 sgx_build_helper = { path = "../../../../../sgx_build_helper" }
 sgx_cov = { path = "../../../../../sgx_cov" }
diff --git a/samplecode/pcl/pcl-user/Cargo.toml b/samplecode/pcl/pcl-user/Cargo.toml
index db1afcb..065ae12 100644
--- a/samplecode/pcl/pcl-user/Cargo.toml
+++ b/samplecode/pcl/pcl-user/Cargo.toml
@@ -9,7 +9,7 @@ chrono      = "0.4.5"
 webpki      = "0.21"
 rustls      = { version = "0.16", features = ["dangerous_configuration"] }
 itertools   = "*"
-sgx_types   = { git = "https://github.com/baidu/rust-sgx-sdk" }
+sgx_types   = { git = "https://github.com/apache/teaclave-sgx-sdk" }
 base64      = "0.9.2"
 serde_json  = "1.0"
 num-bigint  = "*"
@@ -20,6 +20,6 @@ ue_send_recv= { path = "ue_send_recv" }
 [build-dependencies]
 itertools   = "*"
 
-[patch.'https://github.com/baidu/rust-sgx-sdk.git']
+[patch.'https://github.com/apache/teaclave-sgx-sdk.git']
 sgx_types = { path = "../../../sgx_types" }
 sgx_urts = { path = "../../../sgx_urts" }
diff --git a/samplecode/prost-protobuf/app/Cargo.toml b/samplecode/prost-protobuf/app/Cargo.toml
index 32c6134..a15178c 100644
--- a/samplecode/prost-protobuf/app/Cargo.toml
+++ b/samplecode/prost-protobuf/app/Cargo.toml
@@ -5,13 +5,13 @@ authors = ["The Teaclave Authors"]
 build = "build.rs"
 
 [dependencies]
-sgx_types = { rev = "v1.0.9", git = "https://github.com/baidu/rust-sgx-sdk.git" }
-sgx_urts = { rev = "v1.0.9", git = "https://github.com/baidu/rust-sgx-sdk.git" }
+sgx_types = { rev = "v1.0.9", git = "https://github.com/apache/teaclave-sgx-sdk.git" }
+sgx_urts = { rev = "v1.0.9", git = "https://github.com/apache/teaclave-sgx-sdk.git" }
 prost = "0.5"
 prost-types = "0.5"
 bytes = "0.4"
 
-[patch.'https://github.com/baidu/rust-sgx-sdk.git']
+[patch.'https://github.com/apache/teaclave-sgx-sdk.git']
 sgx_types = { path = "../../../sgx_types" }
 sgx_urts = { path = "../../../sgx_urts" }
 
diff --git a/samplecode/prost-protobuf/enclave/Cargo.toml b/samplecode/prost-protobuf/enclave/Cargo.toml
index dcc6d06..de50edb 100644
--- a/samplecode/prost-protobuf/enclave/Cargo.toml
+++ b/samplecode/prost-protobuf/enclave/Cargo.toml
@@ -19,10 +19,10 @@ prost-types = { git = "https://github.com/mesalock-linux/prost-sgx" }
 prost-build = "*"
 
 [target.'cfg(not(target_env = "sgx"))'.dependencies]
-sgx_types = { rev = "v1.0.9", git = "https://github.com/baidu/rust-sgx-sdk.git" }
-sgx_tstd = { rev = "v1.0.9", git = "https://github.com/baidu/rust-sgx-sdk.git" }
+sgx_types = { rev = "v1.0.9", git = "https://github.com/apache/teaclave-sgx-sdk.git" }
+sgx_tstd = { rev = "v1.0.9", git = "https://github.com/apache/teaclave-sgx-sdk.git" }
 
-[patch.'https://github.com/baidu/rust-sgx-sdk.git']
+[patch.'https://github.com/apache/teaclave-sgx-sdk.git']
 sgx_alloc = { path = "../../../sgx_alloc" }
 sgx_build_helper = { path = "../../../sgx_build_helper" }
 sgx_cov = { path = "../../../sgx_cov" }
diff --git a/samplecode/protobuf/enclave/Cargo.toml b/samplecode/protobuf/enclave/Cargo.toml
index 8bc3c4b..9ef1de6 100644
--- a/samplecode/protobuf/enclave/Cargo.toml
+++ b/samplecode/protobuf/enclave/Cargo.toml
@@ -17,7 +17,7 @@ sgx_tstd = { path = "../../../sgx_tstd" }
 [dependencies]
 protobuf = { git = "https://github.com/mesalock-linux/rust-protobuf-sgx", branch = "v2.8" }
 
-[patch.'https://github.com/baidu/rust-sgx-sdk.git']
+[patch.'https://github.com/apache/teaclave-sgx-sdk.git']
 sgx_alloc = { path = "../../../sgx_alloc" }
 sgx_backtrace = { path = "../../../sgx_backtrace" }
 sgx_backtrace_sys = { path = "../../../sgx_backtrace_sys" }
diff --git a/samplecode/psi/SMCServer/enclave/Cargo.toml b/samplecode/psi/SMCServer/enclave/Cargo.toml
index c4ded60..7f7c487 100644
--- a/samplecode/psi/SMCServer/enclave/Cargo.toml
+++ b/samplecode/psi/SMCServer/enclave/Cargo.toml
@@ -11,16 +11,16 @@ crate-type = ["staticlib"]
 default = []
 
 [target.'cfg(not(target_env = "sgx"))'.dependencies]
-sgx_types = { git = "https://github.com/baidu/rust-sgx-sdk.git" }
-sgx_trts = { git = "https://github.com/baidu/rust-sgx-sdk.git" }
-sgx_tstd = { git = "https://github.com/baidu/rust-sgx-sdk.git" }
-sgx_tdh = { git = "https://github.com/baidu/rust-sgx-sdk.git" }
-sgx_tcrypto = { git = "https://github.com/baidu/rust-sgx-sdk.git" }
-sgx_tservice = { git = "https://github.com/baidu/rust-sgx-sdk.git" }
-sgx_tkey_exchange = { git = "https://github.com/baidu/rust-sgx-sdk.git" }
-sgx_rand = { git = "https://github.com/baidu/rust-sgx-sdk.git" }
+sgx_types = { git = "https://github.com/apache/teaclave-sgx-sdk.git" }
+sgx_trts = { git = "https://github.com/apache/teaclave-sgx-sdk.git" }
+sgx_tstd = { git = "https://github.com/apache/teaclave-sgx-sdk.git" }
+sgx_tdh = { git = "https://github.com/apache/teaclave-sgx-sdk.git" }
+sgx_tcrypto = { git = "https://github.com/apache/teaclave-sgx-sdk.git" }
+sgx_tservice = { git = "https://github.com/apache/teaclave-sgx-sdk.git" }
+sgx_tkey_exchange = { git = "https://github.com/apache/teaclave-sgx-sdk.git" }
+sgx_rand = { git = "https://github.com/apache/teaclave-sgx-sdk.git" }
 
-[patch.'https://github.com/baidu/rust-sgx-sdk.git']
+[patch.'https://github.com/apache/teaclave-sgx-sdk.git']
 sgx_alloc = { path = "../../../../sgx_alloc" }
 sgx_backtrace = { path = "../../../../sgx_backtrace" }
 sgx_backtrace_sys = { path = "../../../../sgx_backtrace_sys" }
diff --git a/samplecode/remoteattestation/Application/enclave/Cargo.toml b/samplecode/remoteattestation/Application/enclave/Cargo.toml
index ddfd90a..e1847e4 100644
--- a/samplecode/remoteattestation/Application/enclave/Cargo.toml
+++ b/samplecode/remoteattestation/Application/enclave/Cargo.toml
@@ -11,15 +11,15 @@ crate-type = ["staticlib"]
 default = []
 
 [target.'cfg(not(target_env = "sgx"))'.dependencies]
-sgx_types = { git = "https://github.com/baidu/rust-sgx-sdk.git" }
-sgx_trts = { git = "https://github.com/baidu/rust-sgx-sdk.git" }
-sgx_tstd = { git = "https://github.com/baidu/rust-sgx-sdk.git" }
-sgx_tdh = { git = "https://github.com/baidu/rust-sgx-sdk.git" }
-sgx_tcrypto = { git = "https://github.com/baidu/rust-sgx-sdk.git" }
-sgx_tservice = { git = "https://github.com/baidu/rust-sgx-sdk.git" }
-sgx_tkey_exchange = { git = "https://github.com/baidu/rust-sgx-sdk.git" }
+sgx_types = { git = "https://github.com/apache/teaclave-sgx-sdk.git" }
+sgx_trts = { git = "https://github.com/apache/teaclave-sgx-sdk.git" }
+sgx_tstd = { git = "https://github.com/apache/teaclave-sgx-sdk.git" }
+sgx_tdh = { git = "https://github.com/apache/teaclave-sgx-sdk.git" }
+sgx_tcrypto = { git = "https://github.com/apache/teaclave-sgx-sdk.git" }
+sgx_tservice = { git = "https://github.com/apache/teaclave-sgx-sdk.git" }
+sgx_tkey_exchange = { git = "https://github.com/apache/teaclave-sgx-sdk.git" }
 
-[patch.'https://github.com/baidu/rust-sgx-sdk.git']
+[patch.'https://github.com/apache/teaclave-sgx-sdk.git']
 sgx_alloc = { path = "../../../../sgx_alloc" }
 sgx_backtrace = { path = "../../../../sgx_backtrace" }
 sgx_backtrace_sys = { path = "../../../../sgx_backtrace_sys" }
diff --git a/samplecode/remoteattestation/README.md b/samplecode/remoteattestation/README.md
index 1cbfe0c..462f1d8 100644
--- a/samplecode/remoteattestation/README.md
+++ b/samplecode/remoteattestation/README.md
@@ -38,7 +38,7 @@ As the most simple setup, one can just use IAS client crt/key for `server_crt` a
 
 # Signature policy definition in ServiceProvider.cpp
 
-Please check your [signature policy](https://software.intel.com/en-us/articles/signature-policy) and set it up [here](https://github.com/baidu/rust-sgx-sdk/blob/3ac5a21c3720bd819c938d28df11cbae499f3bc5/samplecode/remoteattestation/ServiceProvider/service_provider/ServiceProvider.cpp#L222) and [here](https://github.com/baidu/rust-sgx-sdk/blob/c1bf3775e4abbd79a26450f91655d3f67f9e0083/samplecode/remoteattestation/ServiceProvider/service_provider/ServiceProvider.cpp#L291). Wrong signature po [...]
+Please check your [signature policy](https://software.intel.com/en-us/articles/signature-policy) and set it up [here](https://github.com/apache/teaclave-sgx-sdk/blob/3ac5a21c3720bd819c938d28df11cbae499f3bc5/samplecode/remoteattestation/ServiceProvider/service_provider/ServiceProvider.cpp#L222) and [here](https://github.com/apache/teaclave-sgx-sdk/blob/c1bf3775e4abbd79a26450f91655d3f67f9e0083/samplecode/remoteattestation/ServiceProvider/service_provider/ServiceProvider.cpp#L291). Wrong si [...]
 
 # Linux SGX remote attestation (Original Readme below)
 Example of a remote attestation with Intel's SGX including the communication with IAS.
diff --git a/samplecode/sealeddata/enclave/Cargo.toml b/samplecode/sealeddata/enclave/Cargo.toml
index 332bf98..bab0b53 100644
--- a/samplecode/sealeddata/enclave/Cargo.toml
+++ b/samplecode/sealeddata/enclave/Cargo.toml
@@ -11,17 +11,17 @@ crate-type = ["staticlib"]
 default = []
 
 [target.'cfg(not(target_env = "sgx"))'.dependencies]
-sgx_types = { git = "https://github.com/baidu/rust-sgx-sdk.git" }
-sgx_tseal = { git = "https://github.com/baidu/rust-sgx-sdk.git" }
-sgx_tstd = { git = "https://github.com/baidu/rust-sgx-sdk.git" }
-sgx_rand = { git = "https://github.com/baidu/rust-sgx-sdk.git" }
+sgx_types = { git = "https://github.com/apache/teaclave-sgx-sdk.git" }
+sgx_tseal = { git = "https://github.com/apache/teaclave-sgx-sdk.git" }
+sgx_tstd = { git = "https://github.com/apache/teaclave-sgx-sdk.git" }
+sgx_rand = { git = "https://github.com/apache/teaclave-sgx-sdk.git" }
 
 [dependencies]
 serde = { git = "https://github.com/mesalock-linux/serde-sgx" }
 serde_derive = { git = "https://github.com/mesalock-linux/serde-sgx" }
 serde_cbor = { git = "https://github.com/mesalock-linux/cbor-sgx" }
 
-[patch.'https://github.com/baidu/rust-sgx-sdk.git']
+[patch.'https://github.com/apache/teaclave-sgx-sdk.git']
 sgx_alloc = { path = "../../../sgx_alloc" }
 sgx_backtrace = { path = "../../../sgx_backtrace" }
 sgx_backtrace_sys = { path = "../../../sgx_backtrace_sys" }
diff --git a/samplecode/secretsharing/enclave/Cargo.toml b/samplecode/secretsharing/enclave/Cargo.toml
index 503e65a..4a51586 100644
--- a/samplecode/secretsharing/enclave/Cargo.toml
+++ b/samplecode/secretsharing/enclave/Cargo.toml
@@ -17,7 +17,7 @@ sgx_tstd = { path = "../../../sgx_tstd" }
 [dependencies]
 threshold-secret-sharing = { git = "https://github.com/mesalock-linux/rust-threshold-secret-sharing-sgx" }
 
-[patch.'https://github.com/baidu/rust-sgx-sdk.git']
+[patch.'https://github.com/apache/teaclave-sgx-sdk.git']
 sgx_alloc = { path = "../../../sgx_alloc" }
 sgx_backtrace = { path = "../../../sgx_backtrace" }
 sgx_backtrace_sys = { path = "../../../sgx_backtrace_sys" }
diff --git a/samplecode/serialize/enclave/Cargo.toml b/samplecode/serialize/enclave/Cargo.toml
index def3f63..adf8f51 100644
--- a/samplecode/serialize/enclave/Cargo.toml
+++ b/samplecode/serialize/enclave/Cargo.toml
@@ -8,13 +8,13 @@ name = "serializesampleenclave"
 crate-type = ["staticlib"]
 
 [target.'cfg(not(target_env = "sgx"))'.dependencies]
-sgx_tstd = { git = "https://github.com/baidu/rust-sgx-sdk.git" }
-sgx_serialize = { git = "https://github.com/baidu/rust-sgx-sdk.git" }
+sgx_tstd = { git = "https://github.com/apache/teaclave-sgx-sdk.git" }
+sgx_serialize = { git = "https://github.com/apache/teaclave-sgx-sdk.git" }
 
 [dependencies]
-sgx_serialize_derive = { git = "https://github.com/baidu/rust-sgx-sdk.git" }
+sgx_serialize_derive = { git = "https://github.com/apache/teaclave-sgx-sdk.git" }
 
-[patch.'https://github.com/baidu/rust-sgx-sdk.git']
+[patch.'https://github.com/apache/teaclave-sgx-sdk.git']
 sgx_alloc = { path = "../../../sgx_alloc" }
 sgx_backtrace = { path = "../../../sgx_backtrace" }
 sgx_backtrace_sys = { path = "../../../sgx_backtrace_sys" }
diff --git a/samplecode/sgx-cov/app/Cargo.toml b/samplecode/sgx-cov/app/Cargo.toml
index 16b6031..61bac2c 100644
--- a/samplecode/sgx-cov/app/Cargo.toml
+++ b/samplecode/sgx-cov/app/Cargo.toml
@@ -5,9 +5,9 @@ authors = ["The Teaclave Authors"]
 build = "build.rs"
 
 [dependencies]
-sgx_types = { git = "https://github.com/baidu/rust-sgx-sdk.git" }
-sgx_urts = { git = "https://github.com/baidu/rust-sgx-sdk.git", features = ["global_init", "global_exit"] }
+sgx_types = { git = "https://github.com/apache/teaclave-sgx-sdk.git" }
+sgx_urts = { git = "https://github.com/apache/teaclave-sgx-sdk.git", features = ["global_init", "global_exit"] }
 
-[patch.'https://github.com/baidu/rust-sgx-sdk.git']
+[patch.'https://github.com/apache/teaclave-sgx-sdk.git']
 sgx_types = { path = "../../../sgx_types" }
 sgx_urts = { path = "../../../sgx_urts" }
diff --git a/samplecode/sgx-cov/enclave/Cargo.toml b/samplecode/sgx-cov/enclave/Cargo.toml
index 7e8afbc..a5983b6 100644
--- a/samplecode/sgx-cov/enclave/Cargo.toml
+++ b/samplecode/sgx-cov/enclave/Cargo.toml
@@ -12,11 +12,11 @@ default = []
 cov = ["sgx_cov"]
 
 [target.'cfg(not(target_env = "sgx"))'.dependencies]
-sgx_types = { git = "https://github.com/baidu/rust-sgx-sdk.git" }
-sgx_tstd = { git = "https://github.com/baidu/rust-sgx-sdk.git" }
-sgx_trts = { git = "https://github.com/baidu/rust-sgx-sdk.git" }
-sgx_cov  = { git = "https://github.com/baidu/rust-sgx-sdk.git", optional = true }
-[patch.'https://github.com/baidu/rust-sgx-sdk.git']
+sgx_types = { git = "https://github.com/apache/teaclave-sgx-sdk.git" }
+sgx_tstd = { git = "https://github.com/apache/teaclave-sgx-sdk.git" }
+sgx_trts = { git = "https://github.com/apache/teaclave-sgx-sdk.git" }
+sgx_cov  = { git = "https://github.com/apache/teaclave-sgx-sdk.git", optional = true }
+[patch.'https://github.com/apache/teaclave-sgx-sdk.git']
 sgx_alloc = { path = "../../../sgx_alloc" }
 sgx_backtrace = { path = "../../../sgx_backtrace" }
 sgx_backtrace_sys = { path = "../../../sgx_backtrace_sys" }
diff --git a/samplecode/sgxcounter/app/Cargo.toml b/samplecode/sgxcounter/app/Cargo.toml
index 188ab4c..eff1586 100644
--- a/samplecode/sgxcounter/app/Cargo.toml
+++ b/samplecode/sgxcounter/app/Cargo.toml
@@ -5,9 +5,9 @@ authors = ["The Teaclave Authors"]
 build = "build.rs"
 
 [dependencies]
-sgx_types = { git = "https://github.com/baidu/rust-sgx-sdk.git" }
-sgx_urts = { git = "https://github.com/baidu/rust-sgx-sdk.git" }
+sgx_types = { git = "https://github.com/apache/teaclave-sgx-sdk.git" }
+sgx_urts = { git = "https://github.com/apache/teaclave-sgx-sdk.git" }
 
-[patch.'https://github.com/baidu/rust-sgx-sdk.git']
+[patch.'https://github.com/apache/teaclave-sgx-sdk.git']
 sgx_types = { path = "../../../sgx_types" }
 sgx_urts = { path = "../../../sgx_urts" }
diff --git a/samplecode/sgxcounter/enclave/Cargo.toml b/samplecode/sgxcounter/enclave/Cargo.toml
index bd65951..cc0c3b7 100644
--- a/samplecode/sgxcounter/enclave/Cargo.toml
+++ b/samplecode/sgxcounter/enclave/Cargo.toml
@@ -14,11 +14,11 @@ default = []
 itertools = { version = "*", default-features = false }
 
 [target.'cfg(not(target_env = "sgx"))'.dependencies]
-sgx_types = { git = "https://github.com/baidu/rust-sgx-sdk.git" }
-sgx_tstd = { git = "https://github.com/baidu/rust-sgx-sdk.git" }
-sgx_tservice = { git = "https://github.com/baidu/rust-sgx-sdk.git" }
+sgx_types = { git = "https://github.com/apache/teaclave-sgx-sdk.git" }
+sgx_tstd = { git = "https://github.com/apache/teaclave-sgx-sdk.git" }
+sgx_tservice = { git = "https://github.com/apache/teaclave-sgx-sdk.git" }
 
-[patch.'https://github.com/baidu/rust-sgx-sdk.git']
+[patch.'https://github.com/apache/teaclave-sgx-sdk.git']
 sgx_alloc = { path = "../../../sgx_alloc" }
 sgx_build_helper = { path = "../../../sgx_build_helper" }
 sgx_cov = { path = "../../../sgx_cov" }
diff --git a/samplecode/sgxtime/app/Cargo.toml b/samplecode/sgxtime/app/Cargo.toml
index 6a35d9c..a7dc08f 100644
--- a/samplecode/sgxtime/app/Cargo.toml
+++ b/samplecode/sgxtime/app/Cargo.toml
@@ -5,10 +5,10 @@ authors = ["The Teaclave Authors"]
 build = "build.rs"
 
 [dependencies]
-sgx_types =  { git = "https://github.com/baidu/rust-sgx-sdk.git" }
-sgx_urts =  { git = "https://github.com/baidu/rust-sgx-sdk.git" }
+sgx_types =  { git = "https://github.com/apache/teaclave-sgx-sdk.git" }
+sgx_urts =  { git = "https://github.com/apache/teaclave-sgx-sdk.git" }
 
-[patch.'https://github.com/baidu/rust-sgx-sdk.git']
+[patch.'https://github.com/apache/teaclave-sgx-sdk.git']
 sgx_types = { path = "../../../sgx_types" }
 sgx_urts = { path = "../../../sgx_urts" }
 
diff --git a/samplecode/sgxtime/enclave/Cargo.toml b/samplecode/sgxtime/enclave/Cargo.toml
index 95bd61e..391dd63 100644
--- a/samplecode/sgxtime/enclave/Cargo.toml
+++ b/samplecode/sgxtime/enclave/Cargo.toml
@@ -11,11 +11,11 @@ crate-type = ["staticlib"]
 default = []
 
 [target.'cfg(not(target_env = "sgx"))'.dependencies]
-sgx_types = { git = "https://github.com/baidu/rust-sgx-sdk.git" }
-sgx_tstd = { git = "https://github.com/baidu/rust-sgx-sdk.git" }
-sgx_tservice = { git = "https://github.com/baidu/rust-sgx-sdk.git" }
+sgx_types = { git = "https://github.com/apache/teaclave-sgx-sdk.git" }
+sgx_tstd = { git = "https://github.com/apache/teaclave-sgx-sdk.git" }
+sgx_tservice = { git = "https://github.com/apache/teaclave-sgx-sdk.git" }
 
-[patch.'https://github.com/baidu/rust-sgx-sdk.git']
+[patch.'https://github.com/apache/teaclave-sgx-sdk.git']
 sgx_alloc = { path = "../../../sgx_alloc" }
 sgx_backtrace = { path = "../../../sgx_backtrace" }
 sgx_backtrace_sys = { path = "../../../sgx_backtrace_sys" }
diff --git a/samplecode/static-data-distribution/app/Cargo.toml b/samplecode/static-data-distribution/app/Cargo.toml
index c08c9f2..2523c10 100644
--- a/samplecode/static-data-distribution/app/Cargo.toml
+++ b/samplecode/static-data-distribution/app/Cargo.toml
@@ -5,12 +5,12 @@ authors = ["The Teaclave Authors"]
 build = "build.rs"
 
 [dependencies]
-sgx_types = { git = "https://github.com/baidu/rust-sgx-sdk.git" }
-sgx_urts = { git = "https://github.com/baidu/rust-sgx-sdk.git" }
-sgx_crypto_helper = { git = "https://github.com/baidu/rust-sgx-sdk.git" }
+sgx_types = { git = "https://github.com/apache/teaclave-sgx-sdk.git" }
+sgx_urts = { git = "https://github.com/apache/teaclave-sgx-sdk.git" }
+sgx_crypto_helper = { git = "https://github.com/apache/teaclave-sgx-sdk.git" }
 serde_json = "1.0"
 
-[patch.'https://github.com/baidu/rust-sgx-sdk.git']
+[patch.'https://github.com/apache/teaclave-sgx-sdk.git']
 sgx_alloc = { path = "../../../sgx_alloc" }
 sgx_backtrace = { path = "../../../sgx_backtrace" }
 sgx_backtrace_sys = { path = "../../../sgx_backtrace_sys" }
diff --git a/samplecode/static-data-distribution/enclave/Cargo.toml b/samplecode/static-data-distribution/enclave/Cargo.toml
index 80c13d7..d0e89e9 100644
--- a/samplecode/static-data-distribution/enclave/Cargo.toml
+++ b/samplecode/static-data-distribution/enclave/Cargo.toml
@@ -11,14 +11,14 @@ crate-type = ["staticlib"]
 default = []
 
 [target.'cfg(not(target_env = "sgx"))'.dependencies]
-sgx_types = { rev = "v1.1.0", git = "https://github.com/baidu/rust-sgx-sdk.git" }
-sgx_tstd = { rev = "v1.1.0", git = "https://github.com/baidu/rust-sgx-sdk.git" }
-sgx_crypto_helper = { package="sgx_tcrypto_helper", rev = "v1.1.0", git = "https://github.com/baidu/rust-sgx-sdk.git" }
+sgx_types = { rev = "v1.1.0", git = "https://github.com/apache/teaclave-sgx-sdk.git" }
+sgx_tstd = { rev = "v1.1.0", git = "https://github.com/apache/teaclave-sgx-sdk.git" }
+sgx_crypto_helper = { package="sgx_tcrypto_helper", rev = "v1.1.0", git = "https://github.com/apache/teaclave-sgx-sdk.git" }
 
 [dependencies]
 serde_json = { git = "https://github.com/mesalock-linux/serde-json-sgx" }
 
-[patch.'https://github.com/baidu/rust-sgx-sdk.git']
+[patch.'https://github.com/apache/teaclave-sgx-sdk.git']
 sgx_alloc = { path = "../../../sgx_alloc" }
 sgx_backtrace = { path = "../../../sgx_backtrace" }
 sgx_backtrace_sys = { path = "../../../sgx_backtrace_sys" }
diff --git a/samplecode/switchless/app/Cargo.toml b/samplecode/switchless/app/Cargo.toml
index 188ab4c..eff1586 100644
--- a/samplecode/switchless/app/Cargo.toml
+++ b/samplecode/switchless/app/Cargo.toml
@@ -5,9 +5,9 @@ authors = ["The Teaclave Authors"]
 build = "build.rs"
 
 [dependencies]
-sgx_types = { git = "https://github.com/baidu/rust-sgx-sdk.git" }
-sgx_urts = { git = "https://github.com/baidu/rust-sgx-sdk.git" }
+sgx_types = { git = "https://github.com/apache/teaclave-sgx-sdk.git" }
+sgx_urts = { git = "https://github.com/apache/teaclave-sgx-sdk.git" }
 
-[patch.'https://github.com/baidu/rust-sgx-sdk.git']
+[patch.'https://github.com/apache/teaclave-sgx-sdk.git']
 sgx_types = { path = "../../../sgx_types" }
 sgx_urts = { path = "../../../sgx_urts" }
diff --git a/samplecode/switchless/enclave/Cargo.toml b/samplecode/switchless/enclave/Cargo.toml
index f011f7a..4c1a38b 100644
--- a/samplecode/switchless/enclave/Cargo.toml
+++ b/samplecode/switchless/enclave/Cargo.toml
@@ -11,10 +11,10 @@ crate-type = ["staticlib"]
 default = []
 
 [target.'cfg(not(target_env = "sgx"))'.dependencies]
-sgx_types = { git = "https://github.com/baidu/rust-sgx-sdk.git" }
-sgx_tstd = { git = "https://github.com/baidu/rust-sgx-sdk.git" }
+sgx_types = { git = "https://github.com/apache/teaclave-sgx-sdk.git" }
+sgx_tstd = { git = "https://github.com/apache/teaclave-sgx-sdk.git" }
 
-[patch.'https://github.com/baidu/rust-sgx-sdk.git']
+[patch.'https://github.com/apache/teaclave-sgx-sdk.git']
 sgx_alloc = { path = "../../../sgx_alloc" }
 sgx_backtrace = { path = "../../../sgx_backtrace" }
 sgx_backtrace_sys = { path = "../../../sgx_backtrace_sys" }
diff --git a/samplecode/tcmalloc/app/Cargo.toml b/samplecode/tcmalloc/app/Cargo.toml
index 188ab4c..eff1586 100644
--- a/samplecode/tcmalloc/app/Cargo.toml
+++ b/samplecode/tcmalloc/app/Cargo.toml
@@ -5,9 +5,9 @@ authors = ["The Teaclave Authors"]
 build = "build.rs"
 
 [dependencies]
-sgx_types = { git = "https://github.com/baidu/rust-sgx-sdk.git" }
-sgx_urts = { git = "https://github.com/baidu/rust-sgx-sdk.git" }
+sgx_types = { git = "https://github.com/apache/teaclave-sgx-sdk.git" }
+sgx_urts = { git = "https://github.com/apache/teaclave-sgx-sdk.git" }
 
-[patch.'https://github.com/baidu/rust-sgx-sdk.git']
+[patch.'https://github.com/apache/teaclave-sgx-sdk.git']
 sgx_types = { path = "../../../sgx_types" }
 sgx_urts = { path = "../../../sgx_urts" }
diff --git a/samplecode/tcmalloc/enclave/Cargo.toml b/samplecode/tcmalloc/enclave/Cargo.toml
index 9a4817e..d508cd4 100644
--- a/samplecode/tcmalloc/enclave/Cargo.toml
+++ b/samplecode/tcmalloc/enclave/Cargo.toml
@@ -11,10 +11,10 @@ crate-type = ["staticlib"]
 default = []
 
 [target.'cfg(not(target_env = "sgx"))'.dependencies]
-sgx_types = { git = "https://github.com/baidu/rust-sgx-sdk.git" }
-sgx_tstd = { git = "https://github.com/baidu/rust-sgx-sdk.git" }
+sgx_types = { git = "https://github.com/apache/teaclave-sgx-sdk.git" }
+sgx_tstd = { git = "https://github.com/apache/teaclave-sgx-sdk.git" }
 
-[patch.'https://github.com/baidu/rust-sgx-sdk.git']
+[patch.'https://github.com/apache/teaclave-sgx-sdk.git']
 sgx_alloc = { path = "../../../sgx_alloc" }
 sgx_backtrace = { path = "../../../sgx_backtrace" }
 sgx_backtrace_sys = { path = "../../../sgx_backtrace_sys" }
diff --git a/samplecode/thread/enclave/Cargo.toml b/samplecode/thread/enclave/Cargo.toml
index b902392..20797ef 100644
--- a/samplecode/thread/enclave/Cargo.toml
+++ b/samplecode/thread/enclave/Cargo.toml
@@ -11,9 +11,9 @@ crate-type = ["staticlib"]
 default = []
 
 [target.'cfg(not(target_env = "sgx"))'.dependencies]
-sgx_tstd = { git = "https://github.com/baidu/rust-sgx-sdk.git" }
+sgx_tstd = { git = "https://github.com/apache/teaclave-sgx-sdk.git" }
 
-[patch.'https://github.com/baidu/rust-sgx-sdk.git']
+[patch.'https://github.com/apache/teaclave-sgx-sdk.git']
 sgx_alloc = { path = "../../../sgx_alloc" }
 sgx_backtrace = { path = "../../../sgx_backtrace" }
 sgx_backtrace_sys = { path = "../../../sgx_backtrace_sys" }
diff --git a/samplecode/tls/tlsclient/app/Cargo.toml b/samplecode/tls/tlsclient/app/Cargo.toml
index 83eb79f..58848e0 100644
--- a/samplecode/tls/tlsclient/app/Cargo.toml
+++ b/samplecode/tls/tlsclient/app/Cargo.toml
@@ -5,10 +5,10 @@ authors = ["The Teaclave Authors"]
 build = "build.rs"
 
 [dependencies]
-sgx_types = { git = "https://github.com/baidu/rust-sgx-sdk.git" }
-sgx_urts = { git = "https://github.com/baidu/rust-sgx-sdk.git" }
+sgx_types = { git = "https://github.com/apache/teaclave-sgx-sdk.git" }
+sgx_urts = { git = "https://github.com/apache/teaclave-sgx-sdk.git" }
 mio = "0.6"
 
-[patch.'https://github.com/baidu/rust-sgx-sdk.git']
+[patch.'https://github.com/apache/teaclave-sgx-sdk.git']
 sgx_types = { path = "../../../../sgx_types" }
 sgx_urts = { path = "../../../../sgx_urts" }
diff --git a/samplecode/tls/tlsclient/enclave/Cargo.toml b/samplecode/tls/tlsclient/enclave/Cargo.toml
index e9e037e..89890c4 100644
--- a/samplecode/tls/tlsclient/enclave/Cargo.toml
+++ b/samplecode/tls/tlsclient/enclave/Cargo.toml
@@ -11,9 +11,9 @@ crate-type = ["staticlib"]
 default = []
 
 [target.'cfg(not(target_env = "sgx"))'.dependencies]
-sgx_types = { git = "https://github.com/baidu/rust-sgx-sdk.git" }
-sgx_trts = { git = "https://github.com/baidu/rust-sgx-sdk.git" }
-sgx_tstd = { git = "https://github.com/baidu/rust-sgx-sdk.git", features = ["net"] }
+sgx_types = { git = "https://github.com/apache/teaclave-sgx-sdk.git" }
+sgx_trts = { git = "https://github.com/apache/teaclave-sgx-sdk.git" }
+sgx_tstd = { git = "https://github.com/apache/teaclave-sgx-sdk.git", features = ["net"] }
 
 [dependencies]
 rustls = { git = "https://github.com/mesalock-linux/rustls", branch = "mesalock_sgx" }
@@ -21,7 +21,7 @@ webpki = { git = "https://github.com/mesalock-linux/webpki", branch = "mesalock_
 lazy_static = { version = "1.4.0", default-features = false, features = ["spin_no_std"] }
 
 # Comment out these following lines to use rust-sgx-sdk from git
-[patch.'https://github.com/baidu/rust-sgx-sdk.git']
+[patch.'https://github.com/apache/teaclave-sgx-sdk.git']
 sgx_alloc = { path = "../../../../sgx_alloc" }
 sgx_backtrace = { path = "../../../../sgx_backtrace" }
 sgx_backtrace_sys = { path = "../../../../sgx_backtrace_sys" }
diff --git a/samplecode/tls/tlsserver/app/Cargo.toml b/samplecode/tls/tlsserver/app/Cargo.toml
index 83eb79f..58848e0 100644
--- a/samplecode/tls/tlsserver/app/Cargo.toml
+++ b/samplecode/tls/tlsserver/app/Cargo.toml
@@ -5,10 +5,10 @@ authors = ["The Teaclave Authors"]
 build = "build.rs"
 
 [dependencies]
-sgx_types = { git = "https://github.com/baidu/rust-sgx-sdk.git" }
-sgx_urts = { git = "https://github.com/baidu/rust-sgx-sdk.git" }
+sgx_types = { git = "https://github.com/apache/teaclave-sgx-sdk.git" }
+sgx_urts = { git = "https://github.com/apache/teaclave-sgx-sdk.git" }
 mio = "0.6"
 
-[patch.'https://github.com/baidu/rust-sgx-sdk.git']
+[patch.'https://github.com/apache/teaclave-sgx-sdk.git']
 sgx_types = { path = "../../../../sgx_types" }
 sgx_urts = { path = "../../../../sgx_urts" }
diff --git a/samplecode/tls/tlsserver/enclave/Cargo.toml b/samplecode/tls/tlsserver/enclave/Cargo.toml
index e6db5ac..4f9926c 100644
--- a/samplecode/tls/tlsserver/enclave/Cargo.toml
+++ b/samplecode/tls/tlsserver/enclave/Cargo.toml
@@ -11,16 +11,16 @@ crate-type = ["staticlib"]
 default = []
 
 [target.'cfg(not(target_env = "sgx"))'.dependencies]
-sgx_types = { git = "https://github.com/baidu/rust-sgx-sdk.git" }
-sgx_trts = { git = "https://github.com/baidu/rust-sgx-sdk.git" }
-sgx_tstd = { git = "https://github.com/baidu/rust-sgx-sdk.git", features = ["net"] }
+sgx_types = { git = "https://github.com/apache/teaclave-sgx-sdk.git" }
+sgx_trts = { git = "https://github.com/apache/teaclave-sgx-sdk.git" }
+sgx_tstd = { git = "https://github.com/apache/teaclave-sgx-sdk.git", features = ["net"] }
 
 [dependencies]
 rustls = { git = "https://github.com/mesalock-linux/rustls", branch = "mesalock_sgx" }
 webpki = { git = "https://github.com/mesalock-linux/webpki", branch = "mesalock_sgx" }
 lazy_static = { version = "1.4.0", default-features = false, features = ["spin_no_std"] }
 
-[patch.'https://github.com/baidu/rust-sgx-sdk.git']
+[patch.'https://github.com/apache/teaclave-sgx-sdk.git']
 sgx_alloc = { path = "../../../../sgx_alloc" }
 sgx_backtrace = { path = "../../../../sgx_backtrace" }
 sgx_backtrace_sys = { path = "../../../../sgx_backtrace_sys" }
diff --git a/samplecode/tr-mpc/tr-mpc-client/Cargo.toml b/samplecode/tr-mpc/tr-mpc-client/Cargo.toml
index 67b79e9..3895477 100644
--- a/samplecode/tr-mpc/tr-mpc-client/Cargo.toml
+++ b/samplecode/tr-mpc/tr-mpc-client/Cargo.toml
@@ -8,12 +8,12 @@ chrono      = "0.4.5"
 webpki      = "0.21"
 rustls      = { version = "0.16",features = ["dangerous_configuration"] }
 itertools   = "*"
-sgx_types   =  { git = "https://github.com/baidu/rust-sgx-sdk.git" }
+sgx_types   =  { git = "https://github.com/apache/teaclave-sgx-sdk.git" }
 base64      = "0.9.2"
 serde_json  = "1.0"
 num-bigint  = "*"
 bit-vec     = "*"
 hex         = "*"
 
-[patch.'https://github.com/baidu/rust-sgx-sdk.git']
+[patch.'https://github.com/apache/teaclave-sgx-sdk.git']
 sgx_types = { path = "../../../sgx_types" }
diff --git a/samplecode/tr-mpc/tr-mpc-server/app/Cargo.toml b/samplecode/tr-mpc/tr-mpc-server/app/Cargo.toml
index 7749678..ff5b48d 100644
--- a/samplecode/tr-mpc/tr-mpc-server/app/Cargo.toml
+++ b/samplecode/tr-mpc/tr-mpc-server/app/Cargo.toml
@@ -5,9 +5,9 @@ authors = ["The Teaclave Authors"]
 build = "build.rs"
 
 [dependencies]
-sgx_types = { git = "https://github.com/baidu/rust-sgx-sdk.git" }
-sgx_urts = { git = "https://github.com/baidu/rust-sgx-sdk.git" }
+sgx_types = { git = "https://github.com/apache/teaclave-sgx-sdk.git" }
+sgx_urts = { git = "https://github.com/apache/teaclave-sgx-sdk.git" }
 
-[patch.'https://github.com/baidu/rust-sgx-sdk.git']
+[patch.'https://github.com/apache/teaclave-sgx-sdk.git']
 sgx_types = { path = "../../../../sgx_types" }
 sgx_urts = { path = "../../../../sgx_urts" }
diff --git a/samplecode/tr-mpc/tr-mpc-server/enclave/Cargo.toml b/samplecode/tr-mpc/tr-mpc-server/enclave/Cargo.toml
index 25a7441..fa1e571 100644
--- a/samplecode/tr-mpc/tr-mpc-server/enclave/Cargo.toml
+++ b/samplecode/tr-mpc/tr-mpc-server/enclave/Cargo.toml
@@ -11,11 +11,11 @@ crate-type = ["staticlib"]
 default = []
 
 [target.'cfg(not(target_env = "sgx"))'.dependencies]
-sgx_types   = { git = "https://github.com/baidu/rust-sgx-sdk.git" }
-sgx_tstd    = { git = "https://github.com/baidu/rust-sgx-sdk.git", features = ["net"] }
-sgx_tcrypto = { git = "https://github.com/baidu/rust-sgx-sdk.git" }
-sgx_tse     = { git = "https://github.com/baidu/rust-sgx-sdk.git" }
-sgx_rand    = { git = "https://github.com/baidu/rust-sgx-sdk.git" }
+sgx_types   = { git = "https://github.com/apache/teaclave-sgx-sdk.git" }
+sgx_tstd    = { git = "https://github.com/apache/teaclave-sgx-sdk.git", features = ["net"] }
+sgx_tcrypto = { git = "https://github.com/apache/teaclave-sgx-sdk.git" }
+sgx_tse     = { git = "https://github.com/apache/teaclave-sgx-sdk.git" }
+sgx_rand    = { git = "https://github.com/apache/teaclave-sgx-sdk.git" }
 
 [dependencies]
 chrono      = { git = "https://github.com/mesalock-linux/chrono-sgx" }
@@ -31,7 +31,7 @@ webpki-roots= { git = "https://github.com/mesalock-linux/webpki-roots", branch =
 
 
 # Comment out these following lines to use rust-sgx-sdk from git
-[patch.'https://github.com/baidu/rust-sgx-sdk.git']
+[patch.'https://github.com/apache/teaclave-sgx-sdk.git']
 sgx_alloc = { path = "../../../../sgx_alloc" }
 sgx_backtrace = { path = "../../../../sgx_backtrace" }
 sgx_backtrace_sys = { path = "../../../../sgx_backtrace_sys" }
diff --git a/samplecode/ue-ra/ue-ra-client/Cargo.toml b/samplecode/ue-ra/ue-ra-client/Cargo.toml
index 578059d..760e047 100644
--- a/samplecode/ue-ra/ue-ra-client/Cargo.toml
+++ b/samplecode/ue-ra/ue-ra-client/Cargo.toml
@@ -8,12 +8,12 @@ chrono      = "0.4.5"
 webpki      = "0.21"
 rustls      = { version = "0.16", features = ["dangerous_configuration"] }
 itertools   = "*"
-sgx_types   = { git = "https://github.com/baidu/rust-sgx-sdk" }
+sgx_types   = { git = "https://github.com/apache/teaclave-sgx-sdk" }
 base64      = "0.9.2"
 serde_json  = "1.0"
 num-bigint  = "*"
 bit-vec     = "*"
 hex         = "*"
 
-[patch.'https://github.com/baidu/rust-sgx-sdk.git']
+[patch.'https://github.com/apache/teaclave-sgx-sdk.git']
 sgx_types = { path = "../../../sgx_types" }
diff --git a/samplecode/ue-ra/ue-ra-server/app/Cargo.toml b/samplecode/ue-ra/ue-ra-server/app/Cargo.toml
index 7749678..ff5b48d 100644
--- a/samplecode/ue-ra/ue-ra-server/app/Cargo.toml
+++ b/samplecode/ue-ra/ue-ra-server/app/Cargo.toml
@@ -5,9 +5,9 @@ authors = ["The Teaclave Authors"]
 build = "build.rs"
 
 [dependencies]
-sgx_types = { git = "https://github.com/baidu/rust-sgx-sdk.git" }
-sgx_urts = { git = "https://github.com/baidu/rust-sgx-sdk.git" }
+sgx_types = { git = "https://github.com/apache/teaclave-sgx-sdk.git" }
+sgx_urts = { git = "https://github.com/apache/teaclave-sgx-sdk.git" }
 
-[patch.'https://github.com/baidu/rust-sgx-sdk.git']
+[patch.'https://github.com/apache/teaclave-sgx-sdk.git']
 sgx_types = { path = "../../../../sgx_types" }
 sgx_urts = { path = "../../../../sgx_urts" }
diff --git a/samplecode/ue-ra/ue-ra-server/enclave/Cargo.toml b/samplecode/ue-ra/ue-ra-server/enclave/Cargo.toml
index 7063301..9fe58d5 100644
--- a/samplecode/ue-ra/ue-ra-server/enclave/Cargo.toml
+++ b/samplecode/ue-ra/ue-ra-server/enclave/Cargo.toml
@@ -11,11 +11,11 @@ crate-type = ["staticlib"]
 default = []
 
 [target.'cfg(not(target_env = "sgx"))'.dependencies]
-sgx_types   = { git = "https://github.com/baidu/rust-sgx-sdk.git" }
-sgx_tstd    = { git = "https://github.com/baidu/rust-sgx-sdk.git", features = ["net"] }
-sgx_tcrypto = { git = "https://github.com/baidu/rust-sgx-sdk.git" }
-sgx_tse     = { git = "https://github.com/baidu/rust-sgx-sdk.git" }
-sgx_rand    = { git = "https://github.com/baidu/rust-sgx-sdk.git" }
+sgx_types   = { git = "https://github.com/apache/teaclave-sgx-sdk.git" }
+sgx_tstd    = { git = "https://github.com/apache/teaclave-sgx-sdk.git", features = ["net"] }
+sgx_tcrypto = { git = "https://github.com/apache/teaclave-sgx-sdk.git" }
+sgx_tse     = { git = "https://github.com/apache/teaclave-sgx-sdk.git" }
+sgx_rand    = { git = "https://github.com/apache/teaclave-sgx-sdk.git" }
 
 [dependencies]
 chrono      = { git = "https://github.com/mesalock-linux/chrono-sgx" }
@@ -30,7 +30,7 @@ rustls      = { git = "https://github.com/mesalock-linux/rustls", branch = "mesa
 webpki-roots= { git = "https://github.com/mesalock-linux/webpki-roots", branch = "mesalock_sgx" }
 
 # Comment out these following lines to use rust-sgx-sdk from git
-[patch.'https://github.com/baidu/rust-sgx-sdk.git']
+[patch.'https://github.com/apache/teaclave-sgx-sdk.git']
 sgx_alloc = { path = "../../../../sgx_alloc" }
 sgx_backtrace = { path = "../../../../sgx_backtrace" }
 sgx_backtrace_sys = { path = "../../../../sgx_backtrace_sys" }
diff --git a/samplecode/unit-test/app/Cargo.toml b/samplecode/unit-test/app/Cargo.toml
index 30a83dc..ffe9cb8 100644
--- a/samplecode/unit-test/app/Cargo.toml
+++ b/samplecode/unit-test/app/Cargo.toml
@@ -5,9 +5,9 @@ authors = ["The Teaclave Authors"]
 build = "build.rs"
 
 [dependencies]
-sgx_types = { git = "https://github.com/baidu/rust-sgx-sdk.git" }
-sgx_urts = { git = "https://github.com/baidu/rust-sgx-sdk.git",  features = ["global_init"] }
+sgx_types = { git = "https://github.com/apache/teaclave-sgx-sdk.git" }
+sgx_urts = { git = "https://github.com/apache/teaclave-sgx-sdk.git",  features = ["global_init"] }
 
-[patch.'https://github.com/baidu/rust-sgx-sdk.git']
+[patch.'https://github.com/apache/teaclave-sgx-sdk.git']
 sgx_types = { path = "../../../sgx_types" }
 sgx_urts = { path = "../../../sgx_urts" }
diff --git a/samplecode/unit-test/enclave/Cargo.toml b/samplecode/unit-test/enclave/Cargo.toml
index 8638c1f..96ef64b 100644
--- a/samplecode/unit-test/enclave/Cargo.toml
+++ b/samplecode/unit-test/enclave/Cargo.toml
@@ -11,22 +11,22 @@ crate-type = ["staticlib"]
 default = []
 
 [target.'cfg(not(target_env = "sgx"))'.dependencies]
-sgx_types = { git = "https://github.com/baidu/rust-sgx-sdk.git" }
-sgx_tstd = { git = "https://github.com/baidu/rust-sgx-sdk.git", features = ["untrusted_fs", "thread"] }
-sgx_tcrypto = { git = "https://github.com/baidu/rust-sgx-sdk.git" }
-sgx_tunittest = { git = "https://github.com/baidu/rust-sgx-sdk.git" }
-sgx_trts = { git = "https://github.com/baidu/rust-sgx-sdk.git" }
-sgx_rand = { git = "https://github.com/baidu/rust-sgx-sdk.git" }
-sgx_tseal = { git = "https://github.com/baidu/rust-sgx-sdk.git" }
-sgx_serialize = { git = "https://github.com/baidu/rust-sgx-sdk.git" }
-sgx_tse= { git = "https://github.com/baidu/rust-sgx-sdk.git" }
+sgx_types = { git = "https://github.com/apache/teaclave-sgx-sdk.git" }
+sgx_tstd = { git = "https://github.com/apache/teaclave-sgx-sdk.git", features = ["untrusted_fs", "thread"] }
+sgx_tcrypto = { git = "https://github.com/apache/teaclave-sgx-sdk.git" }
+sgx_tunittest = { git = "https://github.com/apache/teaclave-sgx-sdk.git" }
+sgx_trts = { git = "https://github.com/apache/teaclave-sgx-sdk.git" }
+sgx_rand = { git = "https://github.com/apache/teaclave-sgx-sdk.git" }
+sgx_tseal = { git = "https://github.com/apache/teaclave-sgx-sdk.git" }
+sgx_serialize = { git = "https://github.com/apache/teaclave-sgx-sdk.git" }
+sgx_tse= { git = "https://github.com/apache/teaclave-sgx-sdk.git" }
 
 [dependencies]
-sgx_serialize_derive = { git = "https://github.com/baidu/rust-sgx-sdk.git" }
+sgx_serialize_derive = { git = "https://github.com/apache/teaclave-sgx-sdk.git" }
 rand = { version = "0.5.5", default-features = false }
 memoffset = "0.5"
 
-[patch.'https://github.com/baidu/rust-sgx-sdk.git']
+[patch.'https://github.com/apache/teaclave-sgx-sdk.git']
 sgx_alloc = { path = "../../../sgx_alloc" }
 sgx_backtrace = { path = "../../../sgx_backtrace" }
 sgx_backtrace_sys = { path = "../../../sgx_backtrace_sys" }
diff --git a/samplecode/wasmi/app/Cargo.toml b/samplecode/wasmi/app/Cargo.toml
index 6163452..c4e465b 100644
--- a/samplecode/wasmi/app/Cargo.toml
+++ b/samplecode/wasmi/app/Cargo.toml
@@ -5,14 +5,14 @@ authors = ["The Teaclave Authors"]
 build = "build.rs"
 
 [dependencies]
-sgx_types = { git = "https://github.com/baidu/rust-sgx-sdk.git" }
-sgx_urts = { git = "https://github.com/baidu/rust-sgx-sdk.git" }
+sgx_types = { git = "https://github.com/apache/teaclave-sgx-sdk.git" }
+sgx_urts = { git = "https://github.com/apache/teaclave-sgx-sdk.git" }
 wabt = "0.6.0"
 serde = {version = "1.0"}
 serde_json = {version = "1.0"}
 serde_derive = {version = "1.0"}
 nan-preserving-float = "0.1.0"
 
-[patch.'https://github.com/baidu/rust-sgx-sdk.git']
+[patch.'https://github.com/apache/teaclave-sgx-sdk.git']
 sgx_types = { path = "../../../sgx_types" }
 sgx_urts = { path = "../../../sgx_urts" }
diff --git a/samplecode/wasmi/enclave/Cargo.toml b/samplecode/wasmi/enclave/Cargo.toml
index 0564e7f..8f0b702 100644
--- a/samplecode/wasmi/enclave/Cargo.toml
+++ b/samplecode/wasmi/enclave/Cargo.toml
@@ -18,9 +18,9 @@ sgxwasm = { path = "sgxwasm" }
 lazy_static = { version = "1.1.0", features = ["spin_no_std"] }
 
 [target.'cfg(not(target_env = "sgx"))'.dependencies]
-sgx_types = { git = "https://github.com/baidu/rust-sgx-sdk.git" }
-sgx_tstd = { git = "https://github.com/baidu/rust-sgx-sdk.git" }
-[patch.'https://github.com/baidu/rust-sgx-sdk.git']
+sgx_types = { git = "https://github.com/apache/teaclave-sgx-sdk.git" }
+sgx_tstd = { git = "https://github.com/apache/teaclave-sgx-sdk.git" }
+[patch.'https://github.com/apache/teaclave-sgx-sdk.git']
 sgx_alloc = { path = "../../../sgx_alloc" }
 sgx_build_helper = { path = "../../../sgx_build_helper" }
 sgx_cov = { path = "../../../sgx_cov" }
diff --git a/samplecode/wasmi/enclave/sgxwasm/Cargo.toml b/samplecode/wasmi/enclave/sgxwasm/Cargo.toml
index b4c8de8..fb6d50d 100644
--- a/samplecode/wasmi/enclave/sgxwasm/Cargo.toml
+++ b/samplecode/wasmi/enclave/sgxwasm/Cargo.toml
@@ -10,10 +10,10 @@ serde = { git = "https://github.com/mesalock-linux/serde-sgx" }
 serde_derive = { git = "https://github.com/mesalock-linux/serde-sgx" }
 
 [target.'cfg(not(target_env = "sgx"))'.dependencies]
-sgx_types = { git = "https://github.com/baidu/rust-sgx-sdk.git" }
-sgx_tstd = { git = "https://github.com/baidu/rust-sgx-sdk.git" }
+sgx_types = { git = "https://github.com/apache/teaclave-sgx-sdk.git" }
+sgx_tstd = { git = "https://github.com/apache/teaclave-sgx-sdk.git" }
 
-[patch.'https://github.com/baidu/rust-sgx-sdk.git']
+[patch.'https://github.com/apache/teaclave-sgx-sdk.git']
 sgx_alloc = { path = "../../../../sgx_alloc" }
 sgx_backtrace = { path = "../../../../sgx_backtrace" }
 sgx_backtrace_sys = { path = "../../../../sgx_backtrace_sys" }
diff --git a/samplecode/zlib-lazy-static-sample/app/Cargo.toml b/samplecode/zlib-lazy-static-sample/app/Cargo.toml
index 188ab4c..eff1586 100644
--- a/samplecode/zlib-lazy-static-sample/app/Cargo.toml
+++ b/samplecode/zlib-lazy-static-sample/app/Cargo.toml
@@ -5,9 +5,9 @@ authors = ["The Teaclave Authors"]
 build = "build.rs"
 
 [dependencies]
-sgx_types = { git = "https://github.com/baidu/rust-sgx-sdk.git" }
-sgx_urts = { git = "https://github.com/baidu/rust-sgx-sdk.git" }
+sgx_types = { git = "https://github.com/apache/teaclave-sgx-sdk.git" }
+sgx_urts = { git = "https://github.com/apache/teaclave-sgx-sdk.git" }
 
-[patch.'https://github.com/baidu/rust-sgx-sdk.git']
+[patch.'https://github.com/apache/teaclave-sgx-sdk.git']
 sgx_types = { path = "../../../sgx_types" }
 sgx_urts = { path = "../../../sgx_urts" }
diff --git a/samplecode/zlib-lazy-static-sample/enclave/Cargo.toml b/samplecode/zlib-lazy-static-sample/enclave/Cargo.toml
index d9bdba9..f5a4cdb 100644
--- a/samplecode/zlib-lazy-static-sample/enclave/Cargo.toml
+++ b/samplecode/zlib-lazy-static-sample/enclave/Cargo.toml
@@ -19,7 +19,7 @@ inflate = { git = "https://github.com/mesalock-linux/inflate-sgx" }
 libflate = { git = "https://github.com/mesalock-linux/libflate-sgx" }
 lazy_static = { version = "1.1.0", features = ["spin_no_std"] }
 
-[patch.'https://github.com/baidu/rust-sgx-sdk.git']
+[patch.'https://github.com/apache/teaclave-sgx-sdk.git']
 sgx_alloc = { path = "../../../sgx_alloc" }
 sgx_backtrace = { path = "../../../sgx_backtrace" }
 sgx_backtrace_sys = { path = "../../../sgx_backtrace_sys" }
diff --git a/sgx_alloc/Cargo.toml b/sgx_alloc/Cargo.toml
index ca5fe4e..8070eee 100644
--- a/sgx_alloc/Cargo.toml
+++ b/sgx_alloc/Cargo.toml
@@ -2,7 +2,7 @@
 name = "sgx_alloc"
 version = "1.1.0"
 authors = ["The Teaclave Authors"]
-repository = "https://github.com/baidu/rust-sgx-sdk"
+repository = "https://github.com/apache/teaclave-sgx-sdk"
 license-file = "LICENSE"
 documentation = "https://dingelish.github.io/"
 description = "Rust SGX SDK provides the ability to write Intel SGX applications in Rust Programming Language."
diff --git a/sgx_alloc/Readme.md b/sgx_alloc/Readme.md
index 3d5259f..ba97d9b 100644
--- a/sgx_alloc/Readme.md
+++ b/sgx_alloc/Readme.md
@@ -1,3 +1,3 @@
 # Note
 
-Please visit our [homepage](https://github.com/baidu/rust-sgx-sdk) for usage. Thanks!
+Please visit our [homepage](https://github.com/apache/teaclave-sgx-sdk) for usage. Thanks!
diff --git a/sgx_backtrace/Cargo.toml b/sgx_backtrace/Cargo.toml
index 484d0c3..8b823b1 100644
--- a/sgx_backtrace/Cargo.toml
+++ b/sgx_backtrace/Cargo.toml
@@ -3,7 +3,7 @@
 name = "sgx_backtrace"
 version = "1.1.0"
 authors = ["The Teaclave Authors"]
-repository = "https://github.com/baidu/rust-sgx-sdk"
+repository = "https://github.com/apache/teaclave-sgx-sdk"
 license-file = "LICENSE"
 documentation = "https://dingelish.github.io/"
 description = "Rust SGX SDK provides the ability to write Intel SGX applications in Rust Programming Language."
diff --git a/sgx_backtrace_sys/Cargo.toml b/sgx_backtrace_sys/Cargo.toml
index f4e11ce..392d15c 100644
--- a/sgx_backtrace_sys/Cargo.toml
+++ b/sgx_backtrace_sys/Cargo.toml
@@ -3,7 +3,7 @@ name = "sgx_backtrace_sys"
 version = "1.1.0"
 authors = ["The Teaclave Authors"]
 build = "build.rs"
-repository = "https://github.com/baidu/rust-sgx-sdk"
+repository = "https://github.com/apache/teaclave-sgx-sdk"
 license-file = "LICENSE"
 documentation = "https://dingelish.github.io/"
 description = "Rust SGX SDK provides the ability to write Intel SGX applications in Rust Programming Language."
diff --git a/sgx_backtrace_sys/Readme.md b/sgx_backtrace_sys/Readme.md
index 3d5259f..ba97d9b 100644
--- a/sgx_backtrace_sys/Readme.md
+++ b/sgx_backtrace_sys/Readme.md
@@ -1,3 +1,3 @@
 # Note
 
-Please visit our [homepage](https://github.com/baidu/rust-sgx-sdk) for usage. Thanks!
+Please visit our [homepage](https://github.com/apache/teaclave-sgx-sdk) for usage. Thanks!
diff --git a/sgx_build_helper/Cargo.toml b/sgx_build_helper/Cargo.toml
index a9b239c..9834926 100644
--- a/sgx_build_helper/Cargo.toml
+++ b/sgx_build_helper/Cargo.toml
@@ -2,7 +2,7 @@
 name = "sgx_build_helper"
 version = "0.1.0"
 authors = ["The Teaclave Authors"]
-repository = "https://github.com/baidu/rust-sgx-sdk"
+repository = "https://github.com/apache/teaclave-sgx-sdk"
 license-file = "LICENSE"
 documentation = "https://dingelish.github.io/"
 description = "Rust SGX SDK provides the ability to write Intel SGX applications in Rust Programming Language."
diff --git a/sgx_build_helper/Readme.md b/sgx_build_helper/Readme.md
index 3d5259f..ba97d9b 100644
--- a/sgx_build_helper/Readme.md
+++ b/sgx_build_helper/Readme.md
@@ -1,3 +1,3 @@
 # Note
 
-Please visit our [homepage](https://github.com/baidu/rust-sgx-sdk) for usage. Thanks!
+Please visit our [homepage](https://github.com/apache/teaclave-sgx-sdk) for usage. Thanks!
diff --git a/sgx_cov/Cargo.toml b/sgx_cov/Cargo.toml
index 7a47496..ec42888 100644
--- a/sgx_cov/Cargo.toml
+++ b/sgx_cov/Cargo.toml
@@ -2,7 +2,7 @@
 name = "sgx_cov"
 version = "1.1.0"
 authors = ["The Teaclave Authors"]
-repository = "https://github.com/baidu/rust-sgx-sdk"
+repository = "https://github.com/apache/teaclave-sgx-sdk"
 license-file = "LICENSE"
 documentation = "https://dingelish.github.io/"
 description = "Enabling gcov for SGX crates."
diff --git a/sgx_cov/Readme.md b/sgx_cov/Readme.md
index 3d5259f..ba97d9b 100644
--- a/sgx_cov/Readme.md
+++ b/sgx_cov/Readme.md
@@ -1,3 +1,3 @@
 # Note
 
-Please visit our [homepage](https://github.com/baidu/rust-sgx-sdk) for usage. Thanks!
+Please visit our [homepage](https://github.com/apache/teaclave-sgx-sdk) for usage. Thanks!
diff --git a/sgx_crypto_helper/Cargo.toml b/sgx_crypto_helper/Cargo.toml
index 691a497..bd5c976 100644
--- a/sgx_crypto_helper/Cargo.toml
+++ b/sgx_crypto_helper/Cargo.toml
@@ -2,7 +2,7 @@
 name = "sgx_crypto_helper"
 version = "1.1.0"
 authors = ["The Teaclave Authors"]
-repository = "https://github.com/baidu/rust-sgx-sdk"
+repository = "https://github.com/apache/teaclave-sgx-sdk"
 license-file = "LICENSE"
 documentation = "https://dingelish.github.io/"
 description = "Rust SGX SDK provides the ability to write Intel SGX applications in Rust Programming Language."
diff --git a/sgx_crypto_helper/Readme.md b/sgx_crypto_helper/Readme.md
index 3d5259f..ba97d9b 100644
--- a/sgx_crypto_helper/Readme.md
+++ b/sgx_crypto_helper/Readme.md
@@ -1,3 +1,3 @@
 # Note
 
-Please visit our [homepage](https://github.com/baidu/rust-sgx-sdk) for usage. Thanks!
+Please visit our [homepage](https://github.com/apache/teaclave-sgx-sdk) for usage. Thanks!
diff --git a/sgx_demangle/Cargo.toml b/sgx_demangle/Cargo.toml
index 9701a32..81714e6 100644
--- a/sgx_demangle/Cargo.toml
+++ b/sgx_demangle/Cargo.toml
@@ -3,7 +3,7 @@
 name = "sgx_demangle"
 version = "1.1.0"
 authors = ["The Teaclave Authors"]
-repository = "https://github.com/baidu/rust-sgx-sdk"
+repository = "https://github.com/apache/teaclave-sgx-sdk"
 license-file = "LICENSE"
 documentation = "https://dingelish.github.io/"
 description = "Rust SGX SDK provides the ability to write Intel SGX applications in Rust Programming Language."
diff --git a/sgx_demangle/Readme.md b/sgx_demangle/Readme.md
index 3d5259f..ba97d9b 100644
--- a/sgx_demangle/Readme.md
+++ b/sgx_demangle/Readme.md
@@ -1,3 +1,3 @@
 # Note
 
-Please visit our [homepage](https://github.com/baidu/rust-sgx-sdk) for usage. Thanks!
+Please visit our [homepage](https://github.com/apache/teaclave-sgx-sdk) for usage. Thanks!
diff --git a/sgx_libc/Cargo.toml b/sgx_libc/Cargo.toml
index 8ba8c49..4352e1d 100644
--- a/sgx_libc/Cargo.toml
+++ b/sgx_libc/Cargo.toml
@@ -2,7 +2,7 @@
 name = "sgx_libc"
 version = "1.1.0"
 authors = ["The Teaclave Authors"]
-repository = "https://github.com/baidu/rust-sgx-sdk"
+repository = "https://github.com/apache/teaclave-sgx-sdk"
 license-file = "LICENSE"
 documentation = "https://dingelish.github.io/"
 description = "Rust SGX SDK provides the ability to write Intel SGX applications in Rust Programming Language."
diff --git a/sgx_no_tstd/Cargo.toml b/sgx_no_tstd/Cargo.toml
index 0aff9bc..ab2badb 100644
--- a/sgx_no_tstd/Cargo.toml
+++ b/sgx_no_tstd/Cargo.toml
@@ -3,7 +3,7 @@ name = "sgx_no_tstd"
 version = "1.1.0"
 authors = ["The Teaclave Authors"]
 build = "build.rs"
-repository = "https://github.com/baidu/rust-sgx-sdk"
+repository = "https://github.com/apache/teaclave-sgx-sdk"
 license-file = "LICENSE"
 documentation = "https://dingelish.github.io/"
 description = "Rust SGX SDK provides the ability to write Intel SGX applications in Rust Programming Language."
diff --git a/sgx_no_tstd/Readme.md b/sgx_no_tstd/Readme.md
index 3d5259f..ba97d9b 100644
--- a/sgx_no_tstd/Readme.md
+++ b/sgx_no_tstd/Readme.md
@@ -1,3 +1,3 @@
 # Note
 
-Please visit our [homepage](https://github.com/baidu/rust-sgx-sdk) for usage. Thanks!
+Please visit our [homepage](https://github.com/apache/teaclave-sgx-sdk) for usage. Thanks!
diff --git a/sgx_panic_abort/Cargo.toml b/sgx_panic_abort/Cargo.toml
index 575bfbf..3d42675 100644
--- a/sgx_panic_abort/Cargo.toml
+++ b/sgx_panic_abort/Cargo.toml
@@ -2,7 +2,7 @@
 name = "panic_abort"
 version = "0.0.0"
 authors = ["The Teaclave Authors"]
-repository = "https://github.com/baidu/rust-sgx-sdk"
+repository = "https://github.com/apache/teaclave-sgx-sdk"
 license-file = "LICENSE"
 documentation = "https://dingelish.github.io/"
 description = "Rust SGX SDK provides the ability to write Intel SGX applications in Rust Programming Language."
diff --git a/sgx_panic_unwind/Cargo.toml b/sgx_panic_unwind/Cargo.toml
index 21f0993..a37915c 100644
--- a/sgx_panic_unwind/Cargo.toml
+++ b/sgx_panic_unwind/Cargo.toml
@@ -2,7 +2,7 @@
 name = "panic_unwind"
 version = "0.0.0"
 authors = ["The Teaclave Authors"]
-repository = "https://github.com/baidu/rust-sgx-sdk"
+repository = "https://github.com/apache/teaclave-sgx-sdk"
 license-file = "LICENSE"
 documentation = "https://dingelish.github.io/"
 description = "Rust SGX SDK provides the ability to write Intel SGX applications in Rust Programming Language."
diff --git a/sgx_rand/Cargo.toml b/sgx_rand/Cargo.toml
index d69cac1..e3fc9ec 100644
--- a/sgx_rand/Cargo.toml
+++ b/sgx_rand/Cargo.toml
@@ -2,7 +2,7 @@
 name = "sgx_rand"
 version = "1.1.0"
 authors = ["The Teaclave Authors"]
-repository = "https://github.com/baidu/rust-sgx-sdk"
+repository = "https://github.com/apache/teaclave-sgx-sdk"
 license-file = "LICENSE"
 documentation = "https://dingelish.github.io/"
 description = "Rust SGX SDK provides the ability to write Intel SGX applications in Rust Programming Language."
diff --git a/sgx_rand/Readme.md b/sgx_rand/Readme.md
index 3d5259f..ba97d9b 100644
--- a/sgx_rand/Readme.md
+++ b/sgx_rand/Readme.md
@@ -1,3 +1,3 @@
 # Note
 
-Please visit our [homepage](https://github.com/baidu/rust-sgx-sdk) for usage. Thanks!
+Please visit our [homepage](https://github.com/apache/teaclave-sgx-sdk) for usage. Thanks!
diff --git a/sgx_rand_derive/Cargo.toml b/sgx_rand_derive/Cargo.toml
index 5a27ed2..568a7a4 100644
--- a/sgx_rand_derive/Cargo.toml
+++ b/sgx_rand_derive/Cargo.toml
@@ -2,7 +2,7 @@
 name = "sgx_rand_derive"
 version = "1.1.0"
 authors = ["The Teaclave Authors"]
-repository = "https://github.com/baidu/rust-sgx-sdk"
+repository = "https://github.com/apache/teaclave-sgx-sdk"
 license-file = "LICENSE"
 documentation = "https://dingelish.github.io/"
 description = "Rust SGX SDK provides the ability to write Intel SGX applications in Rust Programming Language."
diff --git a/sgx_rand_derive/Readme.md b/sgx_rand_derive/Readme.md
index 3d5259f..ba97d9b 100644
--- a/sgx_rand_derive/Readme.md
+++ b/sgx_rand_derive/Readme.md
@@ -1,3 +1,3 @@
 # Note
 
-Please visit our [homepage](https://github.com/baidu/rust-sgx-sdk) for usage. Thanks!
+Please visit our [homepage](https://github.com/apache/teaclave-sgx-sdk) for usage. Thanks!
diff --git a/sgx_serialize/Cargo.toml b/sgx_serialize/Cargo.toml
index 3ab1b5c..97f7e4b 100644
--- a/sgx_serialize/Cargo.toml
+++ b/sgx_serialize/Cargo.toml
@@ -2,7 +2,7 @@
 name = "sgx_serialize"
 version = "1.1.0"
 authors = ["The Teaclave Authors"]
-repository = "https://github.com/baidu/rust-sgx-sdk"
+repository = "https://github.com/apache/teaclave-sgx-sdk"
 license-file = "LICENSE"
 documentation = "https://dingelish.github.io/"
 description = "Rust SGX SDK provides the ability to write Intel SGX applications in Rust Programming Language."
diff --git a/sgx_serialize/Readme.md b/sgx_serialize/Readme.md
index 3d5259f..ba97d9b 100644
--- a/sgx_serialize/Readme.md
+++ b/sgx_serialize/Readme.md
@@ -1,3 +1,3 @@
 # Note
 
-Please visit our [homepage](https://github.com/baidu/rust-sgx-sdk) for usage. Thanks!
+Please visit our [homepage](https://github.com/apache/teaclave-sgx-sdk) for usage. Thanks!
diff --git a/sgx_serialize_derive/Cargo.toml b/sgx_serialize_derive/Cargo.toml
index a5b5007..ba84c4c 100644
--- a/sgx_serialize_derive/Cargo.toml
+++ b/sgx_serialize_derive/Cargo.toml
@@ -2,7 +2,7 @@
 name = "sgx_serialize_derive"
 version = "1.1.0"
 authors = ["The Teaclave Authors"]
-repository = "https://github.com/baidu/rust-sgx-sdk"
+repository = "https://github.com/apache/teaclave-sgx-sdk"
 license-file = "LICENSE"
 documentation = "https://dingelish.github.io/"
 description = "Rust SGX SDK provides the ability to write Intel SGX applications in Rust Programming Language."
diff --git a/sgx_serialize_derive/Readme.md b/sgx_serialize_derive/Readme.md
index 3d5259f..ba97d9b 100644
--- a/sgx_serialize_derive/Readme.md
+++ b/sgx_serialize_derive/Readme.md
@@ -1,3 +1,3 @@
 # Note
 
-Please visit our [homepage](https://github.com/baidu/rust-sgx-sdk) for usage. Thanks!
+Please visit our [homepage](https://github.com/apache/teaclave-sgx-sdk) for usage. Thanks!
diff --git a/sgx_serialize_derive_internals/Cargo.toml b/sgx_serialize_derive_internals/Cargo.toml
index f127c25..c42353b 100644
--- a/sgx_serialize_derive_internals/Cargo.toml
+++ b/sgx_serialize_derive_internals/Cargo.toml
@@ -2,7 +2,7 @@
 name = "sgx_serialize_derive_internals"
 version = "1.1.0"
 authors = ["The Teaclave Authors"]
-repository = "https://github.com/baidu/rust-sgx-sdk"
+repository = "https://github.com/apache/teaclave-sgx-sdk"
 license-file = "LICENSE"
 documentation = "https://dingelish.github.io/"
 description = "Rust SGX SDK provides the ability to write Intel SGX applications in Rust Programming Language."
diff --git a/sgx_serialize_derive_internals/Readme.md b/sgx_serialize_derive_internals/Readme.md
index 3d5259f..ba97d9b 100644
--- a/sgx_serialize_derive_internals/Readme.md
+++ b/sgx_serialize_derive_internals/Readme.md
@@ -1,3 +1,3 @@
 # Note
 
-Please visit our [homepage](https://github.com/baidu/rust-sgx-sdk) for usage. Thanks!
+Please visit our [homepage](https://github.com/apache/teaclave-sgx-sdk) for usage. Thanks!
diff --git a/sgx_tcrypto/Cargo.toml b/sgx_tcrypto/Cargo.toml
index fc56a46..6d66f3c 100644
--- a/sgx_tcrypto/Cargo.toml
+++ b/sgx_tcrypto/Cargo.toml
@@ -2,7 +2,7 @@
 name = "sgx_tcrypto"
 version = "1.1.0"
 authors = ["The Teaclave Authors"]
-repository = "https://github.com/baidu/rust-sgx-sdk"
+repository = "https://github.com/apache/teaclave-sgx-sdk"
 license-file = "LICENSE"
 documentation = "https://dingelish.github.io/"
 description = "Rust SGX SDK provides the ability to write Intel SGX applications in Rust Programming Language."
diff --git a/sgx_tcrypto/Readme.md b/sgx_tcrypto/Readme.md
index 3d5259f..ba97d9b 100644
--- a/sgx_tcrypto/Readme.md
+++ b/sgx_tcrypto/Readme.md
@@ -1,3 +1,3 @@
 # Note
 
-Please visit our [homepage](https://github.com/baidu/rust-sgx-sdk) for usage. Thanks!
+Please visit our [homepage](https://github.com/apache/teaclave-sgx-sdk) for usage. Thanks!
diff --git a/sgx_tcrypto_helper/Cargo.toml b/sgx_tcrypto_helper/Cargo.toml
index a365509..786c959 100644
--- a/sgx_tcrypto_helper/Cargo.toml
+++ b/sgx_tcrypto_helper/Cargo.toml
@@ -2,7 +2,7 @@
 name = "sgx_tcrypto_helper"
 version = "1.1.0"
 authors = ["The Teaclave Authors"]
-repository = "https://github.com/baidu/rust-sgx-sdk"
+repository = "https://github.com/apache/teaclave-sgx-sdk"
 license-file = "LICENSE"
 documentation = "https://dingelish.github.io/"
 description = "Rust SGX SDK provides the ability to write Intel SGX applications in Rust Programming Language."
@@ -18,9 +18,9 @@ default = ["mesalock_sgx"]
 mesalock_sgx = []
 
 [target.'cfg(not(target_env = "sgx"))'.dependencies]
-sgx_tcrypto = { rev = "v1.1.0", git = "https://github.com/baidu/rust-sgx-sdk.git" }
-sgx_tstd    = { rev = "v1.1.0", git = "https://github.com/baidu/rust-sgx-sdk.git" }
-sgx_types   = { rev = "v1.1.0", git = "https://github.com/baidu/rust-sgx-sdk.git" }
+sgx_tcrypto = { rev = "v1.1.0", git = "https://github.com/apache/teaclave-sgx-sdk.git" }
+sgx_tstd    = { rev = "v1.1.0", git = "https://github.com/apache/teaclave-sgx-sdk.git" }
+sgx_types   = { rev = "v1.1.0", git = "https://github.com/apache/teaclave-sgx-sdk.git" }
 
 [dependencies]
 serde = { git = "https://github.com/mesalock-linux/serde-sgx" }
@@ -28,7 +28,7 @@ serde_derive = { git = "https://github.com/mesalock-linux/serde-sgx" }
 itertools = { version = "*", default-features = false }
 serde-big-array = { git = "https://github.com/mesalock-linux/serde-big-array-sgx" }
 
-[patch.'https://github.com/baidu/rust-sgx-sdk.git']
+[patch.'https://github.com/apache/teaclave-sgx-sdk.git']
 sgx_alloc = { path = "../sgx_alloc" }
 sgx_backtrace = { path = "../sgx_backtrace" }
 sgx_backtrace_sys = { path = "../sgx_backtrace_sys" }
diff --git a/sgx_tcrypto_helper/Readme.md b/sgx_tcrypto_helper/Readme.md
index 6cd221f..26e038e 100644
--- a/sgx_tcrypto_helper/Readme.md
+++ b/sgx_tcrypto_helper/Readme.md
@@ -1,13 +1,13 @@
 # Note
 
-Please visit our [homepage](https://github.com/baidu/rust-sgx-sdk) for usage. Thanks!
+Please visit our [homepage](https://github.com/apache/teaclave-sgx-sdk) for usage. Thanks!
 
 # sgx_tcrypto_helper
 
 This crate intended to be the corresponding crate of sgx_crypto_helper works in SGX enclave. It shares the source codes with sgx_crypto_helper but with different dependencies. To use this crate, you can add the following lines to your Cargo.toml:
 
 ```
-sgx_crypto_helper = { package="sgx_tcrypto_helper", git = "https://github.com/baidu/rust-sgx-sdk" }
+sgx_crypto_helper = { package="sgx_tcrypto_helper", git = "https://github.com/apache/teaclave-sgx-sdk" }
 ```
 
 And then
diff --git a/sgx_tdh/Cargo.toml b/sgx_tdh/Cargo.toml
index 6b526a9..4069a61 100644
--- a/sgx_tdh/Cargo.toml
+++ b/sgx_tdh/Cargo.toml
@@ -2,7 +2,7 @@
 name = "sgx_tdh"
 version = "1.1.0"
 authors = ["The Teaclave Authors"]
-repository = "https://github.com/baidu/rust-sgx-sdk"
+repository = "https://github.com/apache/teaclave-sgx-sdk"
 license-file = "LICENSE"
 documentation = "https://dingelish.github.io/"
 description = "Rust SGX SDK provides the ability to write Intel SGX applications in Rust Programming Language."
diff --git a/sgx_tdh/Readme.md b/sgx_tdh/Readme.md
index 3d5259f..ba97d9b 100644
--- a/sgx_tdh/Readme.md
+++ b/sgx_tdh/Readme.md
@@ -1,3 +1,3 @@
 # Note
 
-Please visit our [homepage](https://github.com/baidu/rust-sgx-sdk) for usage. Thanks!
+Please visit our [homepage](https://github.com/apache/teaclave-sgx-sdk) for usage. Thanks!
diff --git a/sgx_tkey_exchange/Cargo.toml b/sgx_tkey_exchange/Cargo.toml
index 2b30b68..1d34f92 100644
--- a/sgx_tkey_exchange/Cargo.toml
+++ b/sgx_tkey_exchange/Cargo.toml
@@ -2,7 +2,7 @@
 name = "sgx_tkey_exchange"
 version = "1.1.0"
 authors = ["The Teaclave Authors"]
-repository = "https://github.com/baidu/rust-sgx-sdk"
+repository = "https://github.com/apache/teaclave-sgx-sdk"
 license-file = "LICENSE"
 documentation = "https://dingelish.github.io/"
 description = "Rust SGX SDK provides the ability to write Intel SGX applications in Rust Programming Language."
diff --git a/sgx_tkey_exchange/Readme.md b/sgx_tkey_exchange/Readme.md
index 3d5259f..ba97d9b 100644
--- a/sgx_tkey_exchange/Readme.md
+++ b/sgx_tkey_exchange/Readme.md
@@ -1,3 +1,3 @@
 # Note
 
-Please visit our [homepage](https://github.com/baidu/rust-sgx-sdk) for usage. Thanks!
+Please visit our [homepage](https://github.com/apache/teaclave-sgx-sdk) for usage. Thanks!
diff --git a/sgx_tprotected_fs/Cargo.toml b/sgx_tprotected_fs/Cargo.toml
index 12f59d7..2c5bbb8 100644
--- a/sgx_tprotected_fs/Cargo.toml
+++ b/sgx_tprotected_fs/Cargo.toml
@@ -2,7 +2,7 @@
 name = "sgx_tprotected_fs"
 version = "1.1.0"
 authors = ["The Teaclave Authors"]
-repository = "https://github.com/baidu/rust-sgx-sdk"
+repository = "https://github.com/apache/teaclave-sgx-sdk"
 license-file = "LICENSE"
 documentation = "https://dingelish.github.io/"
 description = "Rust SGX SDK provides the ability to write Intel SGX applications in Rust Programming Language."
diff --git a/sgx_tprotected_fs/Readme.md b/sgx_tprotected_fs/Readme.md
index 3d5259f..ba97d9b 100644
--- a/sgx_tprotected_fs/Readme.md
+++ b/sgx_tprotected_fs/Readme.md
@@ -1,3 +1,3 @@
 # Note
 
-Please visit our [homepage](https://github.com/baidu/rust-sgx-sdk) for usage. Thanks!
+Please visit our [homepage](https://github.com/apache/teaclave-sgx-sdk) for usage. Thanks!
diff --git a/sgx_trts/Cargo.toml b/sgx_trts/Cargo.toml
index 75fef2c..45a73de 100644
--- a/sgx_trts/Cargo.toml
+++ b/sgx_trts/Cargo.toml
@@ -2,7 +2,7 @@
 name = "sgx_trts"
 version = "1.1.0"
 authors = ["The Teaclave Authors"]
-repository = "https://github.com/baidu/rust-sgx-sdk"
+repository = "https://github.com/apache/teaclave-sgx-sdk"
 license-file = "LICENSE"
 documentation = "https://dingelish.github.io/"
 description = "Rust SGX SDK provides the ability to write Intel SGX applications in Rust Programming Language."
diff --git a/sgx_trts/Readme.md b/sgx_trts/Readme.md
index 3d5259f..ba97d9b 100644
--- a/sgx_trts/Readme.md
+++ b/sgx_trts/Readme.md
@@ -1,3 +1,3 @@
 # Note
 
-Please visit our [homepage](https://github.com/baidu/rust-sgx-sdk) for usage. Thanks!
+Please visit our [homepage](https://github.com/apache/teaclave-sgx-sdk) for usage. Thanks!
diff --git a/sgx_tse/Cargo.toml b/sgx_tse/Cargo.toml
index 7c10f6b..d2e427c 100644
--- a/sgx_tse/Cargo.toml
+++ b/sgx_tse/Cargo.toml
@@ -2,7 +2,7 @@
 name = "sgx_tse"
 version = "1.1.0"
 authors = ["The Teaclave Authors"]
-repository = "https://github.com/baidu/rust-sgx-sdk"
+repository = "https://github.com/apache/teaclave-sgx-sdk"
 license-file = "LICENSE"
 documentation = "https://dingelish.github.io/"
 description = "Rust SGX SDK provides the ability to write Intel SGX applications in Rust Programming Language."
diff --git a/sgx_tse/Readme.md b/sgx_tse/Readme.md
index 3d5259f..ba97d9b 100644
--- a/sgx_tse/Readme.md
+++ b/sgx_tse/Readme.md
@@ -1,3 +1,3 @@
 # Note
 
-Please visit our [homepage](https://github.com/baidu/rust-sgx-sdk) for usage. Thanks!
+Please visit our [homepage](https://github.com/apache/teaclave-sgx-sdk) for usage. Thanks!
diff --git a/sgx_tseal/Cargo.toml b/sgx_tseal/Cargo.toml
index 12a5d8f..ba71a0d 100644
--- a/sgx_tseal/Cargo.toml
+++ b/sgx_tseal/Cargo.toml
@@ -2,7 +2,7 @@
 name = "sgx_tseal"
 version = "1.1.0"
 authors = ["The Teaclave Authors"]
-repository = "https://github.com/baidu/rust-sgx-sdk"
+repository = "https://github.com/apache/teaclave-sgx-sdk"
 license-file = "LICENSE"
 documentation = "https://dingelish.github.io/"
 description = "Rust SGX SDK provides the ability to write Intel SGX applications in Rust Programming Language."
diff --git a/sgx_tseal/Readme.md b/sgx_tseal/Readme.md
index 3d5259f..ba97d9b 100644
--- a/sgx_tseal/Readme.md
+++ b/sgx_tseal/Readme.md
@@ -1,3 +1,3 @@
 # Note
 
-Please visit our [homepage](https://github.com/baidu/rust-sgx-sdk) for usage. Thanks!
+Please visit our [homepage](https://github.com/apache/teaclave-sgx-sdk) for usage. Thanks!
diff --git a/sgx_tservice/Cargo.toml b/sgx_tservice/Cargo.toml
index 1eae8f1..fa0f4b0 100644
--- a/sgx_tservice/Cargo.toml
+++ b/sgx_tservice/Cargo.toml
@@ -2,7 +2,7 @@
 name = "sgx_tservice"
 version = "1.1.0"
 authors = ["The Teaclave Authors"]
-repository = "https://github.com/baidu/rust-sgx-sdk"
+repository = "https://github.com/apache/teaclave-sgx-sdk"
 license-file = "LICENSE"
 documentation = "https://dingelish.github.io/"
 description = "Rust SGX SDK provides the ability to write Intel SGX applications in Rust Programming Language."
diff --git a/sgx_tservice/Readme.md b/sgx_tservice/Readme.md
index 3d5259f..ba97d9b 100644
--- a/sgx_tservice/Readme.md
+++ b/sgx_tservice/Readme.md
@@ -1,3 +1,3 @@
 # Note
 
-Please visit our [homepage](https://github.com/baidu/rust-sgx-sdk) for usage. Thanks!
+Please visit our [homepage](https://github.com/apache/teaclave-sgx-sdk) for usage. Thanks!
diff --git a/sgx_tstd/Cargo.toml b/sgx_tstd/Cargo.toml
index a260ac7..233e3d7 100644
--- a/sgx_tstd/Cargo.toml
+++ b/sgx_tstd/Cargo.toml
@@ -3,7 +3,7 @@ name = "sgx_tstd"
 version = "1.1.0"
 authors = ["The Teaclave Authors"]
 build = "build.rs"
-repository = "https://github.com/baidu/rust-sgx-sdk"
+repository = "https://github.com/apache/teaclave-sgx-sdk"
 license-file = "LICENSE"
 documentation = "https://dingelish.github.io/"
 description = "Rust SGX SDK provides the ability to write Intel SGX applications in Rust Programming Language."
diff --git a/sgx_tstd/Readme.md b/sgx_tstd/Readme.md
index 3d5259f..ba97d9b 100644
--- a/sgx_tstd/Readme.md
+++ b/sgx_tstd/Readme.md
@@ -1,3 +1,3 @@
 # Note
 
-Please visit our [homepage](https://github.com/baidu/rust-sgx-sdk) for usage. Thanks!
+Please visit our [homepage](https://github.com/apache/teaclave-sgx-sdk) for usage. Thanks!
diff --git a/sgx_tunittest/Cargo.toml b/sgx_tunittest/Cargo.toml
index 1798ceb..61aa568 100644
--- a/sgx_tunittest/Cargo.toml
+++ b/sgx_tunittest/Cargo.toml
@@ -2,7 +2,7 @@
 name = "sgx_tunittest"
 version = "1.1.0"
 authors = ["The Teaclave Authors"]
-repository = "https://github.com/baidu/rust-sgx-sdk"
+repository = "https://github.com/apache/teaclave-sgx-sdk"
 license-file = "LICENSE"
 documentation = "https://dingelish.github.io/"
 description = "Rust SGX SDK provides the ability to write Intel SGX applications in Rust Programming Language."
diff --git a/sgx_tunittest/Readme.md b/sgx_tunittest/Readme.md
index 3d5259f..ba97d9b 100644
--- a/sgx_tunittest/Readme.md
+++ b/sgx_tunittest/Readme.md
@@ -1,3 +1,3 @@
 # Note
 
-Please visit our [homepage](https://github.com/baidu/rust-sgx-sdk) for usage. Thanks!
+Please visit our [homepage](https://github.com/apache/teaclave-sgx-sdk) for usage. Thanks!
diff --git a/sgx_types/Cargo.toml b/sgx_types/Cargo.toml
index 6ea5694..defdd84 100644
--- a/sgx_types/Cargo.toml
+++ b/sgx_types/Cargo.toml
@@ -2,7 +2,7 @@
 authors = ["The Teaclave Authors"]
 name = "sgx_types"
 version = "1.1.0"
-repository = "https://github.com/baidu/rust-sgx-sdk"
+repository = "https://github.com/apache/teaclave-sgx-sdk"
 license-file = "LICENSE"
 documentation = "https://dingelish.github.io/"
 description = "Rust SGX SDK provides the ability to write Intel SGX applications in Rust Programming Language."
diff --git a/sgx_types/Readme.md b/sgx_types/Readme.md
index 3d5259f..ba97d9b 100644
--- a/sgx_types/Readme.md
+++ b/sgx_types/Readme.md
@@ -1,3 +1,3 @@
 # Note
 
-Please visit our [homepage](https://github.com/baidu/rust-sgx-sdk) for usage. Thanks!
+Please visit our [homepage](https://github.com/apache/teaclave-sgx-sdk) for usage. Thanks!
diff --git a/sgx_ucrypto/Cargo.toml b/sgx_ucrypto/Cargo.toml
index 093a470..3d6ad8b 100644
--- a/sgx_ucrypto/Cargo.toml
+++ b/sgx_ucrypto/Cargo.toml
@@ -2,7 +2,7 @@
 name = "sgx_ucrypto"
 version = "1.1.0"
 authors = ["The Teaclave Authors"]
-repository = "https://github.com/baidu/rust-sgx-sdk"
+repository = "https://github.com/apache/teaclave-sgx-sdk"
 license-file = "LICENSE"
 documentation = "https://dingelish.github.io/"
 description = "Rust SGX SDK provides the ability to write Intel SGX applications in Rust Programming Language."
diff --git a/sgx_ucrypto/Readme.md b/sgx_ucrypto/Readme.md
index 3d5259f..ba97d9b 100644
--- a/sgx_ucrypto/Readme.md
+++ b/sgx_ucrypto/Readme.md
@@ -1,3 +1,3 @@
 # Note
 
-Please visit our [homepage](https://github.com/baidu/rust-sgx-sdk) for usage. Thanks!
+Please visit our [homepage](https://github.com/apache/teaclave-sgx-sdk) for usage. Thanks!
diff --git a/sgx_unwind/Cargo.toml b/sgx_unwind/Cargo.toml
index 1ccc7e6..d813e2a 100644
--- a/sgx_unwind/Cargo.toml
+++ b/sgx_unwind/Cargo.toml
@@ -3,7 +3,7 @@ name = "sgx_unwind"
 version = "0.1.0"
 authors = ["The Teaclave Authors"]
 build = "build.rs"
-repository = "https://github.com/baidu/rust-sgx-sdk"
+repository = "https://github.com/apache/teaclave-sgx-sdk"
 license-file = "LICENSE"
 documentation = "https://dingelish.github.io/"
 description = "Rust SGX SDK provides the ability to write Intel SGX applications in Rust Programming Language."
diff --git a/sgx_unwind/Readme.md b/sgx_unwind/Readme.md
index 3d5259f..ba97d9b 100644
--- a/sgx_unwind/Readme.md
+++ b/sgx_unwind/Readme.md
@@ -1,3 +1,3 @@
 # Note
 
-Please visit our [homepage](https://github.com/baidu/rust-sgx-sdk) for usage. Thanks!
+Please visit our [homepage](https://github.com/apache/teaclave-sgx-sdk) for usage. Thanks!
diff --git a/sgx_urts/Cargo.toml b/sgx_urts/Cargo.toml
index 7dccbe3..090c556 100644
--- a/sgx_urts/Cargo.toml
+++ b/sgx_urts/Cargo.toml
@@ -2,7 +2,7 @@
 name = "sgx_urts"
 version = "1.1.0"
 authors = ["The Teaclave Authors"]
-repository = "https://github.com/baidu/rust-sgx-sdk"
+repository = "https://github.com/apache/teaclave-sgx-sdk"
 license-file = "LICENSE"
 documentation = "https://dingelish.github.io/"
 description = "Rust SGX SDK provides the ability to write Intel SGX applications in Rust Programming Language."
diff --git a/sgx_urts/Readme.md b/sgx_urts/Readme.md
index 3d5259f..ba97d9b 100644
--- a/sgx_urts/Readme.md
+++ b/sgx_urts/Readme.md
@@ -1,3 +1,3 @@
 # Note
 
-Please visit our [homepage](https://github.com/baidu/rust-sgx-sdk) for usage. Thanks!
+Please visit our [homepage](https://github.com/apache/teaclave-sgx-sdk) for usage. Thanks!


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@teaclave.apache.org
For additional commands, e-mail: commits-help@teaclave.apache.org