<?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 Yes, I understand that. in Intel® Software Guard Extensions (Intel® SGX)</title>
    <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/IAS-Verify-Attestation-Evidence-quote-encoding/m-p/1080673#M587</link>
    <description>&lt;P&gt;Yes, I understand that.&lt;/P&gt;

&lt;P&gt;I was sugessting an IAS &lt;STRONG&gt;development&lt;/STRONG&gt; endpoint that attests&amp;nbsp;&lt;STRONG&gt;simulation&lt;/STRONG&gt;&amp;nbsp;enclaves (as provided by the SDK) for development,&lt;STRONG&gt; not productive&lt;/STRONG&gt;, purposes.&lt;/P&gt;</description>
    <pubDate>Tue, 07 Jun 2016 13:12:32 GMT</pubDate>
    <dc:creator>Fredrik_T_</dc:creator>
    <dc:date>2016-06-07T13:12:32Z</dc:date>
    <item>
      <title>[IAS] Verify Attestation Evidence - quote encoding</title>
      <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/IAS-Verify-Attestation-Evidence-quote-encoding/m-p/1080669#M583</link>
      <description>&lt;P&gt;I receive a HTTP 400 Bad Request when verifying a simulation enclave quote via the endpoint&lt;/P&gt;

&lt;PRE&gt;&lt;A href="https://test-as.sgx.trustedservices.intel.com:443/attestation/sgx/v1/report" target="_blank"&gt;https://test-as.sgx.trustedservices.intel.com:443/attestation/sgx/v1/report&lt;/A&gt;&lt;/PRE&gt;

&lt;P&gt;I suspect the encoding of the quote is the issue. [1] only states that&amp;nbsp;&lt;EM&gt;isvEnclaveQuote&amp;nbsp;&lt;/EM&gt;in the request JSON body should be an "encoded quote". No further details are given.&amp;nbsp;&lt;SPAN style="font-size: 13.008px; line-height: 19.512px;"&gt;Or perhaps the problem is the simulation mode.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;The reponse format and example 3.2.2.6&amp;nbsp;suggest that the encoding should be base64 (MIME, UTF-7?). However, my base64-encoded quote results in the 400 error.&lt;/P&gt;

&lt;P&gt;Example&lt;/P&gt;

&lt;UL&gt;
	&lt;LI&gt;request id &lt;EM&gt;67f2ec3a6bc24584babad97fcebe4205&lt;/EM&gt;&lt;/LI&gt;
	&lt;LI&gt;request body&lt;/LI&gt;
&lt;/UL&gt;

&lt;PRE class="brush:jscript;"&gt;{"isvEnclaveQuote":"AQAAAAsAAAABAO7u7u7u7lFTVWRSRiByhNQxZhBFdUOmv+WcPUuMgFKq/T6jqBtaSCDzN2rmsvIDTTt6S0ineAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAwAAAAAAAAAHAAAAAAAAADgGCOFYFVrCFQJGVDFQ0ERfuKsSGLSiR9LmG3ZFL/CNAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABGNW2jbyeETOnoFM7d5+hpuMI0IFEq3+Xqp0yMIjPrfQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAqAIAAO7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7o+d8y5/NZ/o1rVIc2gBAADu7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u7u5dXZ3Hhlw9mNFPs0jToyZr"}&lt;/PRE&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;I base-64 encode the quote using libb64 like so:&lt;/P&gt;

&lt;PRE class="brush:cpp;"&gt;char *c, *out;
c = out = malloc(quote_size * 2);
...
c += base64_encode_block((char*) quote, quote_size, c, &amp;amp;state);
c += base64_encode_blockend(c, &amp;amp;state);&lt;/PRE&gt;

&lt;P&gt;The result looks similar to the beginning and end of the encoded examples.&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&lt;STRONG style="font-size: 1em; line-height: 1.5;"&gt;[1]&lt;/STRONG&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;&amp;nbsp;Intel® Software Guard Extensions:&amp;nbsp;Intel® Attestation Service API&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 31 May 2016 17:26:35 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Software-Guard-Extensions/IAS-Verify-Attestation-Evidence-quote-encoding/m-p/1080669#M583</guid>
      <dc:creator>Fredrik_T_</dc:creator>
      <dc:date>2016-05-31T17:26:35Z</dc:date>
    </item>
    <item>
      <title> </title>
      <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/IAS-Verify-Attestation-Evidence-quote-encoding/m-p/1080670#M584</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Simulation mode isn’t valid for Remote Attestation is because it’s untrusted code, not a true SGX enclave. If the IAS were to allow simulation enclaves to attest, then that would really undermine the security of the attestation service. The whole point of it is to be able to authoritatively say that an enclave was generated by trusted hardware.&lt;/P&gt;</description>
      <pubDate>Mon, 06 Jun 2016 06:03:15 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Software-Guard-Extensions/IAS-Verify-Attestation-Evidence-quote-encoding/m-p/1080670#M584</guid>
      <dc:creator>Kuppusamy_R_Intel</dc:creator>
      <dc:date>2016-06-06T06:03:15Z</dc:date>
    </item>
    <item>
      <title>Thanks Kuppusamy. I still</title>
      <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/IAS-Verify-Attestation-Evidence-quote-encoding/m-p/1080671#M585</link>
      <description>&lt;P&gt;Thanks Kuppusamy. I still suggest specifying the encoding in more detail in the documentation.&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em; line-height: 1.5;"&gt;A development IAS endpoint for simulation mode enclaves would be helpful.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Jun 2016 12:14:36 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Software-Guard-Extensions/IAS-Verify-Attestation-Evidence-quote-encoding/m-p/1080671#M585</guid>
      <dc:creator>Fredrik_T_</dc:creator>
      <dc:date>2016-06-06T12:14:36Z</dc:date>
    </item>
    <item>
      <title>IAS endpoint is proving that</title>
      <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/IAS-Verify-Attestation-Evidence-quote-encoding/m-p/1080672#M586</link>
      <description>&lt;P&gt;IAS endpoint is proving that the client is running its Software in an enclave on an SGX platform.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jun 2016 11:19:53 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Software-Guard-Extensions/IAS-Verify-Attestation-Evidence-quote-encoding/m-p/1080672#M586</guid>
      <dc:creator>Kuppusamy_R_Intel</dc:creator>
      <dc:date>2016-06-07T11:19:53Z</dc:date>
    </item>
    <item>
      <title>Yes, I understand that.</title>
      <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/IAS-Verify-Attestation-Evidence-quote-encoding/m-p/1080673#M587</link>
      <description>&lt;P&gt;Yes, I understand that.&lt;/P&gt;

&lt;P&gt;I was sugessting an IAS &lt;STRONG&gt;development&lt;/STRONG&gt; endpoint that attests&amp;nbsp;&lt;STRONG&gt;simulation&lt;/STRONG&gt;&amp;nbsp;enclaves (as provided by the SDK) for development,&lt;STRONG&gt; not productive&lt;/STRONG&gt;, purposes.&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jun 2016 13:12:32 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Software-Guard-Extensions/IAS-Verify-Attestation-Evidence-quote-encoding/m-p/1080673#M587</guid>
      <dc:creator>Fredrik_T_</dc:creator>
      <dc:date>2016-06-07T13:12:32Z</dc:date>
    </item>
    <item>
      <title>We are working on a sample to</title>
      <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/IAS-Verify-Attestation-Evidence-quote-encoding/m-p/1080674#M588</link>
      <description>&lt;P&gt;&lt;SPAN style="font-size: 10.5pt; font-family: 'Intel Clear', sans-serif; color: rgb(83, 86, 90); background-image: initial; background-attachment: initial; background-size: initial; background-origin: initial; background-clip: initial; background-position: initial; background-repeat: initial;"&gt;We are working on a sample to be posted to IDZ by end of June and one of the feature of the service provider is a simulation mode for IAS. This would allow folks to test attestation without contacting the real IAS&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Jun 2016 06:10:29 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Software-Guard-Extensions/IAS-Verify-Attestation-Evidence-quote-encoding/m-p/1080674#M588</guid>
      <dc:creator>Kuppusamy_R_Intel</dc:creator>
      <dc:date>2016-06-09T06:10:29Z</dc:date>
    </item>
    <item>
      <title>Remote Attestation sample now</title>
      <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/IAS-Verify-Attestation-Evidence-quote-encoding/m-p/1080675#M589</link>
      <description>&lt;P style="word-wrap: break-word; font-size: 12px;"&gt;Remote Attestation sample now live&lt;/P&gt;

&lt;P style="word-wrap: break-word; font-size: 12px;"&gt;&lt;A href="https://software.intel.com/en-us/articles/intel-software-guard-extensions-remote-attestation-end-to-end-example" style="cursor: pointer;"&gt;https://software.intel.com/en-us/articles/intel-software-guard-extensions-remote-attestation-end-to-end-example&lt;/A&gt;&lt;/P&gt;

&lt;P style="word-wrap: break-word; font-size: 12px;"&gt;-Surenthar.&lt;/P&gt;</description>
      <pubDate>Thu, 08 Sep 2016 06:32:03 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Software-Guard-Extensions/IAS-Verify-Attestation-Evidence-quote-encoding/m-p/1080675#M589</guid>
      <dc:creator>Surenthar_S_Intel</dc:creator>
      <dc:date>2016-09-08T06:32:03Z</dc:date>
    </item>
  </channel>
</rss>

