Skip to content

Implications of basename check in PDO TP policy evaluation #479

Open
@bvavala

Description

@bvavala

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions