All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
Unreleased - ReleaseDate
0.11.0 - 2024-03-22
- The SGX SDK version is now 2.23.100.2
0.10.1 - 2023-12-11
- Fixed reproducible builds for generated code in sys crates.
0.10.0 - 2023-12-04
- The SGX SDK version is now 2.22.100.3
- Added
Ord
andPartialOrd
traits to:mc-sgx-core-types::ConfigSvn
mc-sgx-core-types::IsvSvn
0.9.0 - 2023-10-19
- The SGX SDK version is now 2.21.100.1
- Fixed the handling of
qe_identity
andtcb_info
json strings inmc-sgx-dcap-types::Collateral
.
0.8.0 - 2023-09-21
- Added
Deserialize
,Serialize
, andClone
traits tomc-sgx-dcap-types::TcbError
.
- Changed from
mc-sgx-dcap-types::TcbError::Der(x509_cert::der::Error)
tomc-sgx-dcap-types::TcbError::Der(String)
. The containing string is the formattedx509_cert::der::Error
message.
0.7.5 - 2023-08-23
TryFrom<Quote3<T>
impl forTcbInfo
- Added
Deserialize
andSerialize
traits to:mc-sgx-core-types::QuoteNonce
- Added
ConstantTimeEq
trait to:mc-sgx-core-types::QuoteNonce
mc-sgx-core-types::Basename
mc-sgx-core-types::PlatformInfo
mc-sgx-core-types::ReportData
mc-sgx-core-types::KeyId
mc-sgx-core-types::MrEnclave
mc-sgx-core-types::MrSigner
mc-sgx-core-types::CpuSvn
- Fixed
alloc
feature inmc-sgx-dcap-types
missing dependency onserde/alloc
0.7.4 - 2023-08-08
- Fixed
tcb
feature inmc-sgx-dcap-types
missing dependency onserde/alloc
- Fixed vendored include paths for the
*-sys-*
crate builds. In particular build issues related totime.h
.
0.7.3 - 2023-08-07
- Added
Deserialize
andSerialize
traits to:mc-sgx-dcap-types::Collateral
mc-sgx-dcap-types::Quote3Error
mc-sgx-dcap-types::Quote3<Vec<u8>>
- Removed patch version restriction on
serde
crate dependency.
0.7.2 - 2023-07-20
- Added
Deserialize
andSerialize
traits to:mc-sgx-core-types::TargetInfo
mc-sgx-core-types::Report
mc-sgx-dcap-types::Quote3
0.7.1 - 2023-07-12
- Added
FromHex
implementation for MrEnclave and MrSigner - Added
From<Quote3<&[u8]>> for Quote3<Vec<u8>>
- Fixed
ExtendedFeatureRequestMask::AMX
- Previously the
ExtendedFeatureRequestMask::AMX
was mapped toSGX_XFRM_LEGACY
. NowExtendedFeatureRequestMask::AMX
correctly maps toSGX_XFRM_AMX
.
- Previously the
0.7.0 - 2023-06-22
- Added the
mc-sgx-dcap-type::Collateral
type. This can be retrieved via themc-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
.
mc-sgx-core-types::Attributes::set_flags()
andmc-sgx-core-types::Attributes::set_extended_features_mask()
have been updated to take dedicated typesmc-sgx-core-types::AttributesFlags
andmc-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.
0.6.1 - 2023-05-23
- 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.
0.6.0 - 2023-04-12
- Implemented
Display
formc-sgx-core-types
structs.
- Upgraded to
bitflags
to 2.0. This caused API changes inKeyPolicy
methods and trait derivations. See bitflags 2.0 changelog for more information.
0.5.0 - 2023-03-08
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
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
.
mc_sgx_core_types::Measurement
has been removed. UseMrEnclave
orMrSigner
instead.- Copy trait from
mc_sgx_core_types::MrEnclave
andmc_sgx_core_types::MrSigner
0.4.2 - 2023-02-10
- Build script wrapper for SGX sign utility.
0.4.1 - 2023-01-30
- 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.
0.4.0 - 2022-12-14
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
.
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.
0.3.0 - 2022-10-20
- Add
mc_sgx_tservice::SealError
, makeSealedBuilder
use it instead ofmc_sgx_core_types::Error
. mc-sgx-dcap-ql::set_path
andmc-sgx-dcap-ql::load_policy
have been replaced withmc-sgx-dcap-ql::PathInitializer
andmc-sgx-dcap-ql::LoadPolicyInitializer
mc-sgx-dcap-quoteverify::set_path
andmc-sgx-dcap-quoteverify::load_policy
have been replaced withmc-sgx-dcap-quoteverify::PathInitializer
andmc-sgx-dcap-quoteverify::LoadPolicyInitializer
0.2.1 - 2022-10-14
mc-sgx-urts
: Idiomatic Rust Types for thesgx_urts
library
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
0.2.0 - 2022-10-07
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
- Update all
README.md
files.
0.1.0 - 2022-08-18
- Initial release of FFI bindings crates