<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re:Retrieve attesation key certificate in Intel® Software Guard Extensions (Intel® SGX)</title>
    <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Retrieve-attesation-key-certificate/m-p/1488002#M5748</link>
    <description>&lt;P&gt;Hi ChrisCode&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In a DCAP environment, the&amp;nbsp;&lt;A href="https://api.portal.trustedservices.intel.com/EPID-attestation" rel="noopener noreferrer" target="_blank"&gt;Intel Attestation Services (IAS)&lt;/A&gt;&amp;nbsp;does not verify the enclave. IAS is used to verify enclaves only for EPID-based attestation.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For ECDSA attestation, the service provider must build their own attestation service using the&amp;nbsp;&lt;A href="https://github.com/intel/SGXDataCenterAttestationPrimitives" rel="noopener noreferrer" target="_blank"&gt;DCAP primitives&lt;/A&gt;. The service provider/relying party verifies the SGX platform using the&amp;nbsp;&lt;A href="https://github.com/intel/SGXDataCenterAttestationPrimitives/tree/master/QuoteVerification" rel="noopener noreferrer" target="_blank"&gt;DCAP Quote Verification Library&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For DCAP, the&amp;nbsp;&lt;A href="https://api.portal.trustedservices.intel.com/provisioning-certification" rel="noopener noreferrer" target="_blank"&gt;Intel Provisioning Certification Service&lt;/A&gt;&amp;nbsp;provides PCK certificates, TCB info, revocation lists, and quoting enclave identity to the service provider so that the service provider can perform the attestation.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The&amp;nbsp;&lt;A href="https://download.01.org/intel-sgx/latest/dcap-latest/linux/docs/DCAP_ECDSA_Orientation.pdf" rel="noopener noreferrer" target="_blank"&gt;Intel DCAP Product Brief&lt;/A&gt;&amp;nbsp;explains how all these pieces fit together.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sincerely,&lt;/P&gt;&lt;P&gt;Zulkifli&lt;/P&gt;&lt;BR /&gt;</description>
    <pubDate>Sat, 20 May 2023 00:01:22 GMT</pubDate>
    <dc:creator>Zulkifli_Intel</dc:creator>
    <dc:date>2023-05-20T00:01:22Z</dc:date>
    <item>
      <title>Retrieve attesation key certificate</title>
      <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Retrieve-attesation-key-certificate/m-p/1486771#M5738</link>
      <description>&lt;P&gt;The Quoting Enclave (QE) generates an attestation key (AK), signed by the Provisioning Certification Enclave (PCE), which is then used to sign the report and the ECDSA quote.&lt;/P&gt;&lt;P&gt;How do you get the AK certificate from outside the QE to verify the certificate chain up to the Intel root CA certificate? I am trying to build a report verification system in golang.&amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your help!&lt;/P&gt;</description>
      <pubDate>Tue, 16 May 2023 23:02:21 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Retrieve-attesation-key-certificate/m-p/1486771#M5738</guid>
      <dc:creator>ChrisCode</dc:creator>
      <dc:date>2023-05-16T23:02:21Z</dc:date>
    </item>
    <item>
      <title>Re:Retrieve attesation key certificate</title>
      <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Retrieve-attesation-key-certificate/m-p/1487081#M5739</link>
      <description>&lt;P&gt;Hello ChrisCode,&lt;/P&gt;&lt;P&gt;Thank you for reaching out to us.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm looking into this matter and have an answer for you as soon as possible.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sincerely,&lt;/P&gt;&lt;P&gt;Zulkifli&amp;nbsp;&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 17 May 2023 16:56:18 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Retrieve-attesation-key-certificate/m-p/1487081#M5739</guid>
      <dc:creator>Zulkifli_Intel</dc:creator>
      <dc:date>2023-05-17T16:56:18Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieve attesation key certificate</title>
      <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Retrieve-attesation-key-certificate/m-p/1487243#M5740</link>
      <description>&lt;P&gt;Hi ChrisCode,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The Quote Enclave (QE) generates a unique asymmetric Attestation Key (AK). The QE provides the Provisioning Certification Enclave (PCE) with the attestation public key.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Since QE receives REPORTs from other enclaves, verifies them, and signs with the AK before returning the results, therefore AK may not be obtained from outside of the QE.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here are some of the reasons why the AK may not be obtained from outside of the QE. The first reason is that the AK is stored in a secure enclave in memory, which is a protected area of memory that is inaccessible to the rest of the system, in order to prevent unauthorized access.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Another reason is that the AK is encrypted using a memory encryption key and it's not accessible. This encryption prevents an attacker from simply reading the AK from memory.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Sincerely,&lt;/P&gt;
