Community
cancel
Showing results for 
Search instead for 
Did you mean: 
user14
Beginner
279 Views

getting SGX_ERROR_UNEXPECTED in sgx_ra_proc_msg2

---- Msg2 Details ----------------------------------------------------------
msg2.g_b.gx = 71f76c3a1b06cc702b66cd21626bf1f6d7d894be5941282384ce80cdb845eae5
msg2.g_b.gy = 5f5f250493ec7e8fc68e0ef0055d0065532b5a14e8fb1f6748e6b19e7cebb9c4
msg2.spid = 1718b04d7fc5d48bd1eb9a6465b36c0d
msg2.quote_type = 0100
msg2.kdf_id = 0100
msg2.sign_ga_gb = 04583fcdfb5fa1aad7af60aa69eb55d506aa46ef05bb223c507f026d283e4f2156d35352713c6bd0dfc7739a46b22f97f15d596e6663f75360ea1660d61aedbd
msg2.mac = aa40bfa3b0647d7e6eab166017a01afd
msg2.sig_rl_size = 00000000
msg2.sig_rl =
----------------------------------------------------------------------------
+++ msg2_size = 168
sgx_ra_proc_msg2: 00000001

 

I have attached the msg2 that my client receives from the RP. I am getting an error while processing the msg2. What could be the possible reasons for the error? Also, is there any recommended way to debug such errors?

0 Kudos
4 Replies
JesusG_Intel
Moderator
263 Views

Hello user14,


Please specify which application you are running - sgx-ra-sample (https://github.com/intel/sgx-ra-sample), remote attestation sample in the Intel SGX SDK, or custom?


Which mode are you running, simulation or hardware-debug?


Have you tried stepping into your code using sgx-dbg?



user14
Beginner
262 Views

I built upon https://github.com/intel/sgx-ra-sample  for my application. I am using hardware-debug mode. I haven't tried sgx-dbg yet. Will try it. 

JesusG_Intel
Moderator
227 Views

Hello user14,


Do you still need help with this issue?


JesusG_Intel
Moderator
205 Views

Intel is no longer monitoring this thread. If you want a response from Intel in a follow-up question, please open a new thread.


Reply