-
Hi Are there anyway to verify that a running enclave (MRENCLAVE ) are derived from a certain gramized application .sig? Or are there another way of checking this? For example using isv_prod_id and isv_svn ? The question was spawned from this: |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Yes. Gramine dumps the SIGSTRUCT object into the gramine/python/graminelibos/sigstruct.py Lines 19 to 41 in ede508c One of these fields is called So you can extract the MRENCLAVE from the Now can you extract MRENCLAVE from the SGX quote? Yes, you can. This value is found in So if you have the SIGSTRUCT file and you received the SGX quote from a remote SGX enclave, you can verify that this SGX enclave has an expected MRENCLAVE by comparing |
Beta Was this translation helpful? Give feedback.
Yes.
Gramine dumps the SIGSTRUCT object into the
.sig
file. This SIGSTRUCT object has a bunch of Intel-SGX-technology-standardized fields. Here you can take a look at these fields:gramine/python/graminelibos/sigstruct.py
Lines 19 to 41 in ede508c