mirror of
				https://github.com/matter-labs/teepot.git
				synced 2025-11-03 22:58:08 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			66 lines
		
	
	
	
		
			1.9 KiB
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			66 lines
		
	
	
	
		
			1.9 KiB
		
	
	
	
		
			Text
		
	
	
	
	
	
libos.entrypoint = "/app/tee-stress-client"
 | 
						|
 | 
						|
[loader]
 | 
						|
argv = [ "/app/tee-stress-client" ]
 | 
						|
entrypoint = "file:{{ gramine.libos }}"
 | 
						|
env.LD_LIBRARY_PATH = "/lib:{{ arch_libdir }}:/usr{{ arch_libdir }}:/lib"
 | 
						|
env.HOME = "/app"
 | 
						|
env.MALLOC_ARENA_MAX = "1"
 | 
						|
env.AZDCAP_DEBUG_LOG_LEVEL = "ignore"
 | 
						|
env.AZDCAP_COLLATERAL_VERSION = "v4"
 | 
						|
 | 
						|
### Admin Config ###
 | 
						|
env.PORT  = { passthrough = true }
 | 
						|
 | 
						|
### VAULT attestation ###
 | 
						|
env.VAULT_ADDR = { passthrough = true }
 | 
						|
env.VAULT_SGX_MRENCLAVE = { passthrough = true }
 | 
						|
env.VAULT_SGX_MRSIGNER = { passthrough = true }
 | 
						|
env.VAULT_SGX_ALLOWED_TCB_LEVELS = { passthrough = true }
 | 
						|
 | 
						|
### DEBUG ###
 | 
						|
env.RUST_BACKTRACE = "1"
 | 
						|
env.RUST_LOG="info"
 | 
						|
 | 
						|
[fs]
 | 
						|
root.uri = "file:/"
 | 
						|
start_dir = "/app"
 | 
						|
mounts = [
 | 
						|
  { path = "{{ execdir }}", uri = "file:{{ execdir }}" },
 | 
						|
  { path = "/lib", uri = "file:{{ gramine.runtimedir() }}" },
 | 
						|
  { path = "{{ arch_libdir }}", uri = "file:{{ arch_libdir }}" },
 | 
						|
  { path = "/etc", uri = "file:/etc" },
 | 
						|
  { type = "tmpfs", path = "/var/tmp" },
 | 
						|
  { type = "tmpfs", path = "/tmp" },
 | 
						|
  { type = "tmpfs", path = "/app/.dcap-qcnl" },
 | 
						|
  { type = "tmpfs", path = "/app/.az-dcap-client" },
 | 
						|
  { path = "/lib/libdcap_quoteprov.so", uri = "file:/lib/libdcap_quoteprov.so" },
 | 
						|
]
 | 
						|
 | 
						|
[sgx]
 | 
						|
trusted_files = [
 | 
						|
  "file:/etc/ld.so.cache",
 | 
						|
  "file:/app/",
 | 
						|
  "file:{{ execdir }}/",
 | 
						|
  "file:{{ arch_libdir }}/",
 | 
						|
  "file:/usr/{{ arch_libdir }}/",
 | 
						|
  "file:{{ gramine.libos }}",
 | 
						|
  "file:{{ gramine.runtimedir() }}/",
 | 
						|
  "file:/usr/lib/ssl/openssl.cnf",
 | 
						|
  "file:/etc/ssl/",
 | 
						|
  "file:/etc/sgx_default_qcnl.conf",
 | 
						|
  "file:/lib/libdcap_quoteprov.so",
 | 
						|
]
 | 
						|
remote_attestation = "dcap"
 | 
						|
max_threads = 64
 | 
						|
edmm_enable = false
 | 
						|
## max enclave size
 | 
						|
enclave_size = "8G"
 | 
						|
 | 
						|
[sys]
 | 
						|
enable_extra_runtime_domain_names_conf = true
 | 
						|
enable_sigterm_injection = true
 | 
						|
 | 
						|
# possible tweak option, if problems with mio
 | 
						|
# currently mio is compiled with `mio_unsupported_force_waker_pipe`
 | 
						|
# insecure__allow_eventfd = true
 |