<?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 Hello user14, in Intel® Software Guard Extensions (Intel® SGX)</title>
    <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/attestation-query-returns-400-Bad-request/m-p/1186132#M3729</link>
    <description>&lt;P&gt;Hello user14,&lt;/P&gt;&lt;P&gt;We need to check the Intel backend for why your transaction is failing. Unfortunately, we will not be able to get you a response until next week. Please stay tuned and I'll get back to you as soon as I have an answer.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;</description>
    <pubDate>Thu, 11 Jun 2020 21:31:29 GMT</pubDate>
    <dc:creator>JesusG_Intel</dc:creator>
    <dc:date>2020-06-11T21:31:29Z</dc:date>
    <item>
      <title>attestation query returns 400 Bad request</title>
      <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/attestation-query-returns-400-Bad-request/m-p/1186131#M3728</link>
      <description>&lt;P&gt;I'm implementing a basic remote attestation, but getting the 400 Bad request from IAS. I am using a valid SPID from IAS. What might be the issue here? &amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;+++ IAS Primary Subscription Key set to '1479........................35a9'&lt;BR /&gt;+++ IAS Secondary Subscription Key set to 'd51e........................389c'&lt;BR /&gt;+++ Using default CA bundle /etc/ssl/certs/ca-certificates.crt&lt;BR /&gt;Using default private key&lt;BR /&gt;+++ using private key:&lt;/P&gt;&lt;P&gt;+++ IAS Subscription Key[0]:&amp;nbsp;&amp;nbsp; &amp;nbsp;'1479..............................35a9'&lt;BR /&gt;+++ IAS Subscription Key[0] (Hex):&amp;nbsp;&amp;nbsp; &amp;nbsp;31343..................6433356139&lt;BR /&gt;+++ One-time pad:&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;00538...................................bd4d5&lt;BR /&gt;+++ Encrypted Subscription Key[0]:&amp;nbsp;&amp;nbsp; &amp;nbsp;3167bad215............................8eb5ec&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;+++ IAS Subscription Key[1]:&amp;nbsp;&amp;nbsp; &amp;nbsp;'d51ef315................7dc389c'&lt;BR /&gt;+++ IAS Subscription Key[1] (Hex):&amp;nbsp;&amp;nbsp; &amp;nbsp;64353165..............353137646333383963&lt;BR /&gt;+++ One-time pad:&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;f894c3691...................b4660ea9d3&lt;BR /&gt;+++ Encrypted Subscription Key[1]:&amp;nbsp;&amp;nbsp; &amp;nbsp;9ca1f20c7................aaa4cff2f3d7553690b0&lt;/P&gt;&lt;P&gt;Listening for connections on port 7777&lt;BR /&gt;Waiting for a client to connect...&lt;BR /&gt;Connection from 127.0.0.1&lt;BR /&gt;Waiting for msg0||msg1&lt;BR /&gt;+++ read 145 bytes from socket&lt;/P&gt;&lt;P&gt;---- read buffer -----------------------------------------------------------&lt;BR /&gt;0000000098c8f2ee693b4f4b82bc25a2e95a91a60696156c1227445092a128f67c75ea513da2ec2be70497b5d54c66eba80e06f87bd988b46ee9e0c3f3954fd1392c2db9df0a0000&lt;BR /&gt;----------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;---- Msg0 Details (from Client) --------------------------------------------&lt;BR /&gt;msg0.extended_epid_group_id = 0&lt;BR /&gt;----------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;---- Msg1 Details (from Client) --------------------------------------------&lt;BR /&gt;msg1.g_a.gx = 98c8f2ee693b4f4b82bc25a2e95a91a60696156c1227445092a128f67c75ea51&lt;BR /&gt;msg1.g_a.gy = 3da2ec2be70497b5d54c66eba80e06f87bd988b46ee9e0c3f3954fd1392c2db9&lt;BR /&gt;msg1.gid &amp;nbsp; &amp;nbsp;= df0a0000&lt;BR /&gt;----------------------------------------------------------------------------&lt;BR /&gt;+++ generating session key Gb&lt;BR /&gt;+++ deriving KDK&lt;BR /&gt;+++ shared secret= e930773f9d30d422865b128a41a49f6785ab8c224d764b69d215040c72110722&lt;BR /&gt;+++ reversed &amp;nbsp; &amp;nbsp; = 220711720c0415d2694b764d228cab85679fa4418a125b8622d4309d3f7730e9&lt;BR /&gt;+++ KDK = e44fc365fa24046d02e759b6b492aeb5&lt;BR /&gt;+++ deriving SMK&lt;BR /&gt;+++ SMK = bc2c9846a515cc47bce7a0c29e52e3d4&lt;BR /&gt;+++ Trying agent_wget&lt;/P&gt;&lt;P&gt;---- IAS sigrl HTTP Request ------------------------------------------------&lt;BR /&gt;HTTP GET &lt;A href="https://api.trustedservices.intel.com/sgx/dev/attestation/v3/sigrl/00000adf" target="_blank"&gt;https://api.trustedservices.intel.com/sgx/dev/attestation/v3/sigrl/00000adf&lt;/A&gt;&lt;BR /&gt;----------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;+++ Reconstructed Subscription Key:&amp;nbsp;&amp;nbsp; &amp;nbsp;'1479e....................35a9'&lt;BR /&gt;+++ IAS Subscription Key (Hex):&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;3134373965........................433356139&lt;BR /&gt;+++ One-time pad:&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;40a509c38...................a1d1a0786&lt;BR /&gt;+++ Encrypted SubscriptionKey:&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;71913efa............................bd5f6e2e2f66bf&lt;/P&gt;&lt;P&gt;+++ Exec: wget --output-document=- --save-headers --content-on-error --no-http-keep-alive --header=Ocp-Apim-Subscription-Key: 1479e.................d35a9 &lt;A href="https://api.trustedservices.intel.com/sgx/dev/attestation/v3/sigrl/00000adf" target="_blank"&gt;https://api.trustedservices.intel.com/sgx/dev/attestation/v3/sigrl/00000adf&lt;/A&gt;&lt;BR /&gt;--2020-06-10 17:31:37-- &amp;nbsp;https://api.trustedservices.intel.com/sgx/dev/attestation/v3/sigrl/00000adf&lt;BR /&gt;Resolving api.trustedservices.intel.com (api.trustedservices.intel.com)... 40.87.90.88&lt;BR /&gt;Connecting to api.trustedservices.intel.com (api.trustedservices.intel.com)|40.87.90.88|:443... connected.&lt;BR /&gt;HTTP request sent, awaiting response... 200 OK&lt;BR /&gt;Length: 0&lt;BR /&gt;Saving to: ‘STDOUT’&lt;/P&gt;&lt;P&gt;- &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; [ &amp;lt;=&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ] &amp;nbsp; &amp;nbsp; &amp;nbsp; 0 &amp;nbsp;--.-KB/s &amp;nbsp; &amp;nbsp;in 0s &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;2020-06-10 17:31:37 (0.00 B/s) - written to stdout [0/0]&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;---- IAS sigrl HTTP Response -----------------------------------------------&lt;BR /&gt;HTTP/1.1 200 OK&lt;BR /&gt;Content-Length: 0&lt;BR /&gt;Request-ID: 8edc242e5b964f02b923c6485457aaf6&lt;BR /&gt;Date: Wed, 10 Jun 2020 23:31:37 GMT&lt;BR /&gt;Connection: close&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;----------------------------------------------------------------------------&lt;BR /&gt;+++ RET = 94673368359048&lt;BR /&gt;, ret+++ SubscriptionKeyID = 0&lt;BR /&gt;+++ GbGa = fb1440155c43a34c2bcb2783c443343976c2766fc20fbeeabef876d4a2fe6ad72961e3c8d7b2633cf324fc2f3c0048a97844353577961ae7ee29530bcf2e44d198c8f2ee693b4f4b82bc25a2e95a91a60696156c1227445092a128f67c75ea513da2ec2be70497b5d54c66eba80e06f87bd988b46ee9e0c3f3954fd1392c2db9&lt;BR /&gt;+++ sha256(GbGa) = 9dc9d5f08514d5720198af6e1a377f8033f880cf058e77202afd2ff3485cdecf&lt;BR /&gt;+++ r = 68903a85627d0e68a173d00d4c203a5683022b7a68aca65866be6dd0dc61df40&lt;BR /&gt;+++ s = f52db39c222ed09ab2bde97516d66f8c738be65bcbaff262f2e66a9361030793&lt;/P&gt;&lt;P&gt;---- Msg2 Details ----------------------------------------------------------&lt;BR /&gt;msg2.g_b.gx &amp;nbsp; &amp;nbsp; &amp;nbsp;= fb1440155c43a34c2bcb2783c443343976c2766fc20fbeeabef876d4a2fe6ad7&lt;BR /&gt;msg2.g_b.gy &amp;nbsp; &amp;nbsp; &amp;nbsp;= 2961e3c8d7b2633cf324fc2f3c0048a97844353577961ae7ee29530bcf2e44d1&lt;BR /&gt;msg2.spid &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= 60bf489aefae6bf6d996ba26e9ff9f6f&lt;BR /&gt;msg2.quote_type &amp;nbsp;= 0000&lt;BR /&gt;msg2.kdf_id &amp;nbsp; &amp;nbsp; &amp;nbsp;= 0100&lt;BR /&gt;msg2.sign_ga_gb &amp;nbsp;= 40df61dcd06dbe6658a6ac687a2b0283563a204c0dd073a1680e7d62853a906893070361936ae6f262f2afcb5be68b738c6fd61675e9bdb29ad02e229cb32df5&lt;BR /&gt;msg2.mac &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; = 32ab29ca5187e05c4aa5c1a6a06d22fb&lt;BR /&gt;msg2.sig_rl_size = 00000000&lt;BR /&gt;----------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;---- Copy/Paste Msg2 Below to Client ---------------------------------------&lt;BR /&gt;fb1440155c43a34c2bcb2783c443343976c2766fc20fbeeabef876d4a2fe6ad72961e3c8d7b2633cf324fc2f3c0048a97844353577961ae7ee29530bcf2e44d160bf489aefae6bf6d996ba26e9ff9f6f0000010040df61dcd06dbe6658a6ac687a2b0283563a204c0dd073a1680e7d62853a906893070361936ae6f262f2afcb5be68b738c6fd61675e9bdb29ad02e229cb32df532ab29ca5187e05c4aa5c1a6a06d22fb00000000&lt;BR /&gt;----------------------------------------------------------------------------&lt;BR /&gt;Waiting for msg3&lt;BR /&gt;+++ read 2905 bytes from socket&lt;/P&gt;&lt;P&gt;---- read buffer -----------------------------------------------------------&lt;BR /&gt;6e2b2185a196610b52698faf9fc171a298c8f2ee693b4f4b82bc25a2e95a91a60696156c1227445092a128f67c75ea513da2ec2be70497b5d54c66eba80e06f87bd988b46ee9e0c3f3954fd1392c2db90000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002000000df0a0000080007000000000060bf489aefae6bf6d996ba26e9ff9f6f6b5347d0e2ff7011fbd496fab452a558040effffff020000000000000000000000000000000000000000000000000000000000000000000000000000000000000700000000000000070000000000000019b1acb2f7df16b641abb764363ebd237fd31168dae8b319408ba5619ce0227a000000000000000000000000000000000000000000000000000000000000000083d719e77deaca1470f6baf62a4d774303c899db69020f9c70ee1dfc08c7ce9e00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000efee3534426770f9655c71e2adce102c284691d4f6a54d4bbc5ca958476347100000000000000000000000000000000000000000000000000000000000000000a802000000bb4e7540d74711881e67a8ae0831ca3737ce4ad51a2422277f06c07903ee978ff374c7cb030adb3d24054b258946e405e2a1a8901de89323a93204f8cca9ddfc839a4574d894ca84e7a56b5409f8ae224759b303b2903983ace8702cf1a21dccb023930560541ad30278ad835a0e95ca30eef1c0cee517fa7244edec03e5e0bbc241e8165964f56b9d9615737a090c51e9f0ed78e811604786a3ccc6800dd5dbb2ad196eaad4e55d5d2fcd30eb60621ed032ba547f536cc432d4eca300d9ab0a4839aa51c0a87b976165277a6c873022310a84897897fcd2a1303dfd1d80de43606a839232d8dad4f96b325737edc867701ace8dc03455f82ba235711582c84b90215e60eae3272aa6c8e365ed93d18190e29248fc4573202158b862b12627129a48d0163b3874a32021bf68010000e493f257beca1018861a378ec0bbe34bda982630fcc9048301f86535e2a57f8e3138a1cf916ee6a7a12b944f9312e2771ab36b2e75a8da7890f353688021c37bf7c0bd44f489fdccc0b1b0ba287a2062843251f1290aac93f9d6b7da7e3d387b19ee9db890abb42e5bce0a3c7285480aaf282123ccf125af7178e94c616f6195a592ba51a362dc9a2e0ca75584cdcfc56c6e9d25a3a1848f4c5cd98d561f827e7bd3bdf1a3d75ea89be76abb78fa56757498fbcbcafa62db651b534bcf6fbba780be0872f02887e86d8e532aeadfedc01271676ba97b18e0fcd7a376e69601fcde1eddd3d0cf71f5f061d8490e5a49db6e22778168fcf94af79c19b43a5c02e6a7f2c42fa6a8a12fa7fceb7ad75619e5d9fa958d87d8f9ca54b78beefdc3ad537fe1f9ded97a044f2fd321a321babbf8e6791571936d6e3a9ea2194ac1d10e0bf88695f57258ac31f9c60e421fad969faa4517845c22b804e5c3956177b21ca07d5f3bb4d8f3996fcd79a36ca6e3555a53b8bd78e8f72c28&lt;BR /&gt;----------------------------------------------------------------------------&lt;BR /&gt;+++ read 2904 bytes&lt;BR /&gt;+++ quote_sz= 1116 bytes&lt;BR /&gt;+++ Verifying msg3.g_a matches msg1.g_a&lt;BR /&gt;msg1.g_a.gx = 98c8f2ee693b4f4b82bc25a2e95a91a60696156c1227445092a128f67c75ea51&lt;BR /&gt;msg1.g_a.gy = 3da2ec2be70497b5d54c66eba80e06f87bd988b46ee9e0c3f3954fd1392c2db9&lt;BR /&gt;msg3.g_a.gx = 98c8f2ee693b4f4b82bc25a2e95a91a60696156c1227445092a128f67c75ea51&lt;BR /&gt;msg3.g_a.gy = 3da2ec2be70497b5d54c66eba80e06f87bd988b46ee9e0c3f3954fd1392c2db9&lt;BR /&gt;+++ Validating MACsmk(M)&lt;BR /&gt;msg3.mac &amp;nbsp; = 6e2b2185a196610b52698faf9fc171a2&lt;BR /&gt;calculated = 6e2b2185a196610b52698faf9fc171a2&lt;/P&gt;&lt;P&gt;---- Msg3 Details (from Client) --------------------------------------------&lt;BR /&gt;msg3.mac &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; = 6e2b2185a196610b52698faf9fc171a2&lt;BR /&gt;msg3.g_a.gx &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= 98c8f2ee693b4f4b82bc25a2e95a91a60696156c1227445092a128f67c75ea51&lt;BR /&gt;msg3.g_a.gy &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= 3da2ec2be70497b5d54c66eba80e06f87bd988b46ee9e0c3f3954fd1392c2db9&lt;BR /&gt;msg3.ps_sec_prop &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; = 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000&lt;BR /&gt;msg3.quote.version &amp;nbsp; &amp;nbsp; &amp;nbsp; = 0200&lt;BR /&gt;msg3.quote.sign_type &amp;nbsp; &amp;nbsp; = 0000&lt;BR /&gt;msg3.quote.epid_group_id = df0a0000&lt;BR /&gt;msg3.quote.qe_svn &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= 0800&lt;BR /&gt;msg3.quote.pce_svn &amp;nbsp; &amp;nbsp; &amp;nbsp; = 0700&lt;BR /&gt;msg3.quote.xeid &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= 00000000&lt;BR /&gt;msg3.quote.basename &amp;nbsp; &amp;nbsp; &amp;nbsp;= 60bf489aefae6bf6d996ba26e9ff9f6f6b5347d0e2ff7011fbd496fab452a558&lt;BR /&gt;msg3.quote.report_body &amp;nbsp; = 040effffff020000000000000000000000000000000000000000000000000000000000000000000000000000000000000700000000000000070000000000000019b1acb2f7df16b641abb764363ebd237fd31168dae8b319408ba5619ce0227a000000000000000000000000000000000000000000000000000000000000000083d719e77deaca1470f6baf62a4d774303c899db69020f9c70ee1dfc08c7ce9e00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000efee3534426770f9655c71e2adce102c284691d4f6a54d4bbc5ca958476347100000000000000000000000000000000000000000000000000000000000000000&lt;BR /&gt;msg3.quote.signature_len = a8020000&lt;BR /&gt;msg3.quote.signature &amp;nbsp; &amp;nbsp; = 00bb4e7540d74711881e67a8ae0831ca3737ce4ad51a2422277f06c07903ee978ff374c7cb030adb3d24054b258946e405e2a1a8901de89323a93204f8cca9ddfc839a4574d894ca84e7a56b5409f8ae224759b303b2903983ace8702cf1a21dccb023930560541ad30278ad835a0e95ca30eef1c0cee517fa7244edec03e5e0bbc241e8165964f56b9d9615737a090c51e9f0ed78e811604786a3ccc6800dd5dbb2ad196eaad4e55d5d2fcd30eb60621ed032ba547f536cc432d4eca300d9ab0a4839aa51c0a87b976165277a6c873022310a84897897fcd2a1303dfd1d80de43606a839232d8dad4f96b325737edc867701ace8dc03455f82ba235711582c84b90215e60eae3272aa6c8e365ed93d18190e29248fc4573202158b862b12627129a48d0163b3874a32021bf68010000e493f257beca1018861a378ec0bbe34bda982630fcc9048301f86535e2a57f8e3138a1cf916ee6a7a12b944f9312e2771ab36b2e75a8da7890f353688021c37bf7c0bd44f489fdccc0b1b0ba287a2062843251f1290aac93f9d6b7da7e3d387b19ee9db890abb42e5bce0a3c7285480aaf282123ccf125af7178e94c616f6195a592ba51a362dc9a2e0ca75584cdcfc56c6e9d25a3a1848f4c5cd98d561f827e7bd3bdf1a3d75ea89be76abb78fa56757498fbcbcafa62db651b534bcf6fbba780be0872f02887e86d8e532aeadfedc01271676ba97b18e0fcd7a376e69601fcde1eddd3d0cf71f5f061d8490e5a49db6e22778168fcf94af79c19b43a5c02e6a7f2c42fa6a8a12fa7fceb7ad75619e5d9fa958d87d8f9ca54b78beefdc3ad537fe1f9ded97a044f2fd321a321babbf8e6791571936d6e3a9ea2194ac1d10e0bf88695f57258ac31f9c60e421fad969faa4517845c22b804e5c3956177b21ca07d5f3bb4d8f3996fcd79a36ca6e3555a53b8bd78e8f72c28&lt;/P&gt;&lt;P&gt;---- Enclave Quote (base64) ==&amp;gt; Send to IAS --------------------------------&lt;BR /&gt;AgAAAN8KAAAIAAcAAAAAAGC/SJrvrmv22Za6Jun/n29rU0fQ4v9wEfvUlvq0UqVYBA7///8CAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAAAAAAAAAHAAAAAAAAABmxrLL33xa2Qau3ZDY+vSN/0xFo2uizGUCLpWGc4CJ6AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACD1xnnferKFHD2uvYqTXdDA8iZ22kCD5xw7h38CMfOngAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADv7jU0Qmdw+WVcceKtzhAsKEaR1PalTUu8XKlYR2NHEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAqAIAAAC7TnVA10cRiB5nqK4IMco3N85K1RokIid/BsB5A+6Xj/N0x8sDCts9JAVLJYlG5AXioaiQHeiTI6kyBPjMqd38g5pFdNiUyoTnpWtUCfiuIkdZswOykDmDrOhwLPGiHcywI5MFYFQa0wJ4rYNaDpXKMO7xwM7lF/pyRO3sA+Xgu8JB6BZZZPVrnZYVc3oJDFHp8O146BFgR4ajzMaADdXbsq0ZbqrU5V1dL80w62BiHtAyulR/U2zEMtTsowDZqwpIOapRwKh7l2FlJ3pshzAiMQqEiXiX/NKhMD39HYDeQ2Bqg5Iy2NrU+WsyVzftyGdwGs6NwDRV+CuiNXEVgshLkCFeYOrjJyqmyONl7ZPRgZDikkj8RXMgIVi4YrEmJxKaSNAWOzh0oyAhv2gBAADkk/JXvsoQGIYaN47Au+NL2pgmMPzJBIMB+GU14qV/jjE4oc+RbuanoSuUT5MS4ncas2sudajaeJDzU2iAIcN798C9RPSJ/czAsbC6KHogYoQyUfEpCqyT+da32n49OHsZ7p24kKu0LlvOCjxyhUgKryghI8zxJa9xeOlMYW9hlaWSulGjYtyaLgynVYTNz8Vsbp0lo6GEj0xc2Y1WH4J+e9O98aPXXqib52q7ePpWdXSY+8vK+mLbZRtTS89vu6eAvghy8CiH6G2OUyrq3+3AEnFna6l7GOD816N25pYB/N4e3dPQz3H18GHYSQ5aSdtuIneBaPz5SvecGbQ6XALmp/LEL6aooS+n/Ot611YZ5dn6lY2H2PnKVLeL7v3DrVN/4fne2XoETy/TIaMhurv45nkVcZNtbjqeohlKwdEOC/iGlfVyWKwx+cYOQh+tlp+qRReEXCK4BOXDlWF3shygfV87tNjzmW/NeaNspuNVWlO4vXjo9ywo&lt;BR /&gt;----------------------------------------------------------------------------&lt;BR /&gt;+++ Validating quote's epid_group_id against msg1&lt;BR /&gt;msg1.egid = df0a0000&lt;BR /&gt;msg3.quote.epid_group_id = df0a0000&lt;BR /&gt;+++ Trying agent_wget&lt;/P&gt;&lt;P&gt;---- IAS report HTTP Request -----------------------------------------------&lt;BR /&gt;HTTP POST &lt;A href="https://api.trustedservices.intel.com/sgx/dev/attestation/v3/report" target="_blank"&gt;https://api.trustedservices.intel.com/sgx/dev/attestation/v3/report&lt;/A&gt;&lt;BR /&gt;----------------------------------------------------------------------------&lt;BR /&gt;+++ POST data written to /tmp/wgetpostd9DUSM&lt;/P&gt;&lt;P&gt;+++ Reconstructed Subscription Key:&amp;nbsp;&amp;nbsp; &amp;nbsp;'1479e.................cd35a9'&lt;BR /&gt;+++ IAS Subscription Key (Hex):&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;31343...........636433356139&lt;BR /&gt;+++ One-time pad:&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;40a509c3.............0a1d1a0786&lt;BR /&gt;+++ Encrypted SubscriptionKey:&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;71913efaed..................cbd5f6e2e2f66bf&lt;/P&gt;&lt;P&gt;+++ Exec: wget --output-document=- --save-headers --content-on-error --no-http-keep-alive --header=Ocp-Apim-Subscription-Key: 1479e...............cd35a9 --header=Content-Type: application/json --post-file=/tmp/wgetpostd9DUSM &lt;A href="https://api.trustedservices.intel.com/sgx/dev/attestation/v3/report" target="_blank"&gt;https://api.trustedservices.intel.com/sgx/dev/attestation/v3/report&lt;/A&gt;&lt;BR /&gt;--2020-06-10 17:31:37-- &amp;nbsp;https://api.trustedservices.intel.com/sgx/dev/attestation/v3/report&lt;BR /&gt;Resolving api.trustedservices.intel.com (api.trustedservices.intel.com)... 40.87.90.88&lt;BR /&gt;Connecting to api.trustedservices.intel.com (api.trustedservices.intel.com)|40.87.90.88|:443... connected.&lt;BR /&gt;HTTP request sent, awaiting response... 400 Bad Request&lt;BR /&gt;Saving to: ‘STDOUT’&lt;/P&gt;&lt;P&gt;- &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; [ &amp;lt;=&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ] &amp;nbsp; &amp;nbsp; &amp;nbsp; 0 &amp;nbsp;--.-KB/s &amp;nbsp; &amp;nbsp;in 0s &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;2020-06-10 17:31:38 ERROR 400: Bad Request.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;---- IAS report HTTP Response ----------------------------------------------&lt;BR /&gt;HTTP/1.1 400 Bad Request&lt;BR /&gt;Content-Length: 0&lt;BR /&gt;Request-ID: 2206cea68bcb4cd8be2347d000172a4a&lt;BR /&gt;Date: Wed, 10 Jun 2020 23:31:37 GMT&lt;BR /&gt;Connection: close&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;----------------------------------------------------------------------------&lt;BR /&gt;attestation query returned 400:&amp;nbsp;&lt;BR /&gt;Invalid payload&lt;BR /&gt;Attestation failed&lt;BR /&gt;error processing msg3&lt;BR /&gt;Waiting for a client to connect...&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;</description>
      <pubDate>Wed, 10 Jun 2020 23:45:07 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Software-Guard-Extensions/attestation-query-returns-400-Bad-request/m-p/1186131#M3728</guid>
      <dc:creator>user14</dc:creator>
      <dc:date>2020-06-10T23:45:07Z</dc:date>
    </item>
    <item>
      <title>Hello user14,</title>
      <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/attestation-query-returns-400-Bad-request/m-p/1186132#M3729</link>
      <description>&lt;P&gt;Hello user14,&lt;/P&gt;&lt;P&gt;We need to check the Intel backend for why your transaction is failing. Unfortunately, we will not be able to get you a response until next week. Please stay tuned and I'll get back to you as soon as I have an answer.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jun 2020 21:31:29 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Software-Guard-Extensions/attestation-query-returns-400-Bad-request/m-p/1186132#M3729</guid>
      <dc:creator>JesusG_Intel</dc:creator>
      <dc:date>2020-06-11T21:31:29Z</dc:date>
    </item>
    <item>
      <title>A gentle reminder. Let me</title>
      <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/attestation-query-returns-400-Bad-request/m-p/1186133#M3730</link>
      <description>&lt;P&gt;A gentle reminder. Let me know when you have an answer.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 21 Jun 2020 23:57:09 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Software-Guard-Extensions/attestation-query-returns-400-Bad-request/m-p/1186133#M3730</guid>
      <dc:creator>user14</dc:creator>
      <dc:date>2020-06-21T23:57:09Z</dc:date>
    </item>
    <item>
      <title>Re:attestation query returns 400 Bad request</title>
      <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/attestation-query-returns-400-Bad-request/m-p/1186859#M3743</link>
      <description>&lt;P&gt;Hello Tarun,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;The reason you are getting the 400 bad request error is that you are using a Linkable Attestation Service subscription with an unlinkable quote. You need to generate the same type of quote as the subscription SPID/Key out at IAS.&amp;nbsp;When you subscribe to IAS, you choose one other the other.&amp;nbsp;You are generating one type, but trying to verify using a subscription SPID/Key to the other type.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Check the API for sgx_get_quote in the Intel SGX Developer Reference Guide for your OS. &lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier;"&gt;sgx_get_quote&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier;"&gt;sgx_get_quote generates a linkable or un-linkable QUOTE.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier;"&gt;Syntax&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier;"&gt;sgx_status_t sgx_get_quote(&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: courier;"&gt;const sgx_report_t *p_report,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: courier;"&gt;sgx_quote_sign_type_t quote_type,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: courier;"&gt;const sgx_spid_t *p_spid,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: courier;"&gt;const sgx_quote_nonce_t *p_nonce,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: courier;"&gt;const uint8_t *p_sig_rl,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: courier;"&gt;uint32_t sig_rl_size,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: courier;"&gt;sgx_report_t *p_qe_report,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: courier;"&gt;sgx_quote_t *p_quote,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: courier;"&gt;uint32_t quote_size&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;&lt;SPAN style="font-family: courier;"&gt;quote_type [in]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier;"&gt;SGX_UNLINKABLE_SIGNATURE for unlinkable quote or SGX_LINKABLE_&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier;"&gt;SIGNATURE for linkable quote.&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 24 Jun 2020 21:07:13 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Software-Guard-Extensions/attestation-query-returns-400-Bad-request/m-p/1186859#M3743</guid>
      <dc:creator>JesusG_Intel</dc:creator>
      <dc:date>2020-06-24T21:07:13Z</dc:date>
    </item>
  </channel>
</rss>

