<?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: How to verify the correctness of the server's code in Intel® Software Guard Extensions (Intel® SGX)</title>
    <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/How-to-verify-the-correctness-of-the-server-s-code/m-p/1400787#M5396</link>
    <description>&lt;P&gt;Hi double,&lt;/P&gt;
&lt;P&gt;If you look at the code from the article you linked, you can find that the measurement from that article is compare &lt;A href="https://github.com/intel/sgx-ra-sample/blob/53445084bd4a5709ec3cd8d168f37e46b6ae9f14/enclave_verify.c#L91" target="_blank"&gt;here&lt;/A&gt;, and looking at the report structure in the SGX SDK code, you can see that the enclave measurement (MRENCLAVE) is part of the&amp;nbsp;report body, as seen &lt;A href="https://github.com/intel/linux-sgx/blob/fdb3b8b4695b40afab5a3212cf69eb8d8db7cfb1/common/inc/sgx_report.h#L100" target="_blank"&gt;here&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;Hope this is helpful.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Sincerely,&lt;/P&gt;
&lt;P&gt;Sahira&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 15 Jul 2022 21:41:58 GMT</pubDate>
    <dc:creator>Sahira_Intel</dc:creator>
    <dc:date>2022-07-15T21:41:58Z</dc:date>
    <item>
      <title>How to verify the correctness of the server's code</title>
      <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/How-to-verify-the-correctness-of-the-server-s-code/m-p/1395767#M5358</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;If I want to run the enclave code in a remote server, I need to do remote attestation with the remote server. But how can I guarantee that the enclave code running in the remote server is the enclave code I provide? After studying the code samples for remote attestation(&lt;A href="https://www.intel.com/content/www/us/en/developer/articles/code-sample/software-guard-extensions-remote-attestation-end-to-end-example.html" target="_blank"&gt;https://www.intel.com/content/www/us/en/developer/articles/code-sample/software-guard-extensions-remote-attestation-end-to-end-example.html&lt;/A&gt;), I guessed that the enclave measurement in the remote server should be represented by report_body in quote[] in Msg3. But regarding the fields in the report_body I don't see the measurement section regarding the enclave code. I don't know how the client can ensure that the enclave code in the remote server is legitimate.&lt;/P&gt;
&lt;P&gt;Thank you very much.&lt;/P&gt;</description>
      <pubDate>Mon, 27 Jun 2022 19:11:37 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Software-Guard-Extensions/How-to-verify-the-correctness-of-the-server-s-code/m-p/1395767#M5358</guid>
      <dc:creator>double</dc:creator>
      <dc:date>2022-06-27T19:11:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to verify the correctness of the server's code</title>
      <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/How-to-verify-the-correctness-of-the-server-s-code/m-p/1400787#M5396</link>
      <description>&lt;P&gt;Hi double,&lt;/P&gt;
&lt;P&gt;If you look at the code from the article you linked, you can find that the measurement from that article is compare &lt;A href="https://github.com/intel/sgx-ra-sample/blob/53445084bd4a5709ec3cd8d168f37e46b6ae9f14/enclave_verify.c#L91" target="_blank"&gt;here&lt;/A&gt;, and looking at the report structure in the SGX SDK code, you can see that the enclave measurement (MRENCLAVE) is part of the&amp;nbsp;report body, as seen &lt;A href="https://github.com/intel/linux-sgx/blob/fdb3b8b4695b40afab5a3212cf69eb8d8db7cfb1/common/inc/sgx_report.h#L100" target="_blank"&gt;here&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;Hope this is helpful.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Sincerely,&lt;/P&gt;
&lt;P&gt;Sahira&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Jul 2022 21:41:58 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Software-Guard-Extensions/How-to-verify-the-correctness-of-the-server-s-code/m-p/1400787#M5396</guid>
      <dc:creator>Sahira_Intel</dc:creator>
      <dc:date>2022-07-15T21:41:58Z</dc:date>
    </item>
  </channel>
</rss>

