Skip to content

Commit

Permalink
use new gramine persistance for wp-config
Browse files Browse the repository at this point in the history
  • Loading branch information
aep committed Apr 26, 2022
1 parent 56d6512 commit c235cec
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions php.manifest.template
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ fs.mounts = [
{ path = "/usr/lib", uri = "file:/usr/lib" },
{ path = "/app", uri = "file:/app" },
{ path = "/app/wordpress", uri = "file:/app/wordpress", type="tmpfs"},
{ path = "/app/wordpress/wp-config.php", uri = "file:/app/persisted/wp-config.php", type = "encrypted", key_name = "default" },

]

sgx.debug = true
Expand All @@ -34,8 +36,11 @@ sgx.trusted_files = [
"file:/etc/passwd",
]

sgx.insecure__protected_files_key = "12121212121212121212121212121212"
sgx.protected_files = [
"file:/app/wordpress/wp-config.php",

sgx.allowed_files = [
"file:/app/persisted/wp-config.php"
]


fs.insecure__keys.default = "ffeeddccbbaa99887766554433221111"

0 comments on commit c235cec

Please sign in to comment.