The public key must be added in the report data structure sgx_report_data_t. Not sure what is the "best" encoding to use, probably DER. Must test the encoding/decoding to make sure that when retrieved from the quote & remote attestation verification report it is recoverable, in the PEM format.
The public key must be added in the report data structure
sgx_report_data_t
. Not sure what is the "best" encoding to use, probably DER. Must test the encoding/decoding to make sure that when retrieved from the quote & remote attestation verification report it is recoverable, in the PEM format.See https://holtstrom.com/michael/tools/asn1decoder.php ... perhaps, if that helps to test in the process of working on this.