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

DCAP cert validation tests #6

Merged
merged 11 commits into from
Jun 20, 2024
Merged

DCAP cert validation tests #6

merged 11 commits into from
Jun 20, 2024

Conversation

hu55a1n1
Copy link
Member

@hu55a1n1 hu55a1n1 commented May 26, 2024

Faliing tests for DCAP cert validation.
All tests are currently ignored. To run a single test e.g. evidence_verifier_succeeds_with_mbedtls_x509_verifier, comment the #[ignore] on it and run ->

cargo test intel_sgx::dcap::tests::evidence_verifier_succeeds_with_mbedtls_x509_verifier -p quartz-tee-ra -- --exact

(Tests are currently panicking because of the todo!() here)

@hu55a1n1 hu55a1n1 requested a review from amiller May 27, 2024 10:48
@hu55a1n1 hu55a1n1 marked this pull request as ready for review May 27, 2024 10:52
@hu55a1n1 hu55a1n1 changed the title DCAP cert validation DCAP cert validation tests May 27, 2024
Copy link
Contributor

@amiller amiller left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I walked through this to explain w/ poetic and it all made sense.
The upstream mobilecoin used mbedtls, but we are aiming to avoid that by using a cosmwasm x509 library as alternative. So these tests will pass once we instantiate the x509 certificate chain checker

@hu55a1n1 hu55a1n1 force-pushed the hu55a1n1/dcap-cert-validation branch from acf3a1c to 7ddb328 Compare June 20, 2024 20:02
@hu55a1n1 hu55a1n1 merged commit fcad39e into main Jun 20, 2024
7 checks passed
@hu55a1n1 hu55a1n1 deleted the hu55a1n1/dcap-cert-validation branch June 20, 2024 20:09
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.

2 participants