Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update attestation using libmobilecoin as required for v6.0.0 enclaves #21

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

holtzman
Copy link

@holtzman holtzman commented Jun 1, 2024

MobileCoin v6.0.0 blockchain core (Consensus and Fog) is a breaking change from previous versions in that it uses SGX DCAP attestation, replacing SGX EPID. This is necessary as Intel is terminating the IAS service, required by EPID, starting in September 2024.

This PR prepares for the transition from MobileCoin v5.x -> MobileCoin v6.x by updating the libmobilecoin build artifacts in mobilecoin-go/include to versions compatible with both EPID (v5.x) and DCAP (v6.x). The older artifacts are only EPID compatible.

mobilecoin-go is also updated to use the new v5.x+v6.x compatible attestation primitives from libmobilecoin, and the v6.0.0 fog ingest enclave MrEnclave value has been added. MrEnclave values from v1.x to v4.x have been commented out as there are no longer any nets using them nor will they be used again.

go test github.com/MixinNetwork/mobilecoin-go -run TestFog -v has been successfully run on:

  • MacOS with Apple Silicon using mainnet [which is at v5.x]
  • MacOS with x86 using mainnet [which is at v5.x]
  • Linux with x86 using mainnet [which is at v5.x]

and then after modifying fog_c.go, fog_test.go and transaction_builder_c.go to use testnet appropriate values.

  • MacOS with Apple Silicon using testnet [which is at v6.x]
  • MacOS with x86 using testnet [which is at v6.x]
  • Linux with x86 using testnet [which is at v6.x]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant