Hello everyone,
I successfully created a quote using the /dev/attestation/user_report_data and
/dev/attestation/quote workflow and saved my quote to a file on the host. I used the
gramine-sgx-quote-dump tool to check the file and it looks correct. Now I want to verify the quote by using
gramine-sgx-ias-request and later on gramine-sgx-ias-verify-report.
However, gramine-sgx-ias-request fails with
report: Quote is too small
Printed out by a size check of the data (https://github.com/gramineproject/gramine/blob/master/Pal/src/host/Linux-SGX/tools/ias-request/ias_request.c#L96) which is not in the code of the dump tool. So I don't know how to interpret this message. What is missing
in my workflow?
Regards
Alex
To view this discussion on the web visit https://groups.google.com/d/msgid/gramine-users/FR2P281MB06099547AE1A298DD3BA0E0EB0519%40FR2P281MB0609.DEUP281.PROD.OUTLOOK.COM.
auto typed_quote = (sgx_quote_t*)quote;
dump.write((char *) typed_quote, sizeof(*typed_quote));
dump.write((char *) (quote), bytes);As always, in retrospect it is obviously :)
During this journey I found the device /dev/attestation/report in the old graphene repo, of which I couldn't find further documentation/information. Is it deprecated?
(https://github.com/gramineproject/graphene/blob/master/LibOS/shim/test/regression/attestation.c#L220)
Thanks
Alex
> (https://github.com/gramineproject/graphene/blob/master/LibOS/shim/test/regression/attestation.c#L220)
To view this discussion on the web visit https://groups.google.com/d/msgid/gramine-users/FR2P281MB06095F395D45D210FDBBE1C2B0529%40FR2P281MB0609.DEUP281.PROD.OUTLOOK.COM.