Intel® Software Guard Extensions (Intel® SGX)
Discussion board focused on hardware-based isolation and memory encryption to provide extended code protection in solutions.
1490 Discussions

The problem of run sgx-ra-smaple in win10,return error informaton "error processing msg3"

chencwu
Beginner
1,246 Views

Hi,Intel:

    i am build  sgx-ra-sample  finish,however,have a   error informaton "error processing msg3" when i run it.since "Could not query IAS"

the sp.exe as follows:

PS C:\Users\DELL\Downloads\sgx-ra-sample-master\sgx-ra-sample-master\vs\x64\Debug> .\sp.exe --spid 976DC49630D599C0C8253E9A43F25624  --ias-signing-cafile=C:/Users/DELL/Downloads/Intel_SGX_Attestation_RootCA.pem --mrsigner=bd71c6380ef77c5417e8b2d1ce2d4b6504b9f418e5049342440cfff2443d95bd --isv-product-id=0 --min-isv-svn=1 --ias-pri-api-key=12b38b85cd994ea985e5efd41a23fade  --ias-sec-api-key=bb95faf7da814420ab3a914d98187cc7  --linkable --no-proxy -d
+++ IAS Primary Subscription Key set to '12b3........................fade'
+++ IAS Secondary Subscription Key set to 'bb95........................7cc7'
+++ Using default CA bundle C:\Program Files\cURL\bin\curl-ca-bundle.crt
Using default private key
+++ using private key:
Listening for connections on port 7777
Waiting for a client to connect...
Connection from ::1
Waiting for msg0||msg1
+++ read 145 bytes from socket

---- read buffer -----------------------------------------------------------
000000003f05c6e1900051c75e3a7b73ba6ab70a3876f2fe5a7f1288f7877fde7950462dd55b9415b4cf9a4a7360c70975ec2caa0049ce2a6a486ecfcf354ec3a10f00f0b40c0000
----------------------------------------------------------------------------
+++ generating session key Gb
+++ deriving KDK
+++ shared secret= 04ddbe9dab4d0b83c32b23950b8a945e1e31b64b3a822583153683cb7bda3156
+++ reversed     = 5631da7bcb8336158325823a4bb6311e5e948a0b95232bc3830b4dab9dbedd04
+++ KDK = 3171225886322eb841703ee854af22e3
+++ deriving SMK
+++ SMK = 7e136b4649ceb760e0894468445393d9
+++ Trying agent_winhttp

+++ Reconstructed Subscription Key:     '12b38b85cd994ea985e5efd41a23fade'
+++ IAS Subscription Key (Hex):         3132623338623835636439393465613938356535656664343161323366616465
+++ One-time pad:                       0c21cd0c078502eb7e1b2c362015ead0a15c30a93c5b22b99305b55bfde049c4
+++ Encrypted SubscriptionKey:          3d13af3f3fe73ade1d7f150f14708be99969559c593d468da26487689b812da1

Header contents:
HTTP/1.1 200 OK
Date: Sat, 18 Nov 2023 11:56:14 GMT
Content-Length: 0
Request-ID: eb0198a461cb445885b81bdf398330ee

+++ RET = 140700699199280
, ret+++ SubscriptionKeyID = 0
+++ GbGa = 1daf1df45dac8b55014f32d41bbbf77f5fd66bbfbbdbef27f220070796384f905de0ccc1ec38d92003381cb14a251144432314f7ddfc1871cc8e074f71a45bf43f05c6e1900051c75e3a7b73ba6ab70a3876f2fe5a7f1288f7877fde7950462dd55b9415b4cf9a4a7360c70975ec2caa0049ce2a6a486ecfcf354ec3a10f00f0
+++ sha256(GbGa) = a83a9a4dcb7b718a90a20055377203a56e1aaa2097d4d0e2bf6fa0819451dc17
+++ r = 7b9ce154b1255f55b5b1b347b336c0ea87d283b77695b4308e5ebf0455fc3751
+++ s = 9a31f7da36dd34a7cddbca8cb5d2b1c7a6ef0ca2c92530c8d818934c12eac781

