<?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: Inquiry About Creating Enclaves and Using Intel SGX SDK and PSW in Intel® Software Guard Extensions (Intel® SGX)</title>
    <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Inquiry-About-Creating-Enclaves-and-Using-Intel-SGX-SDK-and-PSW/m-p/1523244#M5926</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.intel.com/t5/user/viewprofilepage/user-id/29"&gt;@Sahira_Intel&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to write a simple "addition of two numbers" C++ program for practice or better understanding so how to use Intel SGX SDK package for linux to create enclaves.&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;In SDK there are sample codes(for example : SampleCode/ SampleEnclave/(App.cpp ,Enclave.cpp etc) how to use them for above mentioned program.&lt;/P&gt;&lt;P class=""&gt;Regards&lt;/P&gt;&lt;P class=""&gt;Ankit&lt;/P&gt;</description>
    <pubDate>Wed, 13 Sep 2023 06:15:21 GMT</pubDate>
    <dc:creator>Ankit_17</dc:creator>
    <dc:date>2023-09-13T06:15:21Z</dc:date>
    <item>
      <title>Inquiry About Creating Enclaves and Using Intel SGX SDK and PSW</title>
      <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Inquiry-About-Creating-Enclaves-and-Using-Intel-SGX-SDK-and-PSW/m-p/1517139#M5886</link>
      <description>&lt;DIV class=""&gt;Hi,&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;I am reaching out to seek assistance and guidance regarding Intel Software Guard Extensions (SGX) technology. I have successfully installed and built the Intel SGX SDK ,SGX Driver and Platform Software (PSW) on my LINUX system as per these instructions (&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A class="" href="https://github.com/intel/linux-sgx" target="_blank" rel="noopener noreferrer"&gt;https://github.com/intel/linux-sgx&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;)&amp;nbsp; &amp;nbsp;and I've successfully compiled the codes under SampleCode folder, and now I'm interested in creating enclaves to secure data for my applications. I would greatly appreciate your guidance on the following topics:&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;1. Enclave Creation:&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp; &amp;nbsp;I'm looking to create enclaves within my applications to enhance the security and confidentiality of sensitive data. Could you please provide me with detailed steps, best practices, and resources on how to create enclaves using the Intel SGX SDK? I am particularly interested in understanding the process of writing enclave code, compiling it, and integrating it with my applications.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;2. Using SGX SDK and PSW:&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp; &amp;nbsp;With the successful installation and build of the Intel SGX SDK and PSW, I would like to explore how to effectively utilize these tools to secure the data of my applications. Are there any specific guidelines, tutorials, or sample projects that showcase the integration of the SGX SDK and PSW to create secure enclaves?&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;3. Remote Attestation and Security Considerations:&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp; &amp;nbsp;I am also curious about the concept of remote attestation and how it can be used to provide evidence of an enclave's authenticity. Additionally, I would appreciate any insights or best practices related to security considerations when designing and implementing enclaves to safeguard sensitive data.&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;Thank you&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;I am eager to learn and implement the best practices recommended by Intel to ensure the successful and secure utilization of SGX technology.&lt;/DIV&gt;&lt;DIV class=""&gt;Your assistance in providing clear instructions, documentation references, and any relevant resources would be of immense help to me.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Thu, 24 Aug 2023 06:33:33 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Inquiry-About-Creating-Enclaves-and-Using-Intel-SGX-SDK-and-PSW/m-p/1517139#M5886</guid>
      <dc:creator>Ankit_17</dc:creator>
      <dc:date>2023-08-24T06:33:33Z</dc:date>
    </item>
    <item>
      <title>Re: Inquiry About Creating Enclaves and Using Intel SGX SDK and PSW</title>
      <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Inquiry-About-Creating-Enclaves-and-Using-Intel-SGX-SDK-and-PSW/m-p/1523097#M5921</link>
      <description>&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;Hi Ankit_17,&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;Apologies for not responding sooner, we somehow missed this post.&lt;/FONT&gt;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: intel-clear; font-size: 12.0pt; color: #262626;"&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;&lt;STRONG&gt;1. Enclave Creation:&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: intel-clear; font-size: 12.0pt; color: #262626;"&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;&lt;STRONG&gt;I'm looking to create enclaves within my applications to enhance the security and confidentiality of sensitive data. Could you please provide me with detailed steps, best practices, and resources on how to create enclaves using the Intel SGX SDK? I am particularly interested in understanding the process of writing enclave code, compiling it, and integrating it with my applications.&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 12.0pt; color: #262626;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 12.0pt; color: #1e4e79;"&gt;&lt;FONT face="arial,helvetica,sans-serif" size="3" color="#000000"&gt;The best way to create a simple enclave is to look at the samples as you mentioned above to see the general workflow, and how Ecalls and Ocalls work. The most simple sample that will demonstrate this is SampleEnclave.&lt;/FONT&gt;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri;"&gt;&lt;FONT face="arial,helvetica,sans-serif" size="3" color="#000000"&gt;&lt;SPAN&gt;Two very valuable resources for writing your own applications are the Linux Developer Guide: &lt;/SPAN&gt;&lt;A href="https://download.01.org/intel-sgx/latest/linux-latest/docs/Intel_SGX_Developer_Guide.pdf" target="_blank"&gt;&lt;SPAN&gt;https://download.01.org/intel-sgx/latest/linux-latest/docs/Intel_SGX_Developer_Guide.pdf&lt;/SPAN&gt;&lt;/A&gt; &lt;SPAN&gt;and the Developer Reference Guide: &lt;/SPAN&gt;&lt;SPAN&gt;&lt;A href="https://download.01.org/intel-sgx/latest/linux-latest/docs/Intel_SGX_Developer_Reference_Linux_2.21_Open_Source.pdf" target="_blank"&gt;https://download.01.org/intel-sgx/latest/linux-latest/docs/Intel_SGX_Developer_Reference_Linux_2.21_Open_Source.pdf&lt;/A&gt;&lt;A href="https://download.01.org/intel-sgx/latest/linux-latest/docs/Intel_SGX_Developer_Reference_Linux_2.21_Open_Source.pdf" target="_blank"&gt;&amp;nbsp;&amp;nbsp;&lt;/A&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: intel-clear; font-size: 12.0pt; color: #262626;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: intel-clear; font-size: 12.0pt; color: #262626;"&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;&lt;STRONG&gt;2. Using SGX SDK and PSW:&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: intel-clear; font-size: 12.0pt; color: #262626;"&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;&lt;STRONG&gt;With the successful installation and build of the Intel SGX SDK and PSW, I would like to explore how to effectively utilize these tools to secure the data of my applications. Are there any specific guidelines, tutorials, or sample projects that showcase the integration of the SGX SDK and PSW to create secure enclaves?&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 12.0pt; color: #1e4e79;"&gt;&lt;FONT face="arial,helvetica,sans-serif" size="3" color="#000000"&gt;Please reference the two documents I linked earlier, they will go over the SDK and PSW as well.&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: intel-clear; font-size: 12.0pt; color: #262626;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: intel-clear; font-size: 12.0pt; color: #262626;"&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;&lt;STRONG&gt;3. Remote Attestation and Security Considerations:&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: intel-clear; font-size: 12.0pt; color: #262626;"&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;&lt;STRONG&gt;I am also curious about the concept of remote attestation and how it can be used to provide evidence of an enclave's authenticity. Additionally, I would appreciate any insights or best practices related to security considerations when designing and implementing enclaves to safeguard sensitive data.&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: intel-clear; font-size: 12.0pt; color: #262626;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 12.0pt; color: #1e4e79;"&gt;&lt;FONT face="arial,helvetica,sans-serif" size="3" color="#000000"&gt;Remote attestation allows an entity to gain a remote provider's trust. RA gives the relying party increased confidence that the software is running inside an SGX enclave and on a fully updated system at the latest security level (also referred to as the trusted computing base (TCB) version).&lt;/FONT&gt;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 12.0pt; color: #1e4e79;"&gt;&lt;FONT face="arial,helvetica,sans-serif" size="3" color="#000000"&gt;Attestation results provide the identity of the software being attested, details of an unmeasured state, and as assessment of possible software tampering.&lt;/FONT&gt;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 12.0pt; color: #1e4e79;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 12.0pt; color: #1e4e79;"&gt;&lt;FONT face="arial,helvetica,sans-serif" size="3" color="#000000"&gt;Basically, after an enclave successfully attests itself to a relying party, an encrypted communication channel can be established between the two. Secret data can be exchanged directly to the enclave.&lt;/FONT&gt;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 12.0pt; color: #1e4e79;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;&lt;FONT face="arial,helvetica,sans-serif" size="3" color="#000000"&gt;&lt;SPAN&gt;Visit this page for more information on SGX RA: &lt;/SPAN&gt;&lt;A href="https://www.intel.com/content/www/us/en/developer/tools/software-guard-extensions/attestation-services.html" target="_blank"&gt;https://www.intel.com/content/www/us/en/developer/tools/software-guard-extensions/attestation-services.html&lt;/A&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;&lt;FONT face="arial,helvetica,sans-serif" size="3" color="#000000"&gt;And here is a great end-to-end example of RA: &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;&lt;/FONT&gt;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;&lt;FONT face="arial,helvetica,sans-serif" size="3"&gt;I hope this information was helpful. Please let me know if there are any specific questions I can answer for you.&lt;/FONT&gt;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;&lt;FONT face="arial,helvetica,sans-serif" size="3"&gt;Sincerely,&lt;/FONT&gt;&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;"&gt;&lt;FONT face="arial,helvetica,sans-serif" size="3"&gt;Sahira&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Sep 2023 20:37:24 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Inquiry-About-Creating-Enclaves-and-Using-Intel-SGX-SDK-and-PSW/m-p/1523097#M5921</guid>
      <dc:creator>Sahira_Intel</dc:creator>
      <dc:date>2023-09-12T20:37:24Z</dc:date>
    </item>
    <item>
      <title>Re: Inquiry About Creating Enclaves and Using Intel SGX SDK and PSW</title>
      <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Inquiry-About-Creating-Enclaves-and-Using-Intel-SGX-SDK-and-PSW/m-p/1523244#M5926</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.intel.com/t5/user/viewprofilepage/user-id/29"&gt;@Sahira_Intel&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to write a simple "addition of two numbers" C++ program for practice or better understanding so how to use Intel SGX SDK package for linux to create enclaves.&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;In SDK there are sample codes(for example : SampleCode/ SampleEnclave/(App.cpp ,Enclave.cpp etc) how to use them for above mentioned program.&lt;/P&gt;&lt;P class=""&gt;Regards&lt;/P&gt;&lt;P class=""&gt;Ankit&lt;/P&gt;</description>
      <pubDate>Wed, 13 Sep 2023 06:15:21 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Inquiry-About-Creating-Enclaves-and-Using-Intel-SGX-SDK-and-PSW/m-p/1523244#M5926</guid>
      <dc:creator>Ankit_17</dc:creator>
      <dc:date>2023-09-13T06:15:21Z</dc:date>
    </item>
    <item>
      <title>Re:Inquiry About Creating Enclaves and Using Intel SGX SDK and PSW</title>
      <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Inquiry-About-Creating-Enclaves-and-Using-Intel-SGX-SDK-and-PSW/m-p/1524910#M5934</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;There are no other Intel SGX samples other than the ones I listed above from the SGX Linux Github. The best way is to read through the Developer Reference guide to understand how enclaves work and how they communicate with untrusted applications. &lt;/P&gt;&lt;P&gt;You can reference this discussion: &lt;A href="https://stackoverflow.com/questions/61648303/intel-sgx-pass-ints-from-application-to-enclave" target="_blank"&gt;https://stackoverflow.com/questions/61648303/intel-sgx-pass-ints-from-application-to-enclave&lt;/A&gt; from the SGX community that might be able to guide you. &lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Sincerely,&lt;/P&gt;&lt;P&gt;Sahira &lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 18 Sep 2023 17:04:12 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Inquiry-About-Creating-Enclaves-and-Using-Intel-SGX-SDK-and-PSW/m-p/1524910#M5934</guid>
      <dc:creator>Sahira_Intel</dc:creator>
      <dc:date>2023-09-18T17:04:12Z</dc:date>
    </item>
    <item>
      <title>Re: Inquiry About Creating Enclaves and Using Intel SGX SDK and PSW</title>
      <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Inquiry-About-Creating-Enclaves-and-Using-Intel-SGX-SDK-and-PSW/m-p/1526547#M5942</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the update.&lt;/P&gt;&lt;P&gt;If I'll have any doubt ,I 'll reach out to you for assistance&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Sep 2023 05:52:13 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Inquiry-About-Creating-Enclaves-and-Using-Intel-SGX-SDK-and-PSW/m-p/1526547#M5942</guid>
      <dc:creator>Ankit_17</dc:creator>
      <dc:date>2023-09-22T05:52:13Z</dc:date>
    </item>
  </channel>
</rss>

