Using gRPC and verifing the quote

Skip to first unread message


Dec 30, 2022, 8:26:54 AM12/30/22
to Gramine Users
In the link it is mentioned that are using RA-TLS for verification, I have an app which server and client are connecting to each other via gRPC, in the CI=EXAMPLES/ra-tls-mbedtls gramine group is used RA-TLS sample and modified it , my question is that is it possible to do so with gRPC? I mean for me that gRPC is used for server and client connection how can I perform verification? is there any way to no change gRPC to RA-TLS?
Thanks in advance.

Vij, Mona

Dec 30, 2022, 11:33:17 AM12/30/22
to lili, Gramine Users

Hi Lilli,

    Gramine aims to run unmodified applications and that is why we provide RA-TLS samples and easiest for most applications is to integrate the high level interface, where the attestation runs before your application gets control. You can refer to the ra-tls-secret-prov example and integrate with your code, you can likely integrate the dummy server code with your server.


Now if a user is willing to modify their application and already have a client server model, then you will have to use our reference code as example and integrate in your client server example. If you were already using TLS then you could have replaced TLS with RA-TLS, but since you are using gRPC, you will need to replace the underlying TLS lib that gRPC is using with RA-TLS.


I think easiest will be for you to NOT modify your application, but use ra-tls-secret-prov example to run the attestation code well before your code runs.




You received this message because you are subscribed to the Google Groups "Gramine Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
To view this discussion on the web visit

Reply all
Reply to author
0 new messages