<?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 Hi, in Intel® Software Guard Extensions (Intel® SGX)</title>
    <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Attest-Quote-by-IAS/m-p/1071410#M315</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I'm using the latest version for Linux which is 1.7.&lt;/P&gt;

&lt;P&gt;I don't see how the above mentioned format is not correct!?&lt;/P&gt;

&lt;PRE class="brush:jscript;"&gt;{"isvEnclaveQuote": "MDIwMDAxMDBlMzBhMDAwMDA0MDA...RiMjUyYTgxOGE4NTIzMzQxZDY3"}&lt;/PRE&gt;

&lt;P&gt;Can I do anything else to locally check the correctness of the received Quote from the call to &lt;CODE class="plain"&gt;sgx_ra_proc_msg2?&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;Thank you&lt;/CODE&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 20 Jan 2017 11:36:10 GMT</pubDate>
    <dc:creator>Sam_S_</dc:creator>
    <dc:date>2017-01-20T11:36:10Z</dc:date>
    <item>
      <title>Attest Quote by IAS</title>
      <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Attest-Quote-by-IAS/m-p/1071408#M313</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I have successfully managed to retrieve the SigRL from IAS but am now struggling with the Quote attestation.&lt;/P&gt;

&lt;P&gt;I call the sgx_ra_proc_msg2 function like this:&lt;/P&gt;

&lt;PRE class="brush:cpp;"&gt;ret = sgx_ra_proc_msg2(this-&amp;gt;enclave-&amp;gt;getContext(),
		                       this-&amp;gt;enclave-&amp;gt;getID(),
		                       sgx_ra_proc_msg2_trusted,
		                       sgx_ra_get_msg3_trusted,
		                       p_msg2,
		                       size,
		                       &amp;amp;p_msg3,
		                       &amp;amp;msg3_size);&lt;/PRE&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;which returns with SGX_SUCCESS.&lt;/P&gt;

&lt;P&gt;Then I take the quote, convert it to a std::string and and encode it to Base64:&lt;/P&gt;

&lt;PRE class="brush:cpp;"&gt;std::string quoteStr = ConvertToString(p_msg3-&amp;gt;quote);
quoteStr = EncodeToBase64(quoteStr);
&lt;/PRE&gt;

&lt;P&gt;This quote will then be put in JSON format as described here &lt;A href="https://software.intel.com/sites/default/files/managed/3d/c8/IAS_1_0_API_spec_1_1_Final.pdf" target="_blank"&gt;https://software.intel.com/sites/default/files/managed/3d/c8/IAS_1_0_API_spec_1_1_Final.pdf&lt;/A&gt;, which gives me&lt;/P&gt;

&lt;P&gt;{"isvEnclaveQuote": "MDIwMDAxMDBlMzBhMDAwMDA0MDA...RiMjUyYTgxOGE4NTIzMzQxZDY3"}&lt;/P&gt;

&lt;P&gt;When I now send this as a payload to the IAS it always returns with a "400 Bad Request", which according to the API above, indicates an invalid payload!?&lt;/P&gt;

&lt;P&gt;Am I doing something wrong here with the encoding?&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 16 Jan 2017 17:58:26 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Attest-Quote-by-IAS/m-p/1071408#M313</guid>
      <dc:creator>Sam_S_</dc:creator>
      <dc:date>2017-01-16T17:58:26Z</dc:date>
    </item>
    <item>
      <title>Hi,</title>
      <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Attest-Quote-by-IAS/m-p/1071409#M314</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;Which version of intel SGX SDK are you using? if it version 1.1/1.5 means, it will not work.&lt;/P&gt;

&lt;P&gt;Please refer the link for your reference:&lt;A href="https://software.intel.com/en-us/forums/intel-software-guard-extensions-intel-sgx/topic/698436"&gt;&amp;nbsp;https://software.intel.com/en-us/forums/intel-software-guard-extensions-intel-sgx/topic/698436&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;-Surenthar&lt;/P&gt;</description>
      <pubDate>Wed, 18 Jan 2017 11:06:03 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Attest-Quote-by-IAS/m-p/1071409#M314</guid>
      <dc:creator>Surenthar_S_Intel</dc:creator>
      <dc:date>2017-01-18T11:06:03Z</dc:date>
    </item>
    <item>
      <title>Hi,</title>
      <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Attest-Quote-by-IAS/m-p/1071410#M315</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I'm using the latest version for Linux which is 1.7.&lt;/P&gt;

&lt;P&gt;I don't see how the above mentioned format is not correct!?&lt;/P&gt;

&lt;PRE class="brush:jscript;"&gt;{"isvEnclaveQuote": "MDIwMDAxMDBlMzBhMDAwMDA0MDA...RiMjUyYTgxOGE4NTIzMzQxZDY3"}&lt;/PRE&gt;

&lt;P&gt;Can I do anything else to locally check the correctness of the received Quote from the call to &lt;CODE class="plain"&gt;sgx_ra_proc_msg2?&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;Thank you&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 20 Jan 2017 11:36:10 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Attest-Quote-by-IAS/m-p/1071410#M315</guid>
      <dc:creator>Sam_S_</dc:creator>
      <dc:date>2017-01-20T11:36:10Z</dc:date>
    </item>
    <item>
      <title>Is there anyone who can help</title>
      <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Attest-Quote-by-IAS/m-p/1071411#M316</link>
      <description>&lt;P&gt;Is there anyone who can help me with this problem it's quite urgent!? Or at least tell me where I can find proper help?&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Mon, 23 Jan 2017 18:05:37 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Attest-Quote-by-IAS/m-p/1071411#M316</guid>
      <dc:creator>Sam_S_</dc:creator>
      <dc:date>2017-01-23T18:05:37Z</dc:date>
    </item>
    <item>
      <title>Hi,</title>
      <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Attest-Quote-by-IAS/m-p/1071412#M317</link>
      <description>&lt;P&gt;&lt;SPAN style="color: rgb(102, 102, 102); font-family: Helvetica, sans-serif; font-size: 10.5pt;"&gt;Hi,&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="line-height:15.0pt"&gt;&lt;SPAN style="font-size:10.5pt;font-family:&amp;quot;Helvetica&amp;quot;,sans-serif;
color:#666666"&gt;Sample Remote attestation code available at&amp;nbsp;&lt;A href="https://software.intel.com/en-us/articles/intel-software-guard-extensions-remote-attestation-end-to-end-example"&gt;https://software.intel.com/en-us/articles/intel-software-guard-extensions-remote-attestation-end-to-end-example&lt;/A&gt;. Please Check whether this sample is working well with your client on your machine. If it works well, please go through this sample to find the process of building the attestation verification evidence request message to IAS which is detailed in RasPRef/Msg4Builder.CS.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="line-height:15.0pt"&gt;&lt;SPAN style="font-size:10.5pt;font-family:&amp;quot;Helvetica&amp;quot;,sans-serif;
color:#666666"&gt;&lt;P&gt;-Surenthar&lt;/P&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Jan 2017 09:49:36 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Attest-Quote-by-IAS/m-p/1071412#M317</guid>
      <dc:creator>Surenthar_S_Intel</dc:creator>
      <dc:date>2017-01-25T09:49:36Z</dc:date>
    </item>
    <item>
      <title>Hi,</title>
      <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Attest-Quote-by-IAS/m-p/1071413#M318</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am in a similar situation to the one described by Sam.&lt;/P&gt;&lt;P&gt;I use SGX SDK version 2.1&amp;nbsp;on Windows and I requested the SPID for a linkable self-signed certificate (with CA set to True) from the link &lt;A href="https://software.intel.com/en-us/form/sgx-onboarding" target="_blank"&gt;https://software.intel.com/en-us/form/sgx-onboarding&lt;/A&gt; .&lt;/P&gt;&lt;P&gt;I am able to obtain the SIGRL from IAS, but when I try to send the quote to IAS, I obtain a 400 errror code with the message "Bad Request" (Invalid Payload).&lt;/P&gt;&lt;P&gt;I also tried to run the&amp;nbsp;&amp;nbsp;https://software.intel.com/en-us/articles/intel-software-guard-extensions-remote-attestation-end-to-end-example solution (with the service provider flag set to a linkable quote), but the result is the same.&lt;/P&gt;&lt;P&gt;Can there&amp;nbsp;be a problem with my service provider's certicate or that certificate should be ok if IAS gave me the SIGRL? Or do you have any ideas how to debug this?&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Apr 2019 17:56:22 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Attest-Quote-by-IAS/m-p/1071413#M318</guid>
      <dc:creator>faur__anca</dc:creator>
      <dc:date>2019-04-17T17:56:22Z</dc:date>
    </item>
    <item>
      <title>please pay attention to your</title>
      <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Attest-Quote-by-IAS/m-p/1071414#M319</link>
      <description>&lt;P&gt;please pay attention to your quote's type: linkable or unlinkable? It should match to your SPID when you apply it.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Apr 2019 01:50:20 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Attest-Quote-by-IAS/m-p/1071414#M319</guid>
      <dc:creator>Junli_S_Intel</dc:creator>
      <dc:date>2019-04-18T01:50:20Z</dc:date>
    </item>
    <item>
      <title>Thank you, Junli, it was</title>
      <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Attest-Quote-by-IAS/m-p/1071415#M320</link>
      <description>&lt;P&gt;Thank you, Junli, it was indeed a problem with the SPID I have provided.&lt;/P&gt;</description>
      <pubDate>Fri, 19 Apr 2019 08:26:59 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Attest-Quote-by-IAS/m-p/1071415#M320</guid>
      <dc:creator>faur__anca</dc:creator>
      <dc:date>2019-04-19T08:26:59Z</dc:date>
    </item>
  </channel>
</rss>

