-
Notifications
You must be signed in to change notification settings - Fork 204
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Files .manifest
and .manifest.sgx
have the same contents
#1990
Comments
I'm thinking how technically this should be done, to break as little stuff as possible. Quick summary of current state of affairs (plz correct me if I'm wrong):
WRT
WRT
I'm not sure how those should be braided together. Random thoughts:
|
It won't parse as TOML then, so it will be annoying to use w.r.t. syntax highlighting. Also, SIGSTRUCT depends on the exact manifest contents (it hashes it), which sounds bad for this design: we'd need to split the file somehow and be very strict and precise about what goes where. I.e. IMO annoying to both implement and use. |
+100 here. It's better to keep manifest and SIGSTRUCT as two independent files, where the latter's MRENCLAVE value depends on the former's contents. One more reason to keep these files separate: Intel SGX is probably the only HW TEE technology that requires something like SIGSTRUCT. Intel TDX and AMD SEV do not require such a file -- they fully rely on remote attestation (and don't have file sealing, for which this SIGSTRUCT requirement was originally implemented in SGX). So, SIGSTRUCT would become useless in e.g. |
Description of the feature
After #1812, auto-generated files
.manifest
and.manifest.sgx
have the same contents.This is because with #1812, the lists of
sgx.allowed_files
andsgx.trusted_files
are used by all PALs (previously they were only used by the SGX PAL). So after #1812, there are no SGX-only-specific manifest options in Gramine; all options are expanded already during thegramine-manifest
step which outputs the.manifest
file.So
.manifest.sgx
is just an exact copy of.manifest
file, and thus can be removed.This issue was extracted from discussion https://reviewable.io/reviews/gramineproject/gramine/1812#-NsxaGCgDVTu-TjSQWHx
Why Gramine should implement it?
Having one less file to deal with more user-friendly.
The text was updated successfully, but these errors were encountered: