Releases: mobilecoinfoundation/sgx
Releases · mobilecoinfoundation/sgx
Version 0.7.0
Added
- Added the
mc-sgx-dcap-type::Collateral
type. This can be retrieved via the
mc-sgx-dcap-quoteverify::Collateral
trait on amc-sgx-dcap_types::Quote3
. - Added the
BitAnd
trait implementation formc-sgx-core-types::MiscellaneousSelect
. - Added the
BitAnd
trait implementation formc-sgx-core-types::Attributes
. - Added the ability to get the QE(Quoting Enclave) report body from
mc-sgx-dcap-types::SignatureData
.
Changed
mc-sgx-core-types::Attributes::set_flags()
and
mc-sgx-core-types::Attributes::set_extended_features_mask()
have been
updated to take dedicated typesmc-sgx-core-types::AttributesFlags
and
mc-sgx-core-types::ExtendedFeaturesMask
respectively.serde
is no longer an optional dependency behind aserde
feature. It is
now a required dependency.- The SGX SDK version is now 2.19.100.3
- The
MrSigner
andMrEnclave
Display
implementations has been changed.
Previously they were displayed as0xABCD_EF01_2345_6789_...
now they are
displayed asabcdef0123456789...
. This is to make it easier to copy the
value into code sources or command line utilities.
Version 0.6.1
Added
- Added
mc-sgx-dcap-types::TCBInfo
which provides the TCB (Trusted Compute Base)
for a quoted enclave. - Added a method,
mc-sgx-dcap-types::Quote3::verify()
, to verify the signature
of a quoted enclave.
Version 0.6.0
Version 0.5.0
Added
BitAnd
implementation formc_sgx_core_types::ReportData
.Copy
trait to:mc_sgx_core_types::MiscellaneousSelect
mc_sgx_core_types::IsvProductId
mc_sgx_core_types::ConfigSvn
mc_sgx_core_types::IsvSvn
Changed
mc_sgx_core_types::ReportBody::mr_enclave()
now returns aMrEnclave
instead of aMeasurement
.mc_sgx_core_types::ReportBody::mr_signer()
now returns aMrSigner
instead of aMeasurement
.mc_sgx_core_types::TargetInfo::mr_enclave()
now returns aMrEnclave
instead of aMeasurement
.
Removed
mc_sgx_core_types::Measurement
has been removed. UseMrEnclave
or
MrSigner
instead.- Copy trait from
mc_sgx_core_types::MrEnclave
and
mc_sgx_core_types::MrSigner
Version 0.4.2
Added
- Build script wrapper for SGX sign utility.
Version 0.4.1
Added
- Synchronization constants and defaults to
mc-sgx-tstdc-sys-types
. mc-sgx-tstdc
crate with rust wrappers providing low-level constructs
around synchronization primitives.mc-sgx-sync
should be used for the
higher-level constructs that mimicstd::sync
.mc-sgx-sdk-tools
crate which provides rust wrappers around enclave building
utilities.
Version 0.4.0
Added
SignatureData
:mc_sgx_dcap_types::SignatureData
wraps up
thesgx_ql_ecdsa_sig_data_t
type.verify_nonce()
:mc_sgx_dcap_types::Quote3
can verify a nonce matches that
which was provided in amc_sgx_core_types::ReportData
.
Changed
mc_sgx_dcap_types::Quote3Error
was renamed tomc_sgx_dcap_types::QlError
to better indicate it's an error coming from the SGX quote library SDK.
Improved SGX SDK library initilazations
Changed
- The
mc-sgx-dcap-ql
andmc-sgx-dcap-quoteverify
crates changed fromload_policy
andset_paths
functions to use one timeLoadPolicyInitializer
andPathIntializer
structs. This ensures that the global SGX SDK initializations happen only once during process execution. mc-sgx-tservice::SealedBuilder
was updated to use a dedicated error type
Idiomatic rust wrapper for libsgx_urts
Added
mc-sgx-urts
: Idiomatic Rust Types for thesgx_urts
library
Fixed
doc builds for:
- mc-sgx-dcap-ql-sys
- mc-sgx-dcap-quoteverify
- mc-sgx-dcap-quoteverify-sys
- mc-sgx-dcap-quoteverify-sys-types
- mc-sgx-dcap-quoteverify-types
- mc-sgx-dcap-sys-types
- mc-sgx-dcap-tvl-sys
- mc-sgx-dcap-types
Idiomatic rust wrappers
Added
Initial idiomatic rust wrappers around the FFI behavior
mc-sgx-core-types
: Idiomatic Rust Types for SGX primitivesmc-sgx-core-types
: Idiomatic Rust for SGX primitivesmc-sgx-capable
: Idiomatic Rust bindings for thesgx_capable
librarymc-sgx-capable-types
: Idiomatic Rust types for thesgx_capable
librarymc-sgx-dcap-ql
: Idiomatic Rust bindings for thesgx_dcap_ql
librarymc-sgx-dcap-ql-types
: Idiomatic Rust types for thesgx_dcap_ql
librarymc-sgx-dcap-quoteverify
: Idiomatic Rust bindings for thesgx_dcapquoteverify
librarymc-sgx-dcap-quoteverify-types
: Idiomatic Rust types for thesgx_dcapquoteverify
librarymc-sgx-trts
: Idiomatic Rust bindings for thesgx_trts
librarymc-sgx-tservice
: Idiomatic Rust bindings for thesgx_tservice
librarymc-sgx-tservice-types
: Idiomatic Rust Types for thesgx_tservice
library