Skip to content

Releases: mobilecoinfoundation/sgx

Version 0.7.0

23 Jun 21:17
Compare
Choose a tag to compare

Added

  • Added the mc-sgx-dcap-type::Collateral type. This can be retrieved via the
    mc-sgx-dcap-quoteverify::Collateral trait on a mc-sgx-dcap_types::Quote3.
  • Added the BitAnd trait implementation for mc-sgx-core-types::MiscellaneousSelect.
  • Added the BitAnd trait implementation for mc-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 types mc-sgx-core-types::AttributesFlags and
    mc-sgx-core-types::ExtendedFeaturesMask respectively.
  • serde is no longer an optional dependency behind a serde feature. It is
    now a required dependency.
  • The SGX SDK version is now 2.19.100.3
  • The MrSigner and MrEnclave Display implementations has been changed.
    Previously they were displayed as 0xABCD_EF01_2345_6789_... now they are
    displayed as abcdef0123456789.... This is to make it easier to copy the
    value into code sources or command line utilities.

Version 0.6.1

23 May 22:12
v0.6.1
29a2b99
Compare
Choose a tag to compare

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

12 Apr 23:25
8767447
Compare
Choose a tag to compare

0.6.0 - 2023-04-12
Added
Implemented Display for mc-sgx-core-types structs.
Changed
Upgraded to bitflags to 2.0. This caused API changes in KeyPolicy methods and trait derivations. See bitflags 2.0 changelog for more information.

Version 0.5.0

08 Mar 23:49
v0.5.0
3a6ab8f
Compare
Choose a tag to compare

Added

  • BitAnd implementation for mc_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 a MrEnclave
    instead of a Measurement.
  • mc_sgx_core_types::ReportBody::mr_signer() now returns a MrSigner
    instead of a Measurement.
  • mc_sgx_core_types::TargetInfo::mr_enclave() now returns a MrEnclave
    instead of a Measurement.

Removed

  • mc_sgx_core_types::Measurement has been removed. Use MrEnclave or
    MrSigner instead.
  • Copy trait from mc_sgx_core_types::MrEnclave and
    mc_sgx_core_types::MrSigner

Version 0.4.2

08 Mar 23:48
v0.4.2
35f14cb
Compare
Choose a tag to compare

Added

  • Build script wrapper for SGX sign utility.

Version 0.4.1

30 Jan 23:03
v0.4.1
a26263e
Compare
Choose a tag to compare

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 mimic std::sync.
  • mc-sgx-sdk-tools crate which provides rust wrappers around enclave building
    utilities.

Version 0.4.0

30 Jan 23:03
v0.4.0
d51a8de
Compare
Choose a tag to compare

Added

  • SignatureData: mc_sgx_dcap_types::SignatureData wraps up
    the sgx_ql_ecdsa_sig_data_t type.
  • verify_nonce(): mc_sgx_dcap_types::Quote3 can verify a nonce matches that
    which was provided in a mc_sgx_core_types::ReportData.

Changed

  • mc_sgx_dcap_types::Quote3Error was renamed to mc_sgx_dcap_types::QlError
    to better indicate it's an error coming from the SGX quote library SDK.

Improved SGX SDK library initilazations

20 Oct 22:11
v0.3.0
bbd7f8d
Compare
Choose a tag to compare

Changed

  • The mc-sgx-dcap-ql and mc-sgx-dcap-quoteverify crates changed from load_policy and set_paths functions to use one time LoadPolicyInitializer and PathIntializer 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

19 Oct 14:04
abae7ee
Compare
Choose a tag to compare

Added

  • mc-sgx-urts: Idiomatic Rust Types for the sgx_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

19 Oct 14:02
4d43f23
Compare
Choose a tag to compare

Added

Initial idiomatic rust wrappers around the FFI behavior

  • mc-sgx-core-types: Idiomatic Rust Types for SGX primitives
  • mc-sgx-core-types: Idiomatic Rust for SGX primitives
  • mc-sgx-capable: Idiomatic Rust bindings for the sgx_capable library
  • mc-sgx-capable-types: Idiomatic Rust types for the sgx_capable library
  • mc-sgx-dcap-ql: Idiomatic Rust bindings for the sgx_dcap_ql library
  • mc-sgx-dcap-ql-types: Idiomatic Rust types for the sgx_dcap_ql library
  • mc-sgx-dcap-quoteverify: Idiomatic Rust bindings for the sgx_dcapquoteverify library
  • mc-sgx-dcap-quoteverify-types: Idiomatic Rust types for the sgx_dcapquoteverify library
  • mc-sgx-trts: Idiomatic Rust bindings for the sgx_trts library
  • mc-sgx-tservice: Idiomatic Rust bindings for the sgx_tservice library
  • mc-sgx-tservice-types: Idiomatic Rust Types for the sgx_tservice library