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.7.4 - 2023-08-08
- Fixed
tcbfeature inmc-sgx-dcap-typesmissing 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
DeserializeandSerializetraits to:mc-sgx-dcap-types::Collateralmc-sgx-dcap-types::Quote3Errormc-sgx-dcap-types::Quote3<Vec<u8>>
- Removed patch version restriction on
serdecrate dependency.
0.7.2 - 2023-07-20
- Added
DeserializeandSerializetraits to:mc-sgx-core-types::TargetInfomc-sgx-core-types::Reportmc-sgx-dcap-types::Quote3
0.7.1 - 2023-07-12
- Added
FromHeximplementation for MrEnclave and MrSigner - Added
From<Quote3<&[u8]>> for Quote3<Vec<u8>>
- Fixed
ExtendedFeatureRequestMask::AMX- Previously the
ExtendedFeatureRequestMask::AMXwas mapped toSGX_XFRM_LEGACY. NowExtendedFeatureRequestMask::AMXcorrectly maps toSGX_XFRM_AMX.
- Previously the
0.7.0 - 2023-06-22
- Added the
mc-sgx-dcap-type::Collateraltype. This can be retrieved via themc-sgx-dcap-quoteverify::Collateraltrait on amc-sgx-dcap_types::Quote3. - Added the
BitAndtrait implementation formc-sgx-core-types::MiscellaneousSelect. - Added the
BitAndtrait 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::AttributesFlagsandmc-sgx-core-types::ExtendedFeaturesMaskrespectively.serdeis no longer an optional dependency behind aserdefeature. It is now a required dependency.- The SGX SDK version is now 2.19.100.3
- The
MrSignerandMrEnclaveDisplayimplementations 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::TCBInfowhich 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
Displayformc-sgx-core-typesstructs.
- Upgraded to
bitflagsto 2.0. This caused API changes inKeyPolicymethods and trait derivations. See bitflags 2.0 changelog for more information.
0.5.0 - 2023-03-08
BitAndimplementation formc_sgx_core_types::ReportData.Copytrait to:mc_sgx_core_types::MiscellaneousSelectmc_sgx_core_types::IsvProductIdmc_sgx_core_types::ConfigSvnmc_sgx_core_types::IsvSvn
mc_sgx_core_types::ReportBody::mr_enclave()now returns aMrEnclaveinstead of aMeasurement.mc_sgx_core_types::ReportBody::mr_signer()now returns aMrSignerinstead of aMeasurement.mc_sgx_core_types::TargetInfo::mr_enclave()now returns aMrEnclaveinstead of aMeasurement.
mc_sgx_core_types::Measurementhas been removed. UseMrEnclaveorMrSignerinstead.- Copy trait from
mc_sgx_core_types::MrEnclaveandmc_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-tstdccrate with rust wrappers providing low-level constructs around synchronization primitives.mc-sgx-syncshould be used for the higher-level constructs that mimicstd::sync.mc-sgx-sdk-toolscrate which provides rust wrappers around enclave building utilities.
0.4.0 - 2022-12-14
SignatureData:mc_sgx_dcap_types::SignatureDatawraps up thesgx_ql_ecdsa_sig_data_ttype.verify_nonce():mc_sgx_dcap_types::Quote3can verify a nonce matches that which was provided in amc_sgx_core_types::ReportData.
mc_sgx_dcap_types::Quote3Errorwas renamed tomc_sgx_dcap_types::QlErrorto better indicate it's an error coming from the SGX quote library SDK.
0.3.0 - 2022-10-20
- Add
mc_sgx_tservice::SealError, makeSealedBuilderuse it instead ofmc_sgx_core_types::Error. mc-sgx-dcap-ql::set_pathandmc-sgx-dcap-ql::load_policyhave been replaced withmc-sgx-dcap-ql::PathInitializerandmc-sgx-dcap-ql::LoadPolicyInitializermc-sgx-dcap-quoteverify::set_pathandmc-sgx-dcap-quoteverify::load_policyhave been replaced withmc-sgx-dcap-quoteverify::PathInitializerandmc-sgx-dcap-quoteverify::LoadPolicyInitializer
0.2.1 - 2022-10-14
mc-sgx-urts: Idiomatic Rust Types for thesgx_urtslibrary
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_capablelibrarymc-sgx-capable-types: Idiomatic Rust types for thesgx_capablelibrarymc-sgx-dcap-ql: Idiomatic Rust bindings for thesgx_dcap_qllibrarymc-sgx-dcap-ql-types: Idiomatic Rust types for thesgx_dcap_qllibrarymc-sgx-dcap-quoteverify: Idiomatic Rust bindings for thesgx_dcapquoteverifylibrarymc-sgx-dcap-quoteverify-types: Idiomatic Rust types for thesgx_dcapquoteverifylibrarymc-sgx-trts: Idiomatic Rust bindings for thesgx_trtslibrarymc-sgx-tservice: Idiomatic Rust bindings for thesgx_tservicelibrarymc-sgx-tservice-types: Idiomatic Rust Types for thesgx_tservicelibrary
- Update all
README.mdfiles.
0.1.0 - 2022-08-18
- Initial release of FFI bindings crates