From 72f319a78985af86aa12e36a158f3e04a513e9ba Mon Sep 17 00:00:00 2001 From: hu55a1n1 Date: Mon, 26 Feb 2024 13:40:21 -0800 Subject: [PATCH] Update manifest - set argv - set sys.enable_sigterm_injection --- enclaves/quartz/quartz.manifest.template | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/enclaves/quartz/quartz.manifest.template b/enclaves/quartz/quartz.manifest.template index 2735e3e..15b681e 100644 --- a/enclaves/quartz/quartz.manifest.template +++ b/enclaves/quartz/quartz.manifest.template @@ -19,7 +19,11 @@ loader.env.RA_TLS_ISV_PROD_ID = { passthrough = true } loader.env.RA_TLS_EPID_API_KEY = { passthrough = true } loader.env.MYAPP_DATA = { passthrough = true } -loader.argv = ["quartz-enclave"] +loader.argv = ["quartz-enclave", + "--chain-id", "testing", + "--mr-enclave", "fa9149158c693b09e83480b48c2e7344c941aadca6d5829834f2af9f2690435e", + "--trusted-height", "1", + "--trusted-hash", "A1D115BA3A5E9FCC12ED68A9D8669159E9085F6F96EC26619F5C7CEB4EE02869"] fs.mounts = [ { uri = "file:{{ gramine.runtimedir() }}", path = "/lib" }, @@ -51,3 +55,4 @@ sgx.allowed_files = [ ] sys.insecure__allow_eventfd = true +sys.enable_sigterm_injection = true