<?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 We have written a blog on in Intel® Software Guard Extensions (Intel® SGX)</title>
    <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/SGX-ERROR-SERVICE-INVALID-PRIVILEDGE-How-to-prepare-a-SGX/m-p/1075611#M442</link>
    <description>&lt;P&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;We have written a blog on differences between debug and production enclaves, and the different compiler profiles. You should be able to go a long using the Evaluation SDK.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;See&amp;nbsp;h&lt;/SPAN&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;ttps://software.intel.com/en-us/blogs/2016/01/07/intel-sgx-debug-production-prelease-whats-the-difference&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 13.008px; line-height: 19.512px;"&gt;Requests for production licensing need to be sent to sgx_program@intel.com&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Sat, 09 Jan 2016 22:58:23 GMT</pubDate>
    <dc:creator>Simon_J_Intel</dc:creator>
    <dc:date>2016-01-09T22:58:23Z</dc:date>
    <item>
      <title>SGX_ERROR_SERVICE_INVALID_PRIVILEDGE How to prepare a SGX project for release version?</title>
      <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/SGX-ERROR-SERVICE-INVALID-PRIVILEDGE-How-to-prepare-a-SGX/m-p/1075608#M439</link>
      <description>&lt;P&gt;Hi, Intel engineers!&lt;/P&gt;

&lt;P&gt;I just got a machine with&amp;nbsp;Intel Core i7-6820HQ CPU which support SGX.&lt;/P&gt;

&lt;P&gt;I already get my development environment prepared. And right now I'm playing around with the SGX SDK.&lt;/P&gt;

&lt;P&gt;The sample codes shipped with the SDK work well under Debug mood, simulation mood as well as prerelease mood on my machine. While, under the release mood, the default configuration doesn’t create a signed enclave file. So, I created a signed enclave file following the instruction on the SDK user’s guide (using two step signing method).&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;When I execute the release version enclave application, I get this error:&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;The return value of the API:&lt;/P&gt;

&lt;P&gt;sgx_create_enclave is 0x4004, which corresponds to SGX_ERROR_SERVICE_INVALID_PRIVILEDGE.&lt;/P&gt;

&lt;P&gt;So, my real question is: what does this error mean and how should I solve it?&lt;/P&gt;

&lt;P&gt;Is there any other operations that must be done to make the release version application work?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Jan 2016 18:15:06 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Software-Guard-Extensions/SGX-ERROR-SERVICE-INVALID-PRIVILEDGE-How-to-prepare-a-SGX/m-p/1075608#M439</guid>
      <dc:creator>Sijie_D_</dc:creator>
      <dc:date>2016-01-06T18:15:06Z</dc:date>
    </item>
    <item>
      <title>The SGX SDK provided is an</title>
      <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/SGX-ERROR-SERVICE-INVALID-PRIVILEDGE-How-to-prepare-a-SGX/m-p/1075609#M440</link>
      <description>&lt;P&gt;The SGX SDK provided&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;&amp;nbsp;is an Evaluation SDK intended for technology evaluation, prototyping and development. Release mode enclaves, or production enclaves, require a production license.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Jan 2016 15:11:06 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Software-Guard-Extensions/SGX-ERROR-SERVICE-INVALID-PRIVILEDGE-How-to-prepare-a-SGX/m-p/1075609#M440</guid>
      <dc:creator>Derek_B_Intel</dc:creator>
      <dc:date>2016-01-07T15:11:06Z</dc:date>
    </item>
    <item>
      <title>So, what is the current SGX</title>
      <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/SGX-ERROR-SERVICE-INVALID-PRIVILEDGE-How-to-prepare-a-SGX/m-p/1075610#M441</link>
      <description>&lt;DIV&gt;So, what is the current SGX licensing mechanism for academic research? And How can we request such a license?&lt;/DIV&gt;

&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;

