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 interfaces to pass TrustedMeasurement #3368

Closed
7 tasks done
Tracked by #2373 ...
nick-mobilecoin opened this issue May 31, 2023 · 1 comment
Closed
7 tasks done
Tracked by #2373 ...

Update interfaces to pass TrustedMeasurement #3368

nick-mobilecoin opened this issue May 31, 2023 · 1 comment

Comments

@nick-mobilecoin
Copy link
Collaborator

nick-mobilecoin commented May 31, 2023

Currently the interfaces pass a Verifier object. with the new implementation of https://github.com/mobilecoinfoundation/attestation for DCAP the same verifier object won't work for DCAP and EPID. We could make a wrapper verifier, but we don't know which underlying verifier we need until we get to the Report (also called Evidence) and the Report isn't seen until sometime later after the clients have provided the verifier object.

Based on initial design in, mobilecoinfoundation/mcips#65, it may be better to create a plain old data(POD) type for the MRENCLAVE|MRSIGNER values along with the advisories, and then pass this POD down to the point where verification happens. Building a verifier at the verify() location.

Thinking of modifying

pub enum StatusVerifierConfig {
to be this POD.

Initial steps:

@nick-mobilecoin nick-mobilecoin mentioned this issue May 31, 2023
13 tasks
@nick-mobilecoin nick-mobilecoin changed the title Update interfaces to pass TrustedMeasurements Update interfaces to pass TrustedMeasurement Jun 1, 2023
@nick-mobilecoin
Copy link
Collaborator Author

interface has been updated

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