---- Copy/Paste Msg2 Below to Client ---------------------------------------
1daf1df45dac8b55014f32d41bbbf77f5fd66bbfbbdbef27f220070796384f905de0ccc1ec38d92003381cb14a251144432314f7ddfc1871cc8e074f71a45bf4976dc49630d599c0c8253e9a43f25624010001005137fc5504bf5e8e30b49576b783d287eac036b347b3b1b5555f25b154e19c7b81c7ea124c9318d8c83025c9a20cefa6c7b1d2b58ccadbcda734dd36daf7319a77fb77462d36b6d609b257fe03a81ca200000000
----------------------------------------------------------------------------
Waiting for msg3
+++ read 2905 bytes from socket

---- read buffer -----------------------------------------------------------
ab38d0f1c9e42687299ac0885ebea4aa3f05c6e1900051c75e3a7b73ba6ab70a3876f2fe5a7f1288f7877fde7950462dd55b9415b4cf9a4a7360c70975ec2caa0049ce2a6a486ecfcf354ec3a10f00f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002000100b40c00000f000f0000000000976dc49630d599c0c8253e9a43f25624000000000000000000000000000000000f0fff1010800600000000000000000000000000000000000000000000000000000000000000000000000000000000000700000000000000070000000000000014fdb5c8cf088bd933d55d79bdcebb758f83b90c94ce05050d569e0cea9359400000000000000000000000000000000000000000000000000000000000000000bd71c6380ef77c5417e8b2d1ce2d4b6504b9f418e5049342440cfff2443d95bd00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ba1f8979e34f980ffbfd0974292d0dea8e1f79273f445dfff28959d44b3fe8de0000000000000000000000000000000000000000000000000000000000000000a8020000a5e58b43462ae78fb04b1507defd2632d198af367d971810e9893016887eac71051e76f60d9bfdfbabbff6c40a4191fbd0279ac0eee6c1e94aaad960c9b2f009d85c18f8007cff685ccdf6eb2e3bc1bca8e323b46e5e5c9555a9254976abef4366df963c0489b11676ff97909401e46aaaa8dc98c2d7200570be8166acec4f5496c2d274686aff2fc5fb2a50f8c7114f32a44f8bdff6b2bb30a8b3e22477bfd8ce6c1f2a5500d08edb86cf4397aa437aca0cb846e54f5ff2db2f11f0808aefd0bad92c8de6bb4c29422f77aabdc3f1d7965dfe06c22173508218a3c3bffb1fb28d826e5b8c0b03ae6778ed570b39ef1d27c633f367f4320ebe6145410cfcf67d5477972b9fadbbd3503f0603ea208bf1784daaa7bbba6c0a295933fec0d1091fbc8fc146c8dfc0f9dbf8c00268010000b76c1c7e86dc5db53e702d3cc46f65a821070ea6b7e7c03922ffa0234e710a9e6cecb2bad52c7bc66ab4f94a6976f7b4e3945055e7c58a174db0bb74b55d3f4eb0aebd129cf1549fee91c2ca8ac33ade65c3285aca15f01113006d457635fd0b56af865c8371988d849cdc6b55fa2b05b4889b59a33406cc31e636ba124fa257a7411033d47cdbbc55797a2414716aca63861a194a8a31b3b3f229236d0e4a1eac060ccf95b522a66a3158fb056eebe3f4f843329fc2731c19ffdbff6a7fd55e7acc51c3af3a785e3cbb7cc8aeb9313992d5df203b98e320091fe2d805ac6e7609a58f37e0a217c17024b889b3e22e07ff40a3061a34ee23f7df25cea8b15ed116904c4643a08b8b0bbc521549039c2d986eaa7d0d2b7d43311912559d913e8d63887b2362831b7d321c28112d502fefa7d8663d61d50e2d59736582747103dd1fa6708e41868fc86f56eca00352d85aeb974e7cae3f76e48c6d35eb25b83e4cb34622758f2d6139eb1e27b4fc6c6cbdb5b39497178a1a72
----------------------------------------------------------------------------
+++ read 2904 bytes
+++ quote_sz= 1116 bytes
+++ Verifying msg3.g_a matches msg1.g_a
msg1.g_a.gx = 3f05c6e1900051c75e3a7b73ba6ab70a3876f2fe5a7f1288f7877fde7950462d
msg1.g_a.gy = d55b9415b4cf9a4a7360c70975ec2caa0049ce2a6a486ecfcf354ec3a10f00f0
msg3.g_a.gx = 3f05c6e1900051c75e3a7b73ba6ab70a3876f2fe5a7f1288f7877fde7950462d
msg3.g_a.gy = d55b9415b4cf9a4a7360c70975ec2caa0049ce2a6a486ecfcf354ec3a10f00f0
+++ Validating MACsmk(M)
msg3.mac   = ab38d0f1c9e42687299ac0885ebea4aa
calculated = ab38d0f1c9e42687299ac0885ebea4aa
+++ Validating quote's epid_group_id against msg1
msg1.egid = b40c0000
msg3.quote.epid_group_id = b40c0000
+++ Trying agent_winhttp

