How to input encrypted file inside the enclave. #1116
Replies: 3 comments 9 replies
-
|
Beta Was this translation helpful? Give feedback.
-
I misunderstood the documentation, thank you for your help. Here is what I added to my manifest
My application reads the input file with:
Is there anything else to add to the manifest file ? I'm not able to read input file. |
Beta Was this translation helpful? Give feedback.
-
You seem to misunderstand what What you wrote above means this: take a path/file on the host OS with the name And what you wrote in your C program is reading the file |
Beta Was this translation helpful? Give feedback.
-
Hey,
I would like to run some tests with gramine. I need my application to decrypt and read a file stored outside the enclave.
I would like to use :
fs.mounts = [
{ type = "encrypted", path = "[PATH]", uri = "[URI]", key_name = "[KEY_NAME]" },
]
fs.insecure__keys.[KEY_NAME] = "[32-character hex value]"
as specified in the documentation. If I understand correctly, my file needs to be encrypted with a symmetric key and this key should be hard coded in the manifest (which is fine in my case). Am I correct ?
Which encryption standard should I use ?
Beta Was this translation helpful? Give feedback.
All reactions