Skip to content

Calctopia-OpenSource/linux-sgx-mage

 
 

Repository files navigation

MAGE: Mutual Attestation for a Group of Enclaves without Trusted Third Parties

MAGE is an extension of Intel SGX SDK (v2.6) to support mutual attestation for a group of enclaves without trusted third parties.

The extension includes:

MAGE Library (sdk/mage):

  • Reserve a read-only data section, named .sgx_mage, to store auxiliary information for mutual attestation.
  • Provide APIs for deriving trusted enclaves' measurements from .sgx_mage.

Modified Enclave Loader (psw/urts/loader, psw/urts/parser):

  • Change the order of loading EPC pages, so that the EPC pages in .sgx_mage section are loaded after all other EPC pages.

Modified Signing Tool (sdk/sign_tool/SignTool):

  • Extract auxiliary information from enclaves.
  • Insert auxiliary information into the .sgx_mage section of enclaves.

Build Instructions

Follow the original build instructions to build the SDK linux-sgx_2.6.

Sample Code

Sample Code for three enclaves to mutually derive measurements is provided in SampleCode/MutualAttestation.

Integration with Open-Sourced SGX Application

OPERA-MAGE: Open Remote Attestation for Intel's Secure Enclaves (MAGE version)

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 56.1%
  • C 34.0%
  • Makefile 2.5%
  • Java 1.0%
  • Assembly 0.9%
  • Perl 0.9%
  • Other 4.6%