&lt;DIV&gt;In addition, is there any additional intel documents other than the online User Guide and writers Guide that can provide more detailed information about how to prepare an application and enclave for release?&lt;/DIV&gt;</description>
      <pubDate>Sat, 09 Jan 2016 18:19:44 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Software-Guard-Extensions/SGX-ERROR-SERVICE-INVALID-PRIVILEDGE-How-to-prepare-a-SGX/m-p/1075610#M441</guid>
      <dc:creator>Sijie_D_</dc:creator>
      <dc:date>2016-01-09T18:19:44Z</dc:date>
    </item>
    <item>
      <title>We have written a blog on</title>
      <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/SGX-ERROR-SERVICE-INVALID-PRIVILEDGE-How-to-prepare-a-SGX/m-p/1075611#M442</link>
      <description>&lt;P&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;We have written a blog on differences between debug and production enclaves, and the different compiler profiles. You should be able to go a long using the Evaluation SDK.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;See&amp;nbsp;h&lt;/SPAN&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;ttps://software.intel.com/en-us/blogs/2016/01/07/intel-sgx-debug-production-prelease-whats-the-difference&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 13.008px; line-height: 19.512px;"&gt;Requests for production licensing need to be sent to sgx_program@intel.com&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 09 Jan 2016 22:58:23 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Software-Guard-Extensions/SGX-ERROR-SERVICE-INVALID-PRIVILEDGE-How-to-prepare-a-SGX/m-p/1075611#M442</guid>
      <dc:creator>Simon_J_Intel</dc:creator>
      <dc:date>2016-01-09T22:58:23Z</dc:date>
    </item>
    <item>
      <title>Hi Simon,</title>
      <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/SGX-ERROR-SERVICE-INVALID-PRIVILEDGE-How-to-prepare-a-SGX/m-p/1075612#M443</link>
      <description>&lt;P&gt;&lt;SPAN style="font-size: 1em;"&gt;Hi Simon,&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;Is the error 0x4004 &amp;nbsp;SGX_ERROR_SERVICE_INVALID_PRIVILEDGE due to not having a license? Or is it related to something unrelated to the license?&lt;/P&gt;

&lt;P&gt;I am running an SGX program using simulation libraries (by setting them in Linker&amp;gt;input&amp;gt;additional dependencies), the program runs fine. But when I use the HW configuration, the enclave is not created due to 0x4004 error mentioned in the post.&lt;/P&gt;

&lt;P&gt;&lt;EM&gt;I&amp;nbsp;also would like to mention that I don't&amp;nbsp;meant to hijack the post but I&amp;nbsp;&lt;/EM&gt;&lt;I&gt;posted here&amp;nbsp;because the it was not answered whether the error 0x4004 is due to not having license.&lt;/I&gt;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 13 Mar 2016 10:09:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Software-Guard-Extensions/SGX-ERROR-SERVICE-INVALID-PRIVILEDGE-How-to-prepare-a-SGX/m-p/1075612#M443</guid>
      <dc:creator>sai_s_</dc:creator>
      <dc:date>2016-03-13T10:09:00Z</dc:date>
    </item>
    <item>
      <title>This error is received when</title>
      <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/SGX-ERROR-SERVICE-INVALID-PRIVILEDGE-How-to-prepare-a-SGX/m-p/1075613#M444</link>
      <description>&lt;P&gt;This error is received when an enclave is launched as a production enclave without production licensing support.&amp;nbsp;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;You can launch your enclave in HW mode when the debug flag is set in the call:&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;sgx_create_enclave. &amp;nbsp;(2nd parameter)&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Mar 2016 16:10:15 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Software-Guard-Extensions/SGX-ERROR-SERVICE-INVALID-PRIVILEDGE-How-to-prepare-a-SGX/m-p/1075613#M444</guid>
      <dc:creator>Derek_B_Intel</dc:creator>
      <dc:date>2016-03-15T16:10:15Z</dc:date>
    </item>
  </channel>
</rss>

