<?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 Fixed. in Intel® Software Guard Extensions (Intel® SGX)</title>
    <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Linux-RemoteAttestation-Sample-code-Failed/m-p/1106535#M1203</link>
    <description>&lt;P&gt;Fixed.&lt;/P&gt;

&lt;P&gt;EPID Provisioning needs network access. Setting proxy in /etc/aesmd.conf as:&lt;/P&gt;

&lt;P&gt;proxy type = manual&lt;/P&gt;

&lt;P&gt;aesm proxy = proxy.host:port&lt;/P&gt;

&lt;P&gt;Then restart aesmd service using "service aesmd restart"&lt;/P&gt;

&lt;P&gt;By the way, the SGX (driver/psw/sdk) need to be upgraded to the latest 1.6 release (I used version 1.5 at the beginning and then get SGX_ERROR_UPDATE_NEEDED error), then the sample code works well&lt;/P&gt;</description>
    <pubDate>Sun, 09 Oct 2016 00:33:14 GMT</pubDate>
    <dc:creator>Changzheng_W_Intel</dc:creator>
    <dc:date>2016-10-09T00:33:14Z</dc:date>
    <item>
      <title>Linux RemoteAttestation Sample code Failed</title>
      <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Linux-RemoteAttestation-Sample-code-Failed/m-p/1106534#M1202</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;

&lt;P&gt;I build linux RemoteAttestation Sample code on a SGX enabled PC with cmd&lt;/P&gt;

&lt;P&gt;make SGX_MODE=HW SGX_DEBUG=1&lt;/P&gt;

&lt;P&gt;and run ./app, got the error outpur as below:&lt;/P&gt;

&lt;P&gt;root@qat-sgx-pc:/opt/intel/sgxsdk/SampleCode/RemoteAttestation# ./app&lt;/P&gt;

&lt;P&gt;Call sgx_create_enclave success.&lt;BR /&gt;
	Call enclave_init_ra success.&lt;BR /&gt;
	Error, call sgx_ra_get_msg1 fail [main].&lt;BR /&gt;
	Call enclave_ra_close success.&lt;BR /&gt;
	Enter a character before exit ...&lt;/P&gt;

&lt;P&gt;&lt;BR /&gt;
	I also ran other Sample code in SDK, such as SampleEnclave and LocalAttestation in HW mode, they are all OK.&lt;/P&gt;

&lt;P&gt;My OS is ubuntu 14.04, and my network is Intel internal network.&lt;/P&gt;

&lt;P&gt;If I configure the network proxy, it will hang at "Call sgx_create_enclave success." for a while then failed with above message.&lt;/P&gt;

&lt;P&gt;If I disable the network proxy, it will immediately fail with above message.&lt;/P&gt;

&lt;P&gt;Is there any configuration related to network for this RemoteAttestation sample code?&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Sat, 08 Oct 2016 07:18:54 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Linux-RemoteAttestation-Sample-code-Failed/m-p/1106534#M1202</guid>
      <dc:creator>Changzheng_W_Intel</dc:creator>
      <dc:date>2016-10-08T07:18:54Z</dc:date>
    </item>
    <item>
      <title>Fixed.</title>
      <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Linux-RemoteAttestation-Sample-code-Failed/m-p/1106535#M1203</link>
      <description>&lt;P&gt;Fixed.&lt;/P&gt;

&lt;P&gt;EPID Provisioning needs network access. Setting proxy in /etc/aesmd.conf as:&lt;/P&gt;

&lt;P&gt;proxy type = manual&lt;/P&gt;

&lt;P&gt;aesm proxy = proxy.host:port&lt;/P&gt;

&lt;P&gt;Then restart aesmd service using "service aesmd restart"&lt;/P&gt;

&lt;P&gt;By the way, the SGX (driver/psw/sdk) need to be upgraded to the latest 1.6 release (I used version 1.5 at the beginning and then get SGX_ERROR_UPDATE_NEEDED error), then the sample code works well&lt;/P&gt;</description>
      <pubDate>Sun, 09 Oct 2016 00:33:14 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Linux-RemoteAttestation-Sample-code-Failed/m-p/1106535#M1203</guid>
      <dc:creator>Changzheng_W_Intel</dc:creator>
      <dc:date>2016-10-09T00:33:14Z</dc:date>
    </item>
    <item>
      <title>Re: Fixed.</title>
      <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Linux-RemoteAttestation-Sample-code-Failed/m-p/1274094#M4499</link>
      <description>&lt;P&gt;Hi，&lt;SPAN&gt;Changzheng_W_In&lt;/SPAN&gt;&lt;WBR /&gt;&lt;SPAN&gt;tel.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;How can i set the proxy value?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;and&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Does the value is the&amp;nbsp;&lt;SPAN&gt;EPID Provisioning service Host?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;thanks ~&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Apr 2021 07:13:49 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Linux-RemoteAttestation-Sample-code-Failed/m-p/1274094#M4499</guid>
      <dc:creator>sz</dc:creator>
      <dc:date>2021-04-16T07:13:49Z</dc:date>
    </item>
  </channel>
</rss>

