-
Notifications
You must be signed in to change notification settings - Fork 3
/
sgx-notary-server.manifest.template
50 lines (43 loc) · 1.24 KB
/
sgx-notary-server.manifest.template
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
loader.entrypoint = "file:{{ gramine.libos }}"
loader.argv = [
"gramine-ratls",
"/tmp/crt.pem",
"/tmp/key.pem",
"--",
"target/release/sgx-notary-server",
"--config-file",
"config/config.yaml",
]
loader.log_level = "{{ log_level }}"
loader.uid = 65534
loader.gid = 65534
loader.env.LD_LIBRARY_PATH = "/lib:{{ arch_libdir }}"
loader.env.RUST_BACKTRACE = "full"
libos.entrypoint = "/gramine-ratls"
fs.mounts = [
{ path = "/gramine-ratls", uri = "file:{{ entrypoint }}" },
{ path = "/fixture", uri = "file:fixture" },
{ path = "/lib", uri = "file:{{ gramine.runtimedir() }}" },
{ path = "{{ arch_libdir }}", uri = "file:{{ arch_libdir }}" },
{ path = "/tmp", type = "tmpfs" },
]
sgx.edmm_enable = true
sgx.remote_attestation = "dcap"
sgx.allowed_files = [
"file:fixture/tls",
]
sgx.trusted_files =[
"file:{{ gramine.libos }}",
"file:{{ entrypoint }}",
"file:{{ self_exe }}",
"file:{{ gramine.runtimedir() }}/",
"file:{{ arch_libdir }}/",
"file:config/config.yaml",
"file:fixture/notary/notary.key",
"file:fixture/notary/notary.pub",
"file:fixture/auth/whitelist.csv",
"file:fixture/tls/notary.crt",
]
sgx.max_threads = 32
sys.enable_sigterm_injection = true
sys.insecure__allow_eventfd = true