<?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 Thanks, I will do it once I in Intel® Software Guard Extensions (Intel® SGX)</title>
    <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/reproducible-MR-ENCLAVE/m-p/1134921#M2016</link>
    <description>&lt;P&gt;Thanks, I will do it once I get to my workstation.&lt;/P&gt;

&lt;P&gt;Just to clarify: it shouldn't matter if I'm building SIM or HW, DEBUG or not, right?&lt;/P&gt;

&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;Francisco C. (Intel) wrote:&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;You are using Linux right?&lt;/P&gt;

&lt;P&gt;Can you do a binary dump of both ELF files and then check for differences? I'm looking for which ELF sections contain differences.&lt;/P&gt;

&lt;P&gt;Thanks,&lt;/P&gt;

&lt;P&gt;Francisco&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 04 Oct 2017 15:40:41 GMT</pubDate>
    <dc:creator>Fan</dc:creator>
    <dc:date>2017-10-04T15:40:41Z</dc:date>
    <item>
      <title>reproducible MR_ENCLAVE</title>
      <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/reproducible-MR-ENCLAVE/m-p/1134919#M2014</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;Is there a way to make sure the same source code will always compile to the same binary with the same MR_ENCLAVE? In my experience, if I compile on the same platform for multiple times, the MR_ENCLAVE is indeed the same. But if I compile the same code on different machines (even if the kernel and&amp;nbsp;packages are exactly the same, e.g. two containers from the same Docker image), the resultant MR_ENCLAVE is different. Why is that the case?&lt;/P&gt;

&lt;P&gt;My goal is for the users of my enclave to be able to reproduce the same MR_ENCLAVE on their own platform, and say "oh that's indeed the source code I see that's running in the cloud". Isn't this one major use case of SGX?&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Any clarification is appreciated. Thanks.&lt;/P&gt;

&lt;P&gt;Fan&lt;/P&gt;</description>
      <pubDate>Tue, 03 Oct 2017 01:54:01 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Software-Guard-Extensions/reproducible-MR-ENCLAVE/m-p/1134919#M2014</guid>
      <dc:creator>Fan</dc:creator>
      <dc:date>2017-10-03T01:54:01Z</dc:date>
    </item>
    <item>
      <title>You are using Linux right?</title>
      <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/reproducible-MR-ENCLAVE/m-p/1134920#M2015</link>
      <description>&lt;P&gt;You are using Linux right?&lt;/P&gt;

&lt;P&gt;Can you do a binary dump of both ELF files and then check for differences? I'm looking for which ELF sections contain differences.&lt;/P&gt;

&lt;P&gt;Thanks,&lt;/P&gt;

&lt;P&gt;Francisco&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Oct 2017 15:25:07 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Software-Guard-Extensions/reproducible-MR-ENCLAVE/m-p/1134920#M2015</guid>
      <dc:creator>Francisco_C_Intel</dc:creator>
      <dc:date>2017-10-04T15:25:07Z</dc:date>
    </item>
    <item>
      <title>Thanks, I will do it once I</title>
      <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/reproducible-MR-ENCLAVE/m-p/1134921#M2016</link>
      <description>&lt;P&gt;Thanks, I will do it once I get to my workstation.&lt;/P&gt;

&lt;P&gt;Just to clarify: it shouldn't matter if I'm building SIM or HW, DEBUG or not, right?&lt;/P&gt;

&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;Francisco C. (Intel) wrote:&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;You are using Linux right?&lt;/P&gt;

&lt;P&gt;Can you do a binary dump of both ELF files and then check for differences? I'm looking for which ELF sections contain differences.&lt;/P&gt;

&lt;P&gt;Thanks,&lt;/P&gt;