&lt;P&gt;Zulkifli&lt;/P&gt;</description>
      <pubDate>Thu, 18 May 2023 21:03:46 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Retrieve-attesation-key-certificate/m-p/1487243#M5740</guid>
      <dc:creator>Zulkifli_Intel</dc:creator>
      <dc:date>2023-05-18T21:03:46Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieve attesation key certificate</title>
      <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Retrieve-attesation-key-certificate/m-p/1487873#M5747</link>
      <description>&lt;P&gt;Thanks for you answer. Of course the private part of the attestation key must stay in the enclave. But this was not my question.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I currently still don't understand how to verify the authenticity of the ECDSA attestation public key, that we receive as part of the quote. (Page 65,&amp;nbsp;&lt;A href="https://download.01.org/intel-sgx/latest/dcap-latest/linux/docs/Intel_SGX_ECDSA_QuoteLibReference_DCAP_API.pdf" target="_self"&gt;Table 4&lt;/A&gt;). In this &lt;A href="https://www.intel.com/content/dam/develop/external/us/en/documents/intel-sgx-support-for-third-party-attestation-801017.pdf" target="_self"&gt;paper&lt;/A&gt; it says: "The PCE authenticates the request and issues a certificate-like structure identifying the QE and the Attestation Key (3)." (section 3.1) Thats why I thought there is also a certificate for the AK.&amp;nbsp;&lt;/P&gt;&lt;P&gt;AMD SEV(-SNP) for example signs the reports with the Versioned Chip endorsement key (VCEK) and one can verify the VCEK simply with its corresponding certificate.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Or is it meant the following way:&lt;/P&gt;&lt;P&gt;As stated in the documentation, we trust the QE, since it is an "Intel signed enclave that is trusted by the attestation infrastructure".&lt;/P&gt;&lt;P&gt;I looked at the DCAP quote verification library and the verification function takes additional quote collateral data (&lt;SPAN&gt;struct sgx_ql_qve_collateral_t&lt;/SPAN&gt;&lt;SPAN&gt;), which contains data that is necessary to verify the quote, like&amp;nbsp;&lt;/SPAN&gt;QE identity structure.&lt;/P&gt;&lt;P&gt;So, by verifying the signature of this QE identity structure we can verify the QE. Does this now mean, that we can trust the AKs generated by the QE, which are used to sign the attestation reports? And we don't need to verify the AK public key in the quote?&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 19 May 2023 16:30:17 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Retrieve-attesation-key-certificate/m-p/1487873#M5747</guid>
      <dc:creator>ChrisCode</dc:creator>
      <dc:date>2023-05-19T16:30:17Z</dc:date>
    </item>
    <item>
      <title>Re:Retrieve attesation key certificate</title>
      <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Retrieve-attesation-key-certificate/m-p/1488002#M5748</link>
      <description>&lt;P&gt;Hi ChrisCode&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In a DCAP environment, the&amp;nbsp;&lt;A href="https://api.portal.trustedservices.intel.com/EPID-attestation" rel="noopener noreferrer" target="_blank"&gt;Intel Attestation Services (IAS)&lt;/A&gt;&amp;nbsp;does not verify the enclave. IAS is used to verify enclaves only for EPID-based attestation.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For ECDSA attestation, the service provider must build their own attestation service using the&amp;nbsp;&lt;A href="https://github.com/intel/SGXDataCenterAttestationPrimitives" rel="noopener noreferrer" target="_blank"&gt;DCAP primitives&lt;/A&gt;. The service provider/relying party verifies the SGX platform using the&amp;nbsp;&lt;A href="https://github.com/intel/SGXDataCenterAttestationPrimitives/tree/master/QuoteVerification" rel="noopener noreferrer" target="_blank"&gt;DCAP Quote Verification Library&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For DCAP, the&amp;nbsp;&lt;A href="https://api.portal.trustedservices.intel.com/provisioning-certification" rel="noopener noreferrer" target="_blank"&gt;Intel Provisioning Certification Service&lt;/A&gt;&amp;nbsp;provides PCK certificates, TCB info, revocation lists, and quoting enclave identity to the service provider so that the service provider can perform the attestation.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The&amp;nbsp;&lt;A href="https://download.01.org/intel-sgx/latest/dcap-latest/linux/docs/DCAP_ECDSA_Orientation.pdf" rel="noopener noreferrer" target="_blank"&gt;Intel DCAP Product Brief&lt;/A&gt;&amp;nbsp;explains how all these pieces fit together.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sincerely,&lt;/P&gt;&lt;P&gt;Zulkifli&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Sat, 20 May 2023 00:01:22 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Retrieve-attesation-key-certificate/m-p/1488002#M5748</guid>
      <dc:creator>Zulkifli_Intel</dc:creator>
      <dc:date>2023-05-20T00:01:22Z</dc:date>
    </item>
    <item>
      <title>Re:Retrieve attesation key certificate</title>
      <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Retrieve-attesation-key-certificate/m-p/1488461#M5751</link>
      <description>&lt;P&gt;This thread will no longer be monitored since this issue has been resolved. If you need any additional information from Intel, please submit a new question.&amp;nbsp;&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 22 May 2023 15:08:24 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Retrieve-attesation-key-certificate/m-p/1488461#M5751</guid>
      <dc:creator>Zulkifli_Intel</dc:creator>
      <dc:date>2023-05-22T15:08:24Z</dc:date>
    </item>
  </channel>
</rss>

