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

[RTE-241] Always fetch early variant of DCAP artifacts #683

Merged

Conversation

raoulstrackx
Copy link
Contributor

By default we want to fetch the "early" variant of DCAP artifacts. See the pcs API documentation.

@@ -430,7 +430,7 @@ impl<'inp> ProvisioningServiceApi<'inp> for QeIdApi {
fn build_request(&self, input: &Self::Input) -> Result<(String, Vec<(String, String)>), Error> {
let api_version = input.api_version as u8;
let url = format!(
"{}/sgx/certification/v{}/qe/identity",
"{}/sgx/certification/v{}/qe/identity?update=early",
Copy link
Contributor

Choose a reason for hiding this comment

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

I think these need to be added in PCCS as well?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Good catch! I've updated the last commit.

Copy link
Contributor

Choose a reason for hiding this comment

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

Does this apply to Azure as well?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The Azure client fetches the TcbInfo and QeIdentity data from Intel and thus also pull in the changes in this PR.

@raoulstrackx raoulstrackx force-pushed the raoul/rte-241-ensure_early_dcap_artifacts_fetched branch from da2aaa1 to b0d6bb6 Compare January 22, 2025 07:59
@raoulstrackx raoulstrackx force-pushed the raoul/rte-241-ensure_early_dcap_artifacts_fetched branch from b0d6bb6 to f4aec4b Compare January 22, 2025 13:38
@raoulstrackx raoulstrackx added this pull request to the merge queue Jan 23, 2025
Merged via the queue into master with commit 6c246eb Jan 23, 2025
1 check passed
@raoulstrackx raoulstrackx deleted the raoul/rte-241-ensure_early_dcap_artifacts_fetched branch January 23, 2025 08:24
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