-
This is not working, to unlock my encrypted filesystem, what did I forget? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
@nmwael I'm assuming you're running this command inside Gramine. This is unfortunately wrong, because the So basically you have the following:
The problem here is that Solution: you shouldn't use |
Beta Was this translation helpful? Give feedback.
-
Thanks again Dimitry for this great explanation. It makes sense, and I've also encountered the limitation with tmpfs. If that limitation would be "fixed", it would decrease the complexity and learning curve of gramine a lot. Again thanks a lot to you and the gramine team for being so supportive. |
Beta Was this translation helpful? Give feedback.
@nmwael I'm assuming you're running this command inside Gramine.
This is unfortunately wrong, because the
xxd
command will run in its own Gramine enclave (I thinkecho
is a built-in command in shell, so it won't run in its own Gramine enclave).So basically you have the following:
sh
(shell, which is probably Bash or Dash) program. It runsecho
built-in command and then spawns a child enclave becausexxd
is a separate executable.xxd
. Receives the key string from the parent enclave and stores this key under/dev/attestation/keys/mykey
.The problem here is that
/dev/attestation/keys/
is not propagated from children to parent (only …