mirror of
				https://github.com/matter-labs/teepot.git
				synced 2025-10-28 04:14:09 +01:00 
			
		
		
		
	feat: initial commit
Signed-off-by: Harald Hoyer <harald@matterlabs.dev>
This commit is contained in:
		
							parent
							
								
									aff4dd30bd
								
							
						
					
					
						commit
						89ffbd35a8
					
				
					 123 changed files with 16508 additions and 0 deletions
				
			
		
							
								
								
									
										66
									
								
								bin/tee-stress-client/tee-stress-client.manifest.template
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										66
									
								
								bin/tee-stress-client/tee-stress-client.manifest.template
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,66 @@ | |||
| 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 | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Harald Hoyer
						Harald Hoyer