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

Include interpreter identity in enclave registration #271

Open
masomel opened this issue Apr 24, 2020 · 1 comment
Open

Include interpreter identity in enclave registration #271

masomel opened this issue Apr 24, 2020 · 1 comment
Labels
enhancement New feature or request

Comments

@masomel
Copy link

masomel commented Apr 24, 2020

Given that we support different types of contract interpreters, and plan to add support for AoT WASM contracts, we should have a way to bind an enclave to a specific interpreter identity, and ensure that contracts can only be loaded into enclaves that match the interpreter the contract was built for.

Recommended changes:

  • enclave registration should include a field indicating the interpreter type an enclave will run
  • contract registration should indicate the interpreter a contract is compiled for
  • add_enclave should ensure that a contract's interpreter matches the enclave's interpreter

Initial discussion around this: #259 (comment)
This issue also seems related to #255

@cmickeyb cmickeyb added the enhancement New feature or request label May 7, 2020
@cmickeyb
Copy link
Contributor

cmickeyb commented Apr 4, 2023

This is a nice to have, but can already be done (already IS done) through the info call when initially establishing a connection to an enclave. Suggest that this is ultimately low priority.

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

No branches or pull requests

3 participants