Skip to content

MRENCLAVE VS .sig remote attestation #1357

Answered by dimakuv
nmwael asked this question in Q&A
Discussion options

You must be logged in to vote

Are there anyway to verify that a running enclave (MRENCLAVE ) are derived from a certain gramized application .sig?

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:

fields = {
'header': (offs.SGX_ARCH_SIGSTRUCT_HEADER, '16s'),
'vendor': (offs.SGX_ARCH_SIGSTRUCT_VENDOR, '<L'),
'date_year': (offs.SGX_ARCH_SIGSTRUCT_DATE + 2, '<H'),
'date_month': (offs.SGX_ARCH_SIGSTRUCT_DATE + 1, '<B'),
'date_day': (offs.SGX_ARCH_SIGSTRUCT_DATE, '<B'),
'header2': (offs.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@nmwael
Comment options

Answer selected by nmwael
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants