<?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:Remote Attestation Invalid Signature in Intel® Software Guard Extensions (Intel® SGX)</title>
    <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Remote-Attestation-Invalid-Signature/m-p/1316257#M4904</link>
    <description>&lt;P&gt;Hello Mxl01,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Were you able to install libsgx-uae-service and get the sgx-ra-sample running? We recommend using the sgx-ra-sample over the RemoteAttestation sample in the SDK.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Sincerely,&lt;/P&gt;&lt;P&gt;Jesus G.&lt;/P&gt;&lt;P&gt;Intel Customer Suppor&lt;/P&gt;&lt;BR /&gt;</description>
    <pubDate>Tue, 21 Sep 2021 17:29:39 GMT</pubDate>
    <dc:creator>JesusG_Intel</dc:creator>
    <dc:date>2021-09-21T17:29:39Z</dc:date>
    <item>
      <title>Remote Attestation Invalid Signature</title>
      <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Remote-Attestation-Invalid-Signature/m-p/1313301#M4877</link>
      <description>&lt;P&gt;Hello everyone,&lt;/P&gt;
&lt;P&gt;I am trying to implement the Service Provider's side of the Remote Attestation flow in python. To debug the application, I use the same keys as in the RemoteAttestation Sample from the linux-sgx repo and so far, I am able to derive the same keys as in the sample. However, when I try to sign the Gb_Ga message in msg2, I receive a different signature than the one in the sample, although I follow the guide from the&amp;nbsp;&lt;A href="https://software.intel.com/content/www/us/en/develop/articles/code-sample-intel-software-guard-extensions-remote-attestation-end-to-end-example.html" target="_blank" rel="noopener"&gt;Code Sample&lt;/A&gt;&amp;nbsp;. Actually, it irritates me that in the Sample Application, the following output is made which shows that the first half of the signature is not at all encrypted/ signed in any way.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;A more descriptive representation of MSG2:
RESPONSE TYPE:   0x2
RESPONSE STATUS: 0x0 0x0
RESPONSE BODY SIZE: 168
MSG2 gb - 64 bytes:
{
0x6a, 0x83, 0xdc, 0x84, 0xd4, 0x4c, 0x8a, 0xbb, 
0x5e, 0x42, 0xaf, 0xee, 0x8d, 0xe9, 0xf4, 0x57, 
0x71, 0xfd, 0x73, 0x66, 0xd7, 0xfa, 0xad, 0xfa, 
0xf2, 0x17, 0x14, 0xdd, 0x5a, 0xb9, 0x9e, 0x97, 
0x79, 0xa7, 0x38, 0x72, 0xf2, 0xb8, 0xd6, 0xbe, 
0x18, 0x91, 0x7f, 0xf7, 0xb5, 0xd3, 0xe5, 0x64, 
0x9b, 0x12, 0x18, 0xaf, 0x39, 0x29, 0x6c, 0x24, 
0x19, 0x38, 0x29, 0xb, 0xc6, 0xac, 0xc, 0x62 
}
MSG2 spid - 16 bytes:
{
0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x20, 
0x58, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0 
}
MSG2 quote_type : 1
MSG2 kdf_id : 1
MSG2 sign_gb_ga - 64 bytes:
{
0x6a, 0x83, 0xdc, 0x84, 0xd4, 0x4c, 0x8a, 0xbb, 
0x5e, 0x42, 0xaf, 0xee, 0x8d, 0xe9, 0xf4, 0x57, 
0x71, 0xfd, 0x73, 0x66, 0xd7, 0xfa, 0xad, 0xfa, 
0xf2, 0x17, 0x14, 0xdd, 0x5a, 0xb9, 0x9e, 0x97, 
0x49, 0xa2, 0x2c, 0xc8, 0xd4, 0xba, 0xd1, 0x3b, 
0xfe, 0x72, 0xd5, 0xc3, 0x18, 0x31, 0x10, 0xd, 
0x72, 0xf4, 0x92, 0xff, 0xf, 0xa0, 0x3e, 0x6f, 
0x97, 0xe4, 0xaa, 0x68, 0x80, 0x69, 0x60, 0xd6 
}
MSG2 mac - 16 bytes:
{
0xaa, 0xc7, 0xa1, 0xbb, 0x94, 0xbf, 0x2d, 0x35, 
0x5f, 0x32, 0x17, 0xe4, 0xfa, 0xca, 0x61, 0x79 
}
MSG2 sig_rl - 
( null )

Call sgx_ra_proc_msg2_ex success.&lt;/LI-CODE&gt;
&lt;P&gt;If you compare line 7ff and line 25ff, the same values are present which does not make sense to me. Also, I noted that no solution has been found to a&amp;nbsp;&lt;A href="https://community.intel.com/t5/Intel-Software-Guard-Extensions/SGX-Remote-Attestation-0x2003-error-at-sgx-msg2-proc-ex/m-p/1218063/highlight/true#M4034" target="_self"&gt;similar question&lt;/A&gt;&amp;nbsp;, has there been any progress so far?&lt;/P&gt;
&lt;P&gt;Could somebody explain how the signature is derived in the Remote Attestation Sample? The sample_libcrypto file does not provide real insight into the process.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks in advance!&lt;/P&gt;</description>
      <pubDate>Thu, 09 Sep 2021 13:23:06 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Remote-Attestation-Invalid-Signature/m-p/1313301#M4877</guid>
      <dc:creator>mxl01</dc:creator>
      <dc:date>2021-09-09T13:23:06Z</dc:date>
    </item>
    <item>
      <title>Re: Remote Attestation Invalid Signature</title>
      <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Remote-Attestation-Invalid-Signature/m-p/1313535#M4878</link>
      <description>&lt;P&gt;Hello Mxl01,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Pay special attention to the instructions regarding little-endian byte order in the &lt;A href="https://software.intel.com/content/www/us/en/develop/articles/code-sample-intel-software-guard-extensions-remote-attestation-end-to-end-example.html" target="_blank" rel="noopener noreferrer"&gt;end-to-end example&lt;/A&gt;. I recommend doing a search on the page for "endian" so you can find all the references.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Did you look at the function&lt;SPAN style="font-family: inherit;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="font-family: inherit;"&gt;&lt;FONT face="courier new,courier"&gt;process_msg01&lt;/FONT&gt; in sp.cpp?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you still cannot figure it out after fixing the endian issues, I recommend installing the debug versions of the SDK and PSW so you can step into the SGX runtimes using sgx-gdb. Follow these instructions to install the debug files:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG style="font-size: 10pt;"&gt;1. Install &lt;/STRONG&gt;&lt;A href="https://github.com/intel/linux-sgx#prerequisites" target="_blank" rel="noopener noreferrer"&gt;Prerequisites&lt;/A&gt;&lt;SPAN style="font-size: 10pt;"&gt; then &lt;/SPAN&gt;&lt;STRONG style="font-size: 10pt;"&gt;download&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt; the Intel SGX for Linux source code:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;$ git clone &lt;A href="https://github.com/intel/linux-sgx.git" target="_blank" rel="noopener noreferrer"&gt;https://github.com/intel/linux-sgx.git &lt;/A&gt;&lt;/P&gt;
&lt;P&gt;$ cd linux-sgx &amp;amp;&amp;amp; make preparation&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG style="font-size: 10pt;"&gt;2. Build&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt; the debug versions of the &lt;/SPAN&gt;&lt;A href="https://github.com/intel/linux-sgx#build-the-intelr-sgx-sdk-and-intelr-sgx-sdk-installer" target="_blank" rel="noopener noreferrer"&gt;SDK and SDK installer&lt;/A&gt;&lt;SPAN style="font-size: 10pt;"&gt;:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;$ make sdk DEBUG=1&lt;/P&gt;
&lt;P&gt;$ make sdk_install_pkg DEBUG=1&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;3. &lt;A style="font-size: 10pt;" href="https://github.com/intel/linux-sgx#install-the-intelr-sgx-sdk-1" target="_blank" rel="noopener noreferrer"&gt;&lt;STRONG&gt;Install&lt;/STRONG&gt; the SGX SDK&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;$ cd linux/installer/bin&lt;/P&gt;
&lt;P&gt;$ ./sgx_linux_x64_sdk_${version}.bin&lt;/P&gt;
&lt;P&gt;$ source ${sgx-sdk-install-path}/environment&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG style="font-size: 10pt;"&gt;4. Build&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt; the debug versions of the &lt;/SPAN&gt;&lt;A href="https://github.com/intel/linux-sgx#build-the-intelr-sgx-psw-and-intelr-sgx-psw-installer" target="_blank" rel="noopener noreferrer"&gt;PSW and PSW installers&lt;/A&gt;&lt;SPAN style="font-size: 10pt;"&gt;:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;$ make psw DEBUG=1&lt;/P&gt;
&lt;P&gt;$ make deb_psw_pkg DEBUG=1&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG style="font-size: 10pt;"&gt;5. Install&lt;/STRONG&gt;&lt;SPAN style="font-size: 10pt;"&gt; the PSW components and their symbol files.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Intel Clear';"&gt;The generated PSW installers are located under&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.2pt; font-family: 'Courier New';"&gt;linux/installer/rpm/libsgx-urts,&amp;nbsp;linux/installer/rpm/libsgx-enclave-common,&amp;nbsp;linux/installer/rpm/libsgx-uae-service,&amp;nbsp;linux/installer/rpm/libsgx-epid,&amp;nbsp;linux/installer/rpm/libsgx-launch,&amp;nbsp;linux/installer/rpm/libsgx-quote-ex&lt;/SPAN&gt;&lt;SPAN style="font-size: 10.2pt; font-family: 'Intel Clear';"&gt; and &lt;/SPAN&gt;&lt;SPAN style="font-size: 10.2pt; font-family: 'Courier New';"&gt;linux/installer/rpm/sgx-aesm-service&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;6. Execute&lt;/STRONG&gt; the following commands in each PSW installer directory&lt;STRONG&gt;:&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;$ sudo dpkg -i *.deb&lt;/P&gt;
&lt;P&gt;$ sudo dpkg -i *.ddeb&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Now you can use sgx-gdb to step into any SGX runtime function so you can see what is happening behind the scenes.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Sincerely,&lt;/P&gt;
&lt;P&gt;Jesus G.&lt;/P&gt;
&lt;P&gt;Intel Customer Support&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Sep 2021 03:44:05 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Remote-Attestation-Invalid-Signature/m-p/1313535#M4878</guid>
      <dc:creator>JesusG_Intel</dc:creator>
      <dc:date>2021-09-10T03:44:05Z</dc:date>
    </item>
    <item>
      <title>Re: Remote Attestation Invalid Signature</title>
      <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Remote-Attestation-Invalid-Signature/m-p/1313573#M4882</link>
      <description>&lt;P&gt;I will look into this, thanks! Still, I do not think that the used signature procedure is sensible in the RemoteAttestation Sample from the linux-sgx repository, as no signature should yield back an unmodified first half of the original buffer. If you could clear this up, it would be helpful for debugging so I know where these values in line 25ff comes from.&lt;/P&gt;</description>
      <pubDate>Fri, 10 Sep 2021 07:59:48 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Remote-Attestation-Invalid-Signature/m-p/1313573#M4882</guid>
      <dc:creator>mxl01</dc:creator>
      <dc:date>2021-09-10T07:59:48Z</dc:date>
    </item>
    <item>
      <title>Re:Remote Attestation Invalid Signature</title>
      <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Remote-Attestation-Invalid-Signature/m-p/1313660#M4883</link>
      <description>&lt;P&gt;Hello Mxl01,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;You are right, the first halves of Msg2 and the signed Msg2 should not be the same. That is your first indication that something is not right. Here are my outputs from running sgx-ra-sample.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier;"&gt;---- Msg2 Details ----------------------------------------------------------&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier;"&gt;msg2.g_b.gx&amp;nbsp;&amp;nbsp;&amp;nbsp;= b86a9353678fd85e255825c6fefb53d4fc307dc07cd86f41aec014be5db43e0e&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier;"&gt;msg2.g_b.gy&amp;nbsp;&amp;nbsp;&amp;nbsp;= 61e30199bec58304a5da94419effbd7fa84057ebf56369fadcf44e8ea8e5f444&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier;"&gt;msg2.spid&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;= 512a4762b082984ff983cb5e59bee669&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier;"&gt;msg2.quote_type&amp;nbsp;= 0000&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier;"&gt;msg2.kdf_id&amp;nbsp;&amp;nbsp;&amp;nbsp;= 0100&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier;"&gt;msg2.sign_ga_gb&amp;nbsp;= 471991a397d91a27326f4dea2081dbc6d1c1b9ba0ebc2be220fa757f5a0d78b1f59dbc971a676737d78c0ca2c5a9ac8b7fc92c639ac0deb5914b33951333dc72&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier;"&gt;msg2.mac&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;= 7a5cd6f10638431b706e43c346505fed&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier;"&gt;msg2.sig_rl_size = 00000000&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier;"&gt;msg2.sig_rl&amp;nbsp;&amp;nbsp;&amp;nbsp;=&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier;"&gt;----------------------------------------------------------------------------&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier;"&gt;+++ msg2_size = 168&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 10 Sep 2021 16:03:21 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Remote-Attestation-Invalid-Signature/m-p/1313660#M4883</guid>
      <dc:creator>JesusG_Intel</dc:creator>
      <dc:date>2021-09-10T16:03:21Z</dc:date>
    </item>
    <item>
      <title>Re: Remote Attestation Invalid Signature</title>
      <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Remote-Attestation-Invalid-Signature/m-p/1314104#M4886</link>
      <description>&lt;P&gt;Hello JesusG_Intel,&lt;/P&gt;
&lt;P&gt;I was talking about the RemoteAttestation sample from&amp;nbsp;&lt;A href="https://github.com/intel/linux-sgx/tree/master/SampleCode/RemoteAttestation" target="_blank" rel="noopener"&gt;here&lt;/A&gt;&amp;nbsp;, if you run that sample, you get two identical first halves of the key and the signature, which should not be the case. In the sgx-sample you described, however, I am not even able to run the ./run-client command as it tells me 'This system does not support Intel SGX.' although I think I have all needed sgx drivers installed and am able to run all sample applications from above link in hardware mode. Can you give me a hint why this problem occurs?&lt;/P&gt;</description>
      <pubDate>Mon, 13 Sep 2021 10:00:32 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Remote-Attestation-Invalid-Signature/m-p/1314104#M4886</guid>
      <dc:creator>mxl01</dc:creator>
      <dc:date>2021-09-13T10:00:32Z</dc:date>
    </item>
    <item>
      <title>Re:Remote Attestation Invalid Signature</title>
      <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Remote-Attestation-Invalid-Signature/m-p/1314582#M4888</link>
      <description>&lt;P&gt;Hello Mxl01,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;We are still trying to figure out why the Remote Attestation sample outputs the same values for msg2_gb_gx and msg2_sign_gb_ga_x. They are different in the sgx-ra-sample.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;The function in Remote Attestation that does the signing is &lt;A href="https://github.com/intel/linux-sgx/blob/8abc6dd8cb44e3cef8294c508e77803ffeb8ed12/SampleCode/RemoteAttestation/service_provider/service_provider.cpp#L506" rel="noopener noreferrer" target="_blank" style="font-family: &amp;quot;Courier New&amp;quot;; font-size: 12pt;"&gt;service_provider.cpp:506&lt;/A&gt; and starts printing at &lt;A href="https://github.com/intel/linux-sgx/blob/8abc6dd8cb44e3cef8294c508e77803ffeb8ed12/SampleCode/RemoteAttestation/isv_app/isv_app.cpp#L122" rel="noopener noreferrer" target="_blank"&gt;isv_app.cpp:122&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Let's figure out why you can't run the sgx-ra-sample.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;1. Confirm your processor has SGX enabled. &lt;/P&gt;&lt;P&gt;&lt;B&gt;Open&lt;/B&gt;&amp;nbsp;a terminal and&amp;nbsp;&lt;B&gt;run&lt;/B&gt;:&amp;nbsp;&lt;SPAN style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;$ cpuid | grep -i sgx&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;2. Check the SGX driver:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier;"&gt;$ ls /dev | grep sgx&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2. Check the PSW, especially&amp;nbsp;&lt;SPAN style="font-family: courier;"&gt;libsgx-uae-service&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier;"&gt;$ sudo apt list --installed | grep sgx&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;3. Run&amp;nbsp;&lt;SPAN style="font-family: courier;"&gt;sudo apt-get update&lt;/SPAN&gt;&amp;nbsp;to ensure all your components are up-to-date.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;4.&amp;nbsp;&lt;A href="https://github.com/intel/linux-sgx#configure-the-proxy-for-aesmd-service" rel="noopener noreferrer" target="_blank"&gt;Setup your proxy&lt;/A&gt;&amp;nbsp;if necessary.&lt;/P&gt;&lt;P&gt;Edit the file&amp;nbsp;/etc/aesmd.conf&amp;nbsp;(refer to the comments in the file) to set the proxy for the aesmd servic&lt;SPAN style="font-size: 12pt; font-family: intel-clear;"&gt;e.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;After you configure the proxy, you need to restart the service to enable the proxy.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;5. Check&amp;nbsp;&lt;SPAN style="font-family: courier;"&gt;aesmd&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier;"&gt;$ ps aux | grep -aesm&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier;"&gt;$ sudo systemctl stop aesmd&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier;"&gt;$ sudo systemctl start aesmd&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier;"&gt;$ cat /var/log/syslog | grep -i aesm&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 14 Sep 2021 23:05:30 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Remote-Attestation-Invalid-Signature/m-p/1314582#M4888</guid>
      <dc:creator>JesusG_Intel</dc:creator>
      <dc:date>2021-09-14T23:05:30Z</dc:date>
    </item>
    <item>
      <title>Re: Remote Attestation Invalid Signature</title>
      <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Remote-Attestation-Invalid-Signature/m-p/1315065#M4897</link>
      <description>&lt;P&gt;Hello JesusG_Intel,&lt;/P&gt;
&lt;P&gt;thanks for your detailed response, my resulting terminal output is:&lt;/P&gt;
&lt;P&gt;1. processor sgx enabled?&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;&amp;gt; cpuid | grep -i sgx
      SGX: Software Guard Extensions supported = true
      SGX_LC: SGX launch config supported      = false
   Software Guard Extensions (SGX) capability (0x12/0):
      SGX1 supported                         = true
      SGX2 supported                         = false
      SGX ENCLV E*VIRTCHILD, ESETCONTEXT     = false
      SGX ENCLS ETRACKC, ERDINFO, ELDBC, ELDUC = false
   SGX attributes (0x12/1):
      SGX: Software Guard Extensions supported = true
      SGX_LC: SGX launch config supported      = false
   Software Guard Extensions (SGX) capability (0x12/0):
      SGX1 supported                         = true
      SGX2 supported                         = false
      SGX ENCLV E*VIRTCHILD, ESETCONTEXT     = false
      SGX ENCLS ETRACKC, ERDINFO, ELDBC, ELDUC = false
   SGX attributes (0x12/1):
      SGX: Software Guard Extensions supported = true
      SGX_LC: SGX launch config supported      = false
   Software Guard Extensions (SGX) capability (0x12/0):
      SGX1 supported                         = true
      SGX2 supported                         = false
      SGX ENCLV E*VIRTCHILD, ESETCONTEXT     = false
      SGX ENCLS ETRACKC, ERDINFO, ELDBC, ELDUC = false
   SGX attributes (0x12/1):
      SGX: Software Guard Extensions supported = true
      SGX_LC: SGX launch config supported      = false
   Software Guard Extensions (SGX) capability (0x12/0):
      SGX1 supported                         = true
      SGX2 supported                         = false
      SGX ENCLV E*VIRTCHILD, ESETCONTEXT     = false
      SGX ENCLS ETRACKC, ERDINFO, ELDBC, ELDUC = false
   SGX attributes (0x12/1):
      SGX: Software Guard Extensions supported = true
      SGX_LC: SGX launch config supported      = false
   Software Guard Extensions (SGX) capability (0x12/0):
      SGX1 supported                         = true
      SGX2 supported                         = false
      SGX ENCLV E*VIRTCHILD, ESETCONTEXT     = false
      SGX ENCLS ETRACKC, ERDINFO, ELDBC, ELDUC = false
   SGX attributes (0x12/1):
      SGX: Software Guard Extensions supported = true
      SGX_LC: SGX launch config supported      = false
   Software Guard Extensions (SGX) capability (0x12/0):
      SGX1 supported                         = true
      SGX2 supported                         = false
      SGX ENCLV E*VIRTCHILD, ESETCONTEXT     = false
      SGX ENCLS ETRACKC, ERDINFO, ELDBC, ELDUC = false
   SGX attributes (0x12/1):
      SGX: Software Guard Extensions supported = true
      SGX_LC: SGX launch config supported      = false
   Software Guard Extensions (SGX) capability (0x12/0):
      SGX1 supported                         = true
      SGX2 supported                         = false
      SGX ENCLV E*VIRTCHILD, ESETCONTEXT     = false
      SGX ENCLS ETRACKC, ERDINFO, ELDBC, ELDUC = false
   SGX attributes (0x12/1):
      SGX: Software Guard Extensions supported = true
      SGX_LC: SGX launch config supported      = false
   Software Guard Extensions (SGX) capability (0x12/0):
      SGX1 supported                         = true
      SGX2 supported                         = false
      SGX ENCLV E*VIRTCHILD, ESETCONTEXT     = false
      SGX ENCLS ETRACKC, ERDINFO, ELDBC, ELDUC = false
   SGX attributes (0x12/1):&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2.&amp;nbsp; sgx-driver check:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;&amp;gt; ls /dev | grep sgx
isgx
&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;3.&amp;nbsp; my components are up-to-date&lt;/P&gt;
&lt;P&gt;4. I don't think I need to configure a proxy&amp;nbsp;&lt;/P&gt;
&lt;P&gt;5. aesmd:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;&amp;gt; ps aux | grep -aesm
root          67  0.0  0.0      0     0 ?        SN   13:40   0:00 [ksmd]
gdm         1490  0.0  0.0 323796  8600 tty1     Sl+  13:40   0:00 /usr/libexec/gsd-smartcard
max         2039  0.0  0.0 397532  8780 ?        Ssl  13:41   0:00 /usr/libexec/gsd-smartcard
aesmd       6235  0.0  0.0 352572 14576 ?        Ssl  13:52   0:00 /opt/intel/sgx-aesm-service/aesm/aesm_service
max         7028  0.0  0.0  17672  2864 pts/0    S+   14:04   0:00 grep --color=auto -aesm&lt;/LI-CODE&gt;
&lt;P&gt;When checking the syslog, there is actually something interesting:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Sep 16 14:19:03 max-laptop systemd[1]: aesmd.service: Succeeded.
Sep 16 14:19:09 max-laptop aesm_service[10163]: [ADMIN]White List update requested
Sep 16 14:19:09 max-laptop aesm_service[10163]: [load_qe ../qe_logic.cpp:680] Error, call sgx_create_enclave QE fail [load_qe], SGXError:4004.
Sep 16 14:19:09 max-laptop aesm_service[10163]: Failed to load QE3: 0x4004
Sep 16 14:19:09 max-laptop aesm_service[10163]: The server sock is 0x5644b9d506f0
Sep 16 14:19:10 max-laptop aesm_service[10163]: [ADMIN]White list update request successful for Version: 105&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;Error 0x4004 is (according to the developer reference) 'Enclave has no privilege to get a launch token.'&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is the launch token error the problem for my inability to launch the sgx-ra-sample client? Or does my system simply not have the sgx standards needed? Thanks in advance!&lt;/P&gt;</description>
      <pubDate>Thu, 16 Sep 2021 10:23:14 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Remote-Attestation-Invalid-Signature/m-p/1315065#M4897</guid>
      <dc:creator>mxl01</dc:creator>
      <dc:date>2021-09-16T10:23:14Z</dc:date>
    </item>
    <item>
      <title>Re:Remote Attestation Invalid Signature</title>
      <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Remote-Attestation-Invalid-Signature/m-p/1315198#M4898</link>
      <description>&lt;P&gt;Hello Mxl01,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;It seems you are missing the PSW component: libsgx-uae-service.  Install it with:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier;"&gt;$sudo apt get libsgx-uae-service&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Ensure you install all of the PSW components with:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14px; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;$ sudo apt-get install libsgx-launch libsgx-urts libsgx-epid libsgx-quote-ex libsgx-uae-service&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Here is how to follow the code in the sgx-ra-sample to find where it is not detecting SGX:&lt;/P&gt;&lt;P&gt;client.cpp:373&lt;SPAN style="font-size: 14px; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-family: courier;"&gt;sgx_support&amp;nbsp;=&amp;nbsp;get_sgx_support();&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;sgx_detect_linux.c:44&lt;SPAN style="font-family: courier;"&gt; if&amp;nbsp;(!&amp;nbsp;have_sgx_psw())&amp;nbsp;return&amp;nbsp;sgx_support;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;sgx_stub.c:196&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier;"&gt;int&amp;nbsp;have_sgx_psw()&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier;"&gt;{&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;return&amp;nbsp;(&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;_load_libsgx_uae_service()&amp;nbsp;==&amp;nbsp;NULL&amp;nbsp;||&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;_load_libsgx_urts()&amp;nbsp;==&amp;nbsp;NULL&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;)&amp;nbsp;?&amp;nbsp;0&amp;nbsp;:&amp;nbsp;1;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier;"&gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Sincerely,&lt;/P&gt;&lt;P&gt;Jesus G.&lt;/P&gt;&lt;P&gt;Intel Customer Support&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 16 Sep 2021 20:35:34 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Remote-Attestation-Invalid-Signature/m-p/1315198#M4898</guid>
      <dc:creator>JesusG_Intel</dc:creator>
      <dc:date>2021-09-16T20:35:34Z</dc:date>
    </item>
    <item>
      <title>Re:Remote Attestation Invalid Signature</title>
      <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Remote-Attestation-Invalid-Signature/m-p/1316257#M4904</link>
      <description>&lt;P&gt;Hello Mxl01,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Were you able to install libsgx-uae-service and get the sgx-ra-sample running? We recommend using the sgx-ra-sample over the RemoteAttestation sample in the SDK.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Sincerely,&lt;/P&gt;&lt;P&gt;Jesus G.&lt;/P&gt;&lt;P&gt;Intel Customer Suppor&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 21 Sep 2021 17:29:39 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Remote-Attestation-Invalid-Signature/m-p/1316257#M4904</guid>
      <dc:creator>JesusG_Intel</dc:creator>
      <dc:date>2021-09-21T17:29:39Z</dc:date>
    </item>
    <item>
      <title>Re:Remote Attestation Invalid Signature</title>
      <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Remote-Attestation-Invalid-Signature/m-p/1317038#M4907</link>
      <description>&lt;P&gt;Hello Mxl01,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;I hope the information I provided was helpful to you. Since we haven't heard from you I will close this case. If you need further assistance with this issue, please open a new thread.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Sincerely,&lt;/P&gt;&lt;P&gt;Jesus G.&lt;/P&gt;&lt;P&gt;Intel Customer Support&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 24 Sep 2021 14:55:38 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Remote-Attestation-Invalid-Signature/m-p/1317038#M4907</guid>
      <dc:creator>JesusG_Intel</dc:creator>
      <dc:date>2021-09-24T14:55:38Z</dc:date>
    </item>
  </channel>
</rss>

