Skip to content

Commit

Permalink
Add instructions to build dcap server
Browse files Browse the repository at this point in the history
  • Loading branch information
lokesh2019 committed Sep 1, 2023
1 parent 4416680 commit 6e417ad
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion Encryptedfile/ReadME.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,13 @@ It is based on the pytorch example: https://gramine.readthedocs.io/en/stable/tut

<li>See pytorch tutorial for instructions on how to set up a DCAP server locally.

`cd gramine/CI-Examples/ra-tls-secret-prov`
`export RA_TLS_ALLOW_DEBUG_ENCLAVE_INSECURE=1`
`export RA_TLS_ALLOW_OUTDATED_TCB_INSECURE=1`
`export RA_TLS_ALLOW_HW_CONFIG_NEEDED=1`
`export RA_TLS_ALLOW_SW_HARDENING_NEEDED=1`
`CFLAGS="-I../../tools/sgx/ra-tls" make app dcap RA_TYPE=dcap`

<li>Run with:

`gramine-sgx readfile.bin`
`gramine-sgx readfile`

0 comments on commit 6e417ad

Please sign in to comment.