+++ Reconstructed Subscription Key:     '12b38b85cd994ea985e5efd41a23fade'
+++ IAS Subscription Key (Hex):         3132623338623835636439393465613938356535656664343161323366616465
+++ One-time pad:                       0c21cd0c078502eb7e1b2c362015ead0a15c30a93c5b22b99305b55bfde049c4
+++ Encrypted SubscriptionKey:          3d13af3f3fe73ade1d7f150f14708be99969559c593d468da26487689b812da1

Header contents:
HTTP/1.1 417 Expectation Failed
Date: Sat, 18 Nov 2023 11:56:14 GMT
Transfer-Encoding: chunked

Could not query IAS
attestation query returned 0:
Could not query IAS
Attestation failed
error processing msg3
Waiting for a client to connect...

 and client.exe as follows:

PS C:\Users\DELL\Downloads\sgx-ra-sample-master\sgx-ra-sample-master\vs\x64\Debug> .\client.exe -v  --spid 976DC49630D599C0C8253E9A43F25624 -d
+++ using default public key

---- Msg0 Details ----------------------------------------------------------
Extended Epid Group ID: 00000000
----------------------------------------------------------------------------

---- Msg1 Details ----------------------------------------------------------
msg1.g_a.gx = 3f05c6e1900051c75e3a7b73ba6ab70a3876f2fe5a7f1288f7877fde7950462d
msg1.g_a.gy = d55b9415b4cf9a4a7360c70975ec2caa0049ce2a6a486ecfcf354ec3a10f00f0
msg1.gid    = b40c0000
----------------------------------------------------------------------------

---- Copy/Paste Msg0||Msg1 Below to SP -------------------------------------
000000003f05c6e1900051c75e3a7b73ba6ab70a3876f2fe5a7f1288f7877fde7950462dd55b9415b4cf9a4a7360c70975ec2caa0049ce2a6a486ecfcf354ec3a10f00f0b40c0000
----------------------------------------------------------------------------
Waiting for msg2
+++ read 337 bytes from socket

---- read buffer -----------------------------------------------------------
1daf1df45dac8b55014f32d41bbbf77f5fd66bbfbbdbef27f220070796384f905de0ccc1ec38d92003381cb14a251144432314f7ddfc1871cc8e074f71a45bf4976dc49630d599c0c8253e9a43f25624010001005137fc5504bf5e8e30b49576b783d287eac036b347b3b1b5555f25b154e19c7b81c7ea124c9318d8c83025c9a20cefa6c7b1d2b58ccadbcda734dd36daf7319a77fb77462d36b6d609b257fe03a81ca200000000
----------------------------------------------------------------------------