&lt;P&gt;Francisco&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Oct 2017 15:40:41 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Software-Guard-Extensions/reproducible-MR-ENCLAVE/m-p/1134921#M2016</guid>
      <dc:creator>Fan</dc:creator>
      <dc:date>2017-10-04T15:40:41Z</dc:date>
    </item>
    <item>
      <title>The MRENCLAVE will be</title>
      <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/reproducible-MR-ENCLAVE/m-p/1134922#M2017</link>
      <description>&lt;P&gt;The MRENCLAVE will be different for SIM vs HW, and Debug vs PreRelease will be diff as well.&lt;/P&gt;</description>
      <pubDate>Fri, 06 Oct 2017 16:09:01 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Software-Guard-Extensions/reproducible-MR-ENCLAVE/m-p/1134922#M2017</guid>
      <dc:creator>Francisco_C_Intel</dc:creator>
      <dc:date>2017-10-06T16:09:01Z</dc:date>
    </item>
    <item>
      <title>Quote:Francisco C. (Intel)</title>
      <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/reproducible-MR-ENCLAVE/m-p/1134923#M2018</link>
      <description>&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;Francisco C. (Intel) wrote:&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;The MRENCLAVE will be different for SIM vs HW, and Debug vs PreRelease will be diff as well.&lt;/P&gt;

&lt;P&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;Please find the diff of two enclaves at&amp;nbsp;&lt;A href="https://pastebin.com/XGBK8wQu"&gt;https://pastebin.com/XGBK8wQu&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Both are compiled in Debug mode with SIM, using the same docker images (but two container instances).&lt;/P&gt;

&lt;P&gt;Fan&lt;/P&gt;</description>
      <pubDate>Fri, 06 Oct 2017 18:08:25 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Software-Guard-Extensions/reproducible-MR-ENCLAVE/m-p/1134923#M2018</guid>
      <dc:creator>Fan</dc:creator>
      <dc:date>2017-10-06T18:08:25Z</dc:date>
    </item>
    <item>
      <title>If you were to exclude the</title>
      <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/reproducible-MR-ENCLAVE/m-p/1134924#M2019</link>
      <description>&lt;P&gt;If you were to exclude the .sgxmeta section, you can see that the binaries differ slightly, and this is why the MRENCLAVE is different.&lt;/P&gt;

&lt;P&gt;It's possible that&amp;nbsp;this is&amp;nbsp;an issue with the settings the SDK uses&amp;nbsp;when in&amp;nbsp;SIM mode. Are you also seeing the same issue if you were to build for HW mode?&lt;/P&gt;

&lt;P&gt;Thanks,&lt;/P&gt;

&lt;P&gt;Francisco&lt;/P&gt;</description>
      <pubDate>Fri, 06 Oct 2017 19:17:03 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Software-Guard-Extensions/reproducible-MR-ENCLAVE/m-p/1134924#M2019</guid>
      <dc:creator>Francisco_C_Intel</dc:creator>
      <dc:date>2017-10-06T19:17:03Z</dc:date>
    </item>
    <item>
      <title>@Francisco D, how can i get</title>
      <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/reproducible-MR-ENCLAVE/m-p/1134925#M2020</link>
      <description>&lt;P&gt;@Francisco D, how can i get the mrenclave&amp;nbsp; and mrsigner reference value ?&lt;/P&gt;</description>
      <pubDate>Tue, 19 Feb 2019 00:27:15 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Software-Guard-Extensions/reproducible-MR-ENCLAVE/m-p/1134925#M2020</guid>
      <dc:creator>Zhang__Huiqiang</dc:creator>
      <dc:date>2019-02-19T00:27:15Z</dc:date>
    </item>
    <item>
      <title>Answered in your other thread</title>
      <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/reproducible-MR-ENCLAVE/m-p/1134926#M2021</link>
      <description>&lt;P&gt;Answered in your other thread:&amp;nbsp;&amp;nbsp;&lt;A href="https://software.intel.com/en-us/forums/intel-software-guard-extensions-intel-sgx/topic/805220#comment-1934414"&gt;https://software.intel.com/en-us/forums/intel-software-guard-extensions-intel-sgx/topic/805220#comment-1934414&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;P&gt;Scott&lt;/P&gt;</description>
      <pubDate>Tue, 19 Feb 2019 13:38:31 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Software-Guard-Extensions/reproducible-MR-ENCLAVE/m-p/1134926#M2021</guid>
      <dc:creator>Scott_R_Intel</dc:creator>
      <dc:date>2019-02-19T13:38:31Z</dc:date>
    </item>
  </channel>
</rss>

