Skip to content

protected file read and write issues #1693

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

You must be logged in to vote

is there a relationship between opening the ciphertext file and its path

Yes, there is a relationship between the encrypted file and its path. See https://www.tatetian.io/2017/01/15/understanding-sgx-protected-file-system/. This is done for security reasons.

Can you solve it by modifying something?

Why do you need to move the file exactly?

What you can do is to emulate file move via creating a new file (under /home/res_enc/data2/) and copying the contents of your original file (under /home/res_enc/data1/) into this new file. Then Gramine does the correct re-encryption.

Replies: 1 comment 1 reply

Comment options

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

Answer selected by reclock
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