---- Msg2 Details ----------------------------------------------------------
msg2.g_b.gx      = 1daf1df45dac8b55014f32d41bbbf77f5fd66bbfbbdbef27f220070796384f90
msg2.g_b.gy      = 5de0ccc1ec38d92003381cb14a251144432314f7ddfc1871cc8e074f71a45bf4
msg2.spid        = 976dc49630d599c0c8253e9a43f25624
msg2.quote_type  = 0100
msg2.kdf_id      = 0100
msg2.sign_ga_gb  = 5137fc5504bf5e8e30b49576b783d287eac036b347b3b1b5555f25b154e19c7b81c7ea124c9318d8c83025c9a20cefa6c7b1d2b58ccadbcda734dd36daf7319a
msg2.mac         = 77fb77462d36b6d609b257fe03a81ca2
msg2.sig_rl_size = 00000000
msg2.sig_rl      =
----------------------------------------------------------------------------
+++ msg2_size = 168
+++ msg3_size = 1452

---- Msg3 Details ----------------------------------------------------------
msg3.mac         = ab38d0f1c9e42687299ac0885ebea4aa
msg3.g_a.gx      = 3f05c6e1900051c75e3a7b73ba6ab70a3876f2fe5a7f1288f7877fde7950462d
msg3.g_a.gy      = d55b9415b4cf9a4a7360c70975ec2caa0049ce2a6a486ecfcf354ec3a10f00f0
msg3.ps_sec_prop.sgx_ps_sec_prop_desc = 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
msg3.quote       = 02000100b40c00000f000f0000000000976dc49630d599c0c8253e9a43f25624000000000000000000000000000000000f0fff1010800600000000000000000000000000000000000000000000000000000000000000000000000000000000000700000000000000070000000000000014fdb5c8cf088bd933d55d79bdcebb758f83b90c94ce05050d569e0cea9359400000000000000000000000000000000000000000000000000000000000000000bd71c6380ef77c5417e8b2d1ce2d4b6504b9f418e5049342440cfff2443d95bd00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ba1f8979e34f980ffbfd0974292d0dea8e1f79273f445dfff28959d44b3fe8de0000000000000000000000000000000000000000000000000000000000000000a8020000a5e58b43462ae78fb04b1507defd2632d198af367d971810e9893016887eac71051e76f60d9bfdfbabbff6c40a4191fbd0279ac0eee6c1e94aaad960c9b2f009d85c18f8007cff685ccdf6eb2e3bc1bca8e323b46e5e5c9555a9254976abef4366df963c0489b11676ff97909401e46aaaa8dc98c2d7200570be8166acec4f5496c2d274686aff2fc5fb2a50f8c7114f32a44f8bdff6b2bb30a8b3e22477bfd8ce6c1f2a5500d08edb86cf4397aa437aca0cb846e54f5ff2db2f11f0808aefd0bad92c8de6bb4c29422f77aabdc3f1d7965dfe06c22173508218a3c3bffb1fb28d826e5b8c0b03ae6778ed570b39ef1d27c633f367f4320ebe6145410cfcf67d5477972b9fadbbd3503f0603ea208bf1784daaa7bbba6c0a295933fec0d1091fbc8fc146c8dfc0f9dbf8c00268010000b76c1c7e86dc5db53e702d3cc46f65a821070ea6b7e7c03922ffa0234e710a9e6cecb2bad52c7bc66ab4f94a6976f7b4e3945055e7c58a174db0bb74b55d3f4eb0aebd129cf1549fee91c2ca8ac33ade65c3285aca15f01113006d457635fd0b56af865c8371988d849cdc6b55fa2b05b4889b59a33406cc31e636ba124fa257a7411033d47cdbbc55797a2414716aca63861a194a8a31b3b3f229236d0e4a1eac060ccf95b522a66a3158fb056eebe3f4f843329fc2731c19ffdbff6a7fd55e7acc51c3af3a785e3cbb7cc8aeb9313992d5df203b98e320091fe2d805ac6e7609a58f37e0a217c17024b889b3e22e07ff40a3061a34ee23f7df25cea8b15ed116904c4643a08b8b0bbc521549039c2d986eaa7d0d2b7d43311912559d913e8d63887b2362831b7d321c28112d502fefa7d8663d61d50e2d59736582747103dd1fa6708e41868fc86f56eca00352d85aeb974e7cae3f76e48c6d35eb25b83e4cb34622758f2d6139eb1e27b4fc6c6cbdb5b39497178a1a72
----------------------------------------------------------------------------

