Skip to content

Commit

Permalink
Whitelist ENV variables that get passed to the enclave (#5)
Browse files Browse the repository at this point in the history
  • Loading branch information
volod-vana authored Sep 10, 2024
1 parent e4abc53 commit cf4b5f7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions my-proof.manifest.template
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ fs.mounts = [
{ path = "/output", uri = "file:/output" },
]

# Whitelist ENV variables that get passed to the enclave
loader.env.USER_EMAIL = { passthrough = true }

# Gramine gives a warning that allowed_files is not safe in production, but it
# should generally be fine for our use case which inherently assumes that input
# files are untrusted until proven otherwise.
Expand Down

0 comments on commit cf4b5f7

Please sign in to comment.