Skip to content

Commit

Permalink
hardcode sk-file path
Browse files Browse the repository at this point in the history
  • Loading branch information
hu55a1n1 committed Oct 3, 2024
1 parent 7f6312d commit c4c8fde
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions examples/transfers/enclave/quartz.manifest.template
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,14 @@ fs.mounts = [
{ uri = "file:{{ arch_libdir }}", path = "{{ arch_libdir }}" },
{ uri = "file:/usr/{{ arch_libdir }}", path = "/usr{{ arch_libdir }}" },
{ uri = "file:{{ quartz_dir }}", path = "{{ quartz_dir }}" },
{ uri = "file:{{ quartz_dir }}/../../crates/utils/cw-client/data/admin.sk", path = "/admin.sk" },
{ uri = "file:/etc/ssl/certs/ca-certificates.crt", path = "/etc/ssl/certs/ca-certificates.crt" },
{ uri = "file:/usr/lib/ssl/cert.pem", path = "/usr/lib/ssl/cert.pem" },
]

# sgx.debug = true
sgx.enclave_size = "512M"
sgx.max_threads = 8
sgx.max_threads = 16
sgx.edmm_enable = {{ 'true' if env.get('EDMM', '0') == '1' else 'false' }}

sgx.remote_attestation = "{{ ra_type }}"
Expand All @@ -59,11 +60,11 @@ sgx.trusted_files = [
"file:{{ arch_libdir }}/",
"file:/usr/{{ arch_libdir }}/",
"file:/etc/ssl/certs/ca-certificates.crt",
"file:{{ quartz_dir }}/../../crates/utils/cw-client/data/admin.sk",
]

sgx.allowed_files = [
"file:{{ quartz_dir }}/exchange.sk",
"file:{{ quartz_dir }}/request.json",
"file:admin.sk",
"file:/etc/nsswitch.conf",
"file:/etc/host.conf",
"file:/etc/ethers",
Expand Down

0 comments on commit c4c8fde

Please sign in to comment.