Skip to content

Encrypt /dev/attestation/keys/my_key with _sgx_mrenclave (makes sense?) #1878

Answered by kailun-qin
tiagorvmartins asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @tiagorvmartins, thanks for your questions!

is it even possible to receive a key from a secret provisioner and write it to a path that is a fs mount with encrypted key _sgx_mrenclave?

Yes, it is possible to write to the path /dev/attestation/keys/ but the key name (in your case my_key) has to be specified somewhere in the manifest (e.g., in an encrypted mount where my_key is used for encrypted files). Pls see some discussions here: #1412. May I know the usage of my_key (i.e., is this for encrytped files or app-specific)?

We made it working using standard allowed files on path /dev/attestation/keys/my_key instead of fs.mount encrypted
But we would like this 'wrap' key received by the…

Replies: 3 comments 3 replies

Comment options

You must be logged in to vote
3 replies
@tiagorvmartins
Comment options

@dimakuv
Comment options

@tiagorvmartins
Comment options

Answer selected by tiagorvmartins
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants