Skip to content

Commit

Permalink
Always fetch early variant of DCAP artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
raoulstrackx committed Jan 22, 2025
1 parent 913a6a2 commit f4aec4b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,7 @@ impl<'inp> ProvisioningServiceApi<'inp> for TcbInfoApi {
let api_version = input.api_version as u8;
let fmspc = input.fmspc.as_bytes().to_hex();
let url = format!(
"{}/sgx/certification/v{}/tcb?fmspc={}",
"{}/sgx/certification/v{}/tcb?fmspc={}&update=early",
INTEL_BASE_URL, api_version, fmspc,
);
Ok((url, Vec::new()))
Expand Down Expand Up @@ -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",
INTEL_BASE_URL, api_version,
);
Ok((url, Vec::new()))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ impl<'inp> ProvisioningServiceApi<'inp> for TcbInfoApi {
let api_version = input.api_version as u8;
let fmspc = input.fmspc.as_bytes().to_hex();
let url = format!(
"{}/sgx/certification/v{}/tcb?fmspc={}",
"{}/sgx/certification/v{}/tcb?fmspc={}&update=early",
self.base_url, api_version, fmspc
);
Ok((url, Vec::new()))
Expand Down Expand Up @@ -359,7 +359,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",
self.base_url, api_version,
);
Ok((url, Vec::new()))
Expand Down

0 comments on commit f4aec4b

Please sign in to comment.