-
I have come across this example https://gramine.readthedocs.io/en/stable/tutorials/pytorch/index.html#preparing-input-files where a 16 bytes key was generated for encrypting a file. Then this key is specified in the However, I wonder if I want to encrypt my files with the SGX's "_sgx_mrenclave" key how do I go ahead and encrypt the file? Right now, I use
I assume there will be some way to provide the enclave's key to this tool somehow? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
That's not possible by definition - the whole idea of "sealing" in SGX is that only this specific enclave can get the key and that it never leaves it. So, this is useful only for files created by the enclave, not for the ones deployed from a remote trusted server. |
Beta Was this translation helpful? Give feedback.
That's not possible by definition - the whole idea of "sealing" in SGX is that only this specific enclave can get the key and that it never leaves it. So, this is useful only for files created by the enclave, not for the ones deployed from a remote trusted server.