---- Copy/Paste Msg3 Below to SP -------------------------------------------
ab38d0f1c9e42687299ac0885ebea4aa3f05c6e1900051c75e3a7b73ba6ab70a3876f2fe5a7f1288f7877fde7950462dd55b9415b4cf9a4a7360c70975ec2caa0049ce2a6a486ecfcf354ec3a10f00f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002000100b40c00000f000f0000000000976dc49630d599c0c8253e9a43f25624000000000000000000000000000000000f0fff1010800600000000000000000000000000000000000000000000000000000000000000000000000000000000000700000000000000070000000000000014fdb5c8cf088bd933d55d79bdcebb758f83b90c94ce05050d569e0cea9359400000000000000000000000000000000000000000000000000000000000000000bd71c6380ef77c5417e8b2d1ce2d4b6504b9f418e5049342440cfff2443d95bd00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ba1f8979e34f980ffbfd0974292d0dea8e1f79273f445dfff28959d44b3fe8de0000000000000000000000000000000000000000000000000000000000000000a8020000a5e58b43462ae78fb04b1507defd2632d198af367d971810e9893016887eac71051e76f60d9bfdfbabbff6c40a4191fbd0279ac0eee6c1e94aaad960c9b2f009d85c18f8007cff685ccdf6eb2e3bc1bca8e323b46e5e5c9555a9254976abef4366df963c0489b11676ff97909401e46aaaa8dc98c2d7200570be8166acec4f5496c2d274686aff2fc5fb2a50f8c7114f32a44f8bdff6b2bb30a8b3e22477bfd8ce6c1f2a5500d08edb86cf4397aa437aca0cb846e54f5ff2db2f11f0808aefd0bad92c8de6bb4c29422f77aabdc3f1d7965dfe06c22173508218a3c3bffb1fb28d826e5b8c0b03ae6778ed570b39ef1d27c633f367f4320ebe6145410cfcf67d5477972b9fadbbd3503f0603ea208bf1784daaa7bbba6c0a295933fec0d1091fbc8fc146c8dfc0f9dbf8c00268010000b76c1c7e86dc5db53e702d3cc46f65a821070ea6b7e7c03922ffa0234e710a9e6cecb2bad52c7bc66ab4f94a6976f7b4e3945055e7c58a174db0bb74b55d3f4eb0aebd129cf1549fee91c2ca8ac33ade65c3285aca15f01113006d457635fd0b56af865c8371988d849cdc6b55fa2b05b4889b59a33406cc31e636ba124fa257a7411033d47cdbbc55797a2414716aca63861a194a8a31b3b3f229236d0e4a1eac060ccf95b522a66a3158fb056eebe3f4f843329fc2731c19ffdbff6a7fd55e7acc51c3af3a785e3cbb7cc8aeb9313992d5df203b98e320091fe2d805ac6e7609a58f37e0a217c17024b889b3e22e07ff40a3061a34ee23f7df25cea8b15ed116904c4643a08b8b0bbc521549039c2d986eaa7d0d2b7d43311912559d913e8d63887b2362831b7d321c28112d502fefa7d8663d61d50e2d59736582747103dd1fa6708e41868fc86f56eca00352d85aeb974e7cae3f76e48c6d35eb25b83e4cb34622758f2d6139eb1e27b4fc6c6cbdb5b39497178a1a72
----------------------------------------------------------------------------
protocol error reading msg4

i think the problem is in IAS,but i also subscribe IAS:
setting.cmd as follows:

:: NOTE: This file uses Windows batch file syntax because it is
:: executed via CALL from run-client.cmd and run-server.cmd

::======================================================================
:: Global options
::======================================================================

:: Set to non-zero to query the production IAS instead of development.
:: Note that the SPID and certificate are different for production
:: and development, so if you change this you'll need to change them,
:: too.

SET RA_QUERY_IAS_PRODUCTION=0


:: Your Service Provider ID. This should be a 32-character hex string.
:: [REQUIRED]

SET RA_SPID=976DC49630D599C0C8253E9A43F25624


