I have an app which is written in python. I am using gRPC as connection between client and server. I am using a VM with kernel 5.15 azure, and OS Linux. In server.py I call another python script using : make SGX=1 and gramine-sgx script.py. Now I have to integrate DCAP attestation with my app. My questions are:
1. In CI-Examples/RA-TLS-Secret-PROV there are three different sample codes written in C, How can I integrate these codes with my gRPC client and server?
2. in CI-Examples/ra-tls-secret-prov sample it is mentioned that
puts("[ WARNING: In reality, you would want to compare against expected values! ]");
how can I compare agianst the expected values? how can I fetch the expected values?
I can not find any function which has implemented this comparision in client side as the verification should occur in client side and client have to make sure that the server has the expected sgx environment.
Thanks.