`ra_key` is security-critical and it is declared here: https://github.com/TonyCode2012/sgx_wechat_app/blob/56a8d55a089dc63b8bd43c06171c3c11e0a11753/Server/Enclave/Enclave.cpp#L121 but it is leaked here by console printing and privileged attackers can get it without effort: https://github.com/TonyCode2012/sgx_wechat_app/blob/56a8d55a089dc63b8bd43c06171c3c11e0a11753/Server/Enclave/Enclave.cpp#L130
ra_keyis security-critical and it is declared here:sgx_wechat_app/Server/Enclave/Enclave.cpp
Line 121 in 56a8d55
but it is leaked here by console printing and privileged attackers can get it without effort:
sgx_wechat_app/Server/Enclave/Enclave.cpp
Line 130 in 56a8d55