diff --git a/Readme.md b/Readme.md index b2373fae6..e679721b8 100644 --- a/Readme.md +++ b/Readme.md @@ -5,6 +5,9 @@ Rust SGX SDK helps developers write Intel SGX applications in Rust programming l 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. +## v1.0.6 Release +Fix bugs in sgx_alloc, sgx_types, ucd-generate and improve sgx_ttunittest. Added rust-base58. Thanks to @elichai, @cbeck88, @brenzi and @nhynes. + ## v1.0.5 Release This version supports Rust nightly build (nightly-2019-01-28, v1.34.0) in the master branch and the most recent stable build (stable-2019-01-16, v1.32.0) in the rust-stable branch. It supports the latest Intel SGX SDK **v2.4.0** and Ubuntu Linux 16.04+18.04. We provide support to Intel's Protected Code Loader. We provide sgx_ucrypto and sgx_crypto_helper for using SGX-style crypto primitives in untrusted app and RSA keypair serialization/deserialization in both trusted and untrusted programs. We re-organize ocall related interfaces and provide them in a new crate sgx_libc with a bunch of new ocall functions. In addition, we port net2 to SGX. Please refer to [release_notes](release_notes.md) for further details. diff --git a/release_notes.md b/release_notes.md index 27c8b1e9e..078191b36 100644 --- a/release_notes.md +++ b/release_notes.md @@ -1,3 +1,15 @@ +# Rust SGX SDK v1.0.6 Release Notes + +**Add proper support to memalign in sgx_alloc** Thanks to @cbeck88. + +**Use `core::mem::zeroed` to get a zero-initialized struct** Thanks to @cbeck88. + +**Fix ucd-generate lazy_static dep** Thanks to @nhynes. + +**Added support for closures in sgx_tunittest** Thanks to @elichai. + +**Added rust-base58** Thanks to @brenzi. + # Rust SGX SDK v1.0.5 Release Notes **Upgrade Recommended** Intel issued a security advisory [INTEL-SA-00202](https://www.intel.com/content/www/us/en/security-center/advisory/intel-sa-00202.html) and fixed the problem in Intel SGX SDK v2.4. diff --git a/sgx_alloc/Cargo.toml b/sgx_alloc/Cargo.toml index ca4a6ea1d..b837f854f 100644 --- a/sgx_alloc/Cargo.toml +++ b/sgx_alloc/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "sgx_alloc" -version = "1.0.5-fix" +version = "1.0.6" authors = ["Baidu"] repository = "https://github.com/baidu/rust-sgx-sdk" license-file = "LICENSE" diff --git a/sgx_crypto_helper/Cargo.toml b/sgx_crypto_helper/Cargo.toml index 3b8ddc650..846691fc1 100644 --- a/sgx_crypto_helper/Cargo.toml +++ b/sgx_crypto_helper/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "sgx_crypto_helper" -version = "1.0.5" +version = "1.0.6" authors = ["Baidu"] repository = "https://github.com/baidu/rust-sgx-sdk" license-file = "LICENSE" diff --git a/sgx_libc/Cargo.toml b/sgx_libc/Cargo.toml index 27ab4a099..34567e40e 100644 --- a/sgx_libc/Cargo.toml +++ b/sgx_libc/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "sgx_libc" -version = "1.0.5" +version = "1.0.6" authors = ["Baidu"] repository = "https://github.com/baidu/rust-sgx-sdk" license-file = "LICENSE" diff --git a/sgx_rand/Cargo.toml b/sgx_rand/Cargo.toml index a6ea75e69..be8aec161 100644 --- a/sgx_rand/Cargo.toml +++ b/sgx_rand/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "sgx_rand" -version = "1.0.5" +version = "1.0.6" authors = ["Baidu"] repository = "https://github.com/baidu/rust-sgx-sdk" license-file = "LICENSE" diff --git a/sgx_rand_derive/Cargo.toml b/sgx_rand_derive/Cargo.toml index 4d26a29e3..1a50330c2 100644 --- a/sgx_rand_derive/Cargo.toml +++ b/sgx_rand_derive/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "sgx_rand_derive" -version = "1.0.5" +version = "1.0.6" authors = ["Baidu"] repository = "https://github.com/baidu/rust-sgx-sdk" license-file = "LICENSE" diff --git a/sgx_serialize/Cargo.toml b/sgx_serialize/Cargo.toml index 2179dadb5..1d4e7f432 100644 --- a/sgx_serialize/Cargo.toml +++ b/sgx_serialize/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "sgx_serialize" -version = "1.0.5" +version = "1.0.6" authors = ["Baidu"] repository = "https://github.com/baidu/rust-sgx-sdk" license-file = "LICENSE" diff --git a/sgx_serialize_derive/Cargo.toml b/sgx_serialize_derive/Cargo.toml index 8b6be19b8..77a794470 100644 --- a/sgx_serialize_derive/Cargo.toml +++ b/sgx_serialize_derive/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "sgx_serialize_derive" -version = "1.0.5" +version = "1.0.6" authors = ["Baidu"] repository = "https://github.com/baidu/rust-sgx-sdk" license-file = "LICENSE" diff --git a/sgx_serialize_derive_internals/Cargo.toml b/sgx_serialize_derive_internals/Cargo.toml index 813d6b6b1..1a72c497f 100644 --- a/sgx_serialize_derive_internals/Cargo.toml +++ b/sgx_serialize_derive_internals/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "sgx_serialize_derive_internals" -version = "1.0.5" +version = "1.0.6" authors = ["Baidu"] repository = "https://github.com/baidu/rust-sgx-sdk" license-file = "LICENSE" diff --git a/sgx_tcrypto/Cargo.toml b/sgx_tcrypto/Cargo.toml index a691ee14e..01d4d46fb 100644 --- a/sgx_tcrypto/Cargo.toml +++ b/sgx_tcrypto/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "sgx_tcrypto" -version = "1.0.5" +version = "1.0.6" authors = ["Baidu"] repository = "https://github.com/baidu/rust-sgx-sdk" license-file = "LICENSE" diff --git a/sgx_tdh/Cargo.toml b/sgx_tdh/Cargo.toml index 712e4ef18..00c408b2d 100644 --- a/sgx_tdh/Cargo.toml +++ b/sgx_tdh/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "sgx_tdh" -version = "1.0.5" +version = "1.0.6" authors = ["Baidu"] repository = "https://github.com/baidu/rust-sgx-sdk" license-file = "LICENSE" diff --git a/sgx_tkey_exchange/Cargo.toml b/sgx_tkey_exchange/Cargo.toml index c5a727e15..efa2b7b71 100644 --- a/sgx_tkey_exchange/Cargo.toml +++ b/sgx_tkey_exchange/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "sgx_tkey_exchange" -version = "1.0.5" +version = "1.0.6" authors = ["Baidu"] repository = "https://github.com/baidu/rust-sgx-sdk" license-file = "LICENSE" diff --git a/sgx_tprotected_fs/Cargo.toml b/sgx_tprotected_fs/Cargo.toml index a057d3e38..29d98a303 100644 --- a/sgx_tprotected_fs/Cargo.toml +++ b/sgx_tprotected_fs/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "sgx_tprotected_fs" -version = "1.0.5" +version = "1.0.6" authors = ["Baidu"] repository = "https://github.com/baidu/rust-sgx-sdk" license-file = "LICENSE" diff --git a/sgx_trts/Cargo.toml b/sgx_trts/Cargo.toml index 75d862b6a..8ea69dbd7 100644 --- a/sgx_trts/Cargo.toml +++ b/sgx_trts/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "sgx_trts" -version = "1.0.5" +version = "1.0.6" authors = ["Baidu"] repository = "https://github.com/baidu/rust-sgx-sdk" license-file = "LICENSE" diff --git a/sgx_tse/Cargo.toml b/sgx_tse/Cargo.toml index bca0bf288..c08000f3f 100644 --- a/sgx_tse/Cargo.toml +++ b/sgx_tse/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "sgx_tse" -version = "1.0.5" +version = "1.0.6" authors = ["Baidu"] repository = "https://github.com/baidu/rust-sgx-sdk" license-file = "LICENSE" diff --git a/sgx_tseal/Cargo.toml b/sgx_tseal/Cargo.toml index f0acf6fbc..d72f45a33 100644 --- a/sgx_tseal/Cargo.toml +++ b/sgx_tseal/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "sgx_tseal" -version = "1.0.5" +version = "1.0.6" authors = ["Baidu"] repository = "https://github.com/baidu/rust-sgx-sdk" license-file = "LICENSE" diff --git a/sgx_tservice/Cargo.toml b/sgx_tservice/Cargo.toml index e294d0a7a..5912c452d 100644 --- a/sgx_tservice/Cargo.toml +++ b/sgx_tservice/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "sgx_tservice" -version = "1.0.5" +version = "1.0.6" authors = ["Baidu"] repository = "https://github.com/baidu/rust-sgx-sdk" license-file = "LICENSE" diff --git a/sgx_tstd/Cargo.toml b/sgx_tstd/Cargo.toml index c590e60a5..406998852 100644 --- a/sgx_tstd/Cargo.toml +++ b/sgx_tstd/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "sgx_tstd" -version = "1.0.5-fix" +version = "1.0.6" authors = ["Baidu"] build = "build.rs" repository = "https://github.com/baidu/rust-sgx-sdk" diff --git a/sgx_tunittest/Cargo.toml b/sgx_tunittest/Cargo.toml index 43fd3abe8..d73b6c885 100644 --- a/sgx_tunittest/Cargo.toml +++ b/sgx_tunittest/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "sgx_tunittest" -version = "1.0.5-fix" +version = "1.0.6" authors = ["Baidu"] repository = "https://github.com/baidu/rust-sgx-sdk" license-file = "LICENSE" diff --git a/sgx_types/Cargo.toml b/sgx_types/Cargo.toml index 63512e2f0..7fbc988b0 100644 --- a/sgx_types/Cargo.toml +++ b/sgx_types/Cargo.toml @@ -1,7 +1,7 @@ [package] authors = ["Baidu"] name = "sgx_types" -version = "1.0.5-fix" +version = "1.0.6" repository = "https://github.com/baidu/rust-sgx-sdk" license-file = "LICENSE" documentation = "https://dingelish.github.io/" diff --git a/sgx_ucrypto/Cargo.toml b/sgx_ucrypto/Cargo.toml index fef9c63e3..dbe5af535 100644 --- a/sgx_ucrypto/Cargo.toml +++ b/sgx_ucrypto/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "sgx_ucrypto" -version = "1.0.5" +version = "1.0.6" authors = ["Baidu"] repository = "https://github.com/baidu/rust-sgx-sdk" license-file = "LICENSE" diff --git a/sgx_urts/Cargo.toml b/sgx_urts/Cargo.toml index 6a4d6ccdc..36544e341 100644 --- a/sgx_urts/Cargo.toml +++ b/sgx_urts/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "sgx_urts" -version = "1.0.5" +version = "1.0.6" authors = ["Baidu"] repository = "https://github.com/baidu/rust-sgx-sdk" license-file = "LICENSE"