<?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: Hello. in Intel® Software Guard Extensions (Intel® SGX)</title>
    <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/copy-sealed-data-between-different-machines/m-p/1339214#M5008</link>
    <description>&lt;P&gt;&lt;a href="https://community.intel.com/t5/user/viewprofilepage/user-id/111072"&gt;@Scott_R_Intel&lt;/a&gt;&amp;nbsp;As you said, to unseal data on a different machine, we need firstly to provision a shared key by remote attestation, then use this to seal/unseal data, however i looked through sdk document,&amp;nbsp;&amp;nbsp;both&amp;nbsp;&lt;SPAN class="fontstyle0"&gt;sgx_seal_data_ex and&amp;nbsp; sgx_unseal_data&amp;nbsp; has no parameter that we can input the shared key, how should we use the shared key? can we use protected file?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="fontstyle0"&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="fontstyle0"&gt;Meng Guo qing&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 25 Nov 2021 16:00:34 GMT</pubDate>
    <dc:creator>guoqing</dc:creator>
    <dc:date>2021-11-25T16:00:34Z</dc:date>
    <item>
      <title>copy sealed data between different machines</title>
      <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/copy-sealed-data-between-different-machines/m-p/1157845#M2768</link>
      <description>&lt;P&gt;hi,&lt;BR /&gt;i sealed data with enclave that use&amp;nbsp;MRENCLAVE key policy, and save the sealed data into file (via ocall),&lt;BR /&gt;if i copy the sealed data to other machine and launch same&amp;nbsp;encalve there - it should be unsealed the data ?&lt;/P&gt;</description>
      <pubDate>Sun, 15 Dec 2019 14:31:53 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Software-Guard-Extensions/copy-sealed-data-between-different-machines/m-p/1157845#M2768</guid>
      <dc:creator>Gross__Noam</dc:creator>
      <dc:date>2019-12-15T14:31:53Z</dc:date>
    </item>
    <item>
      <title>Hello.</title>
      <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/copy-sealed-data-between-different-machines/m-p/1157846#M2769</link>
      <description>&lt;P&gt;Hello.&lt;/P&gt;&lt;P&gt;No, the keys derived on one CPU using either MRENCLAVE or MRSIGNER policies will &lt;STRONG&gt;not &lt;/STRONG&gt;be the same as keys on another CPU.&amp;nbsp; The sealing keys are CPU specific.&amp;nbsp; More info in this video:&amp;nbsp; &lt;A href="https://software.intel.com/en-us/videos/how-to-seal-data-in-intel-sgx" target="_blank"&gt;https://software.intel.com/en-us/videos/how-to-seal-data-in-intel-sgx&lt;/A&gt;&lt;/P&gt;&lt;P&gt;To be able to seal sharable data blobs between two different CPUs would require the use of SGX remote attestation to provision shared key(s) to both enclaves that could then be used to seal/unseal the data.&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;P&gt;Scott&lt;/P&gt;</description>
      <pubDate>Mon, 16 Dec 2019 20:43:17 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Software-Guard-Extensions/copy-sealed-data-between-different-machines/m-p/1157846#M2769</guid>
      <dc:creator>Scott_R_Intel</dc:creator>
      <dc:date>2019-12-16T20:43:17Z</dc:date>
    </item>
    <item>
      <title>Re: Hello.</title>
      <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/copy-sealed-data-between-different-machines/m-p/1339214#M5008</link>
      <description>&lt;P&gt;&lt;a href="https://community.intel.com/t5/user/viewprofilepage/user-id/111072"&gt;@Scott_R_Intel&lt;/a&gt;&amp;nbsp;As you said, to unseal data on a different machine, we need firstly to provision a shared key by remote attestation, then use this to seal/unseal data, however i looked through sdk document,&amp;nbsp;&amp;nbsp;both&amp;nbsp;&lt;SPAN class="fontstyle0"&gt;sgx_seal_data_ex and&amp;nbsp; sgx_unseal_data&amp;nbsp; has no parameter that we can input the shared key, how should we use the shared key? can we use protected file?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="fontstyle0"&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="fontstyle0"&gt;Meng Guo qing&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 25 Nov 2021 16:00:34 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Software-Guard-Extensions/copy-sealed-data-between-different-machines/m-p/1339214#M5008</guid>
      <dc:creator>guoqing</dc:creator>
      <dc:date>2021-11-25T16:00:34Z</dc:date>
    </item>
    <item>
      <title>Re: copy sealed data between different machines</title>
      <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/copy-sealed-data-between-different-machines/m-p/1339929#M5011</link>
      <description>&lt;P&gt;Hello again.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You are correct...&amp;nbsp; By design, the higher level seal/unseal functions in the SGX SDK all ultimately end up using the CPU specific sealing keys.&amp;nbsp; For example, if you follow the code flow for sgx_seal_data, you'll see it ultimately calls the EGETKEY wrapper function, called &lt;A href="https://github.com/intel/linux-sgx/blob/a59e51e223da75cf7cc37b3de2c12aa26ba51f55/sdk/tseal/tSeal_internal.cpp#L72" target="_self"&gt;sgx_get_key&lt;/A&gt;.&amp;nbsp; To use a key you have provisioned yourself after a successful SGX remote attestation, one way would be to take this code and modify it in your own library to use that pre-provisioned key versus calling sgx_get_key.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this helps.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Scott&lt;/P&gt;</description>
      <pubDate>Mon, 29 Nov 2021 16:36:11 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Software-Guard-Extensions/copy-sealed-data-between-different-machines/m-p/1339929#M5011</guid>
      <dc:creator>Scott_R_Intel</dc:creator>
      <dc:date>2021-11-29T16:36:11Z</dc:date>
    </item>
    <item>
      <title>Re: copy sealed data between different machines</title>
      <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/copy-sealed-data-between-different-machines/m-p/1341181#M5027</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have been in a similar situation where I needed to share a common Key between two enclaves.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My approach is that, each enclave has to create a Asymmetric key and in the attestation report you have an option to add some bytes of data in the report body. So add your pubkey in the report body. Now each enclave has to share their report with one another. After successful verification using the pub key in the report one enclave can encrypt the data and share it with respective enclave.&lt;/P&gt;
&lt;P&gt;Here, IAS attestation verification need to be done at trusted part.&lt;/P&gt;</description>
      <pubDate>Fri, 03 Dec 2021 06:46:43 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Software-Guard-Extensions/copy-sealed-data-between-different-machines/m-p/1341181#M5027</guid>
      <dc:creator>Anandakumar</dc:creator>
      <dc:date>2021-12-03T06:46:43Z</dc:date>
    </item>
  </channel>
</rss>

