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

Implications of basename check in PDO TP policy evaluation #479

Open
bvavala opened this issue Mar 15, 2024 · 0 comments
Open

Implications of basename check in PDO TP policy evaluation #479

bvavala opened this issue Mar 15, 2024 · 0 comments

Comments

@bvavala
Copy link
Member

bvavala commented Mar 15, 2024

Context.
PDO currently allows to set the expected basename (related to EPID attestations) in the TP policy. This value check is enforced at enclave registration time by the TP.

Recall that:

  1. in EPID, the basename is directly derived from the SPID (the service provider ID assigned by the Intel Attestation Service)
  2. (this claim has to be confirmed) at verification time, IAS checks whether the SPID in the quote matches the one associated with the owner of the API-key.

Implications.
Given that the TP only allows setting a single basename, this means that:

  1. any eservice that wants to attest and register a contract enclave has to use the same SPID
  2. any enclave quote with such SPID has to be verified through the associated API key to contact IAS.

Notes.

  1. Presumably this will be a non-issue as the attestation mechanism transitions to DCAP.
  2. Most likely, by removing the basename set/check in TP, EPID and DCAP attestations/verifications could use the same abstract API in the TP, as they would only need mrenclave and public key of the hardware manufacturer to verify attestations.
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

No branches or pull requests

1 participant