Skip to content

Commit

Permalink
Merge pull request #98 from taikoxyz/fix-sgx-param
Browse files Browse the repository at this point in the history
use mrenclave to control priv key access
  • Loading branch information
smtmfft authored Apr 11, 2024
2 parents 7a15091 + 82ab820 commit 78a6c56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion provers/sgx/config/raiko-guest.manifest.template
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ fs.mounts = [
{ path = "/root/.config/raiko/config", uri = "file:config" },

# encrypted files give an IO error in direct mode so just make it a normal file
{ path = "/root/.config/raiko/secrets", uri = "file:secrets" {{ ", type = 'encrypted', key_name = '_sgx_mrsigner'" if direct_mode != '1' else "" }} },
{ path = "/root/.config/raiko/secrets", uri = "file:secrets" {{ ", type = 'encrypted', key_name = '_sgx_mrenclave'" if direct_mode != '1' else "" }} },

# Redirect some files exposed by SGX to mocked data when running in direct mode
{{
Expand Down

0 comments on commit 78a6c56

Please sign in to comment.