Replies: 1 comment
-
First, make sure to read this: https://gramine.readthedocs.io/en/stable/attestation.html#mid-level-ra-tls-interface Then look at the RA-TLS code:
The currently used OID:
I don't know what is meant by this. Inside the certificate, we embed the SGX quote as a special-numbered OID object.
Which signature? Of the SGX quote? You'll need to look at the Intel SGX quote format (the documentation and formats can be found on the internet).
The SGX Quote is signed by the special Quoting Enclave, and it embeds the certificate chain that is rooted at the Intel PCS web service. You can find more documentation on the internet; it's not part of Gramine but rather part of the Intel SGX PSW. I'm unsure what you're trying to achieve. All these "how to verify the SGX quote" is supposed to be hidden by the Intel SGX PSW infrastructure. For example, if you run on MS Azure SGX-enabled VMs, they already have this preinstalled, and you just need to link against |
Beta Was this translation helpful? Give feedback.
-
I need to validate an RA-TLS certificate's x509v3 extension in Typescript.
I need to know what message within the certificate is signed.
I need to parse out a signature (r,s) from the x509 extension.
Finally I need to know what the public key of this signature needs comparison against.
Fundamentally this is a deserialisation exercise! Not complex, just unguessable.
Pointing to various deserialisation steps in the RA-TLS code would be one possible useful answer here.
Are there any other forums where I can get specific RA-TLS support or am I in the right place here?
Beta Was this translation helpful? Give feedback.
All reactions