:: Set to a non-zero value if this SPID is associated with linkable 
:: quotes. If you change this, you'll need to change SPID,
:: IAS_PRIMARY_SUBSCRIPTION_KEY and IAS_SECONDARY_SUBSCRIPTION_KEY too.

SET RA_LINKABLE=1


::======================================================================
:: Client options
::======================================================================

:: Set to non-zero to have the client generate a random nonce.

SET RA_RANDOM_NONCE=1


:: Set to non-zero to have the client generate a platform manifest.
:: This requires a PSE session, and thus support for platform
:: services.
::
:: (Note that server hardware does not have platform servces)

SET RA_USE_PLATFORM_SERVICES=0


::======================================================================
:: Service provider (server) options
::======================================================================

:: Intel Attestation Service Primary Subscription Key
:: More Info: https://api.portal.trustedservices.intel.com/EPID-attestation
:: Associated SPID above is required

SET RA_IAS_PRIMARY_SUBSCRIPTION_KEY=12b38b85cd994ea985e5efd41a23fade

:: Intel Attestation Service  Secondary Subscription Key
:: This will be used in case the primary subscription key does not work

SET RA_IAS_SECONDARY_SUBSCRIPTION_KEY=bb95faf7da814420ab3a914d98187cc7

:: The Intel IAS SGX Report Signing CA file. You are sent this certificate
:: when you apply for access to SGX Developer Services at 
:: http://software.intel.com/sgx [REQUIRED]

SET RA_IAS_REPORT_SIGNING_CA_FILE=C:/Users/DELL/Downloads/Intel_SGX_Attestation_RootCA.pem


:: Set to the URL for your proxy server to force the use of a proxy
:: when communicating with IAS (overriding any environment variables).

:: SET RA_IAS_PROXY_URL=


:: Set to non-zero to disable the use of a proxy server and force a
:: direct connection when communicating with IAS (overriding any
:: environment variables).

:: SET RA_IAS_DISABLE_PROXY=1

::======================================================================
:: Debugging options
::======================================================================

:: Set to non-zero for verbose output

SET RA_VERBOSE=1


:: Set to non-zero for debugging output

SET RA_DEBUG=0

 the policy as follows:

:: Enclave policy file. Determines which enclaves are accept by theservice
:: provider (after their quote data has been verified).

:: !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
:: This file is generated from policy.in after the signed enclave file is
:: created. MRSIGNER is calculated from Enclave.dll.so, and the
:: other values are hardcoded. 
:: !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

:: This hex string should match the signer of the enclave. This is used to
:: prevents unauthorized enclaves (those from unrecognized ISVs/developers)
:: from using the remote service.
SET MRSIGNER=bd71c6380ef77c5417e8b2d1ce2d4b6504b9f418e5049342440cfff2443d95bd

:: The product ID for the enclave. This must match the ProdId in the
:: enclave confgiruation file. 
SET PRODID=0

:: The ISV software version number (ISV SVN) must be >= this value. This 
:: allows service providers to enforce a minimum enclave version to utilize 
:: the remote service. ISV SVN is set in the enclave configuration file.
SET MIN_ISVSVN=1

:: Set to 1 to allow enclaves compiled in DEBUG mode (this sample code uses
:: debug mode). Otherwise, set to 0 to force only production (non-debuggable)
:: enclaves. A production service should never allow debug-mode enclaves.
SET ALLOW_DEBUG=1

my CPU is corei5-10th,os is windows10 64bit,openssl version is 1,1,1w.

Thanks for any help!

chenc

0 Kudos
2 Replies
Iffa_Intel
Moderator
1,206 Views

Hi,

 

 

The sgx-ra-sample is discontinued. We recommend you to try out Intel SGX SDK latest version sample for better experience. You may refer to this guide for more information.



Cordially,

Iffa



0 Kudos
Iffa_Intel
Moderator
1,150 Views

Hi,


Intel will no longer monitor this thread since we have provided a solution. If you need any additional information from Intel, please submit a new question. 


Cordially,

Iffa


0 Kudos
Reply