ra-tls: Update README to reflect current implementation
@@ -5,45 +5,24 @@ export EPID_SUBSCRIPTION_KEY=<hex string>
export QUOTE_TYPE=<SGX_LINKABLE_SIGNATURE | SGX_UNLINKABLE_SIGNATURE>
```
-# Build Stub Enclave
+# Build
``` shell
-cd "${path_to_inclavare_containers}/stub-enclave"
+cd $src/ra-tls
make
-sudo make install
```
-# Build Docker images
-## Prepare the materials
+# Run
``` shell
-mkdir lib
-cp /usr/lib/x86_64-linux-gnu/libsgx_urts.so lib
-cp /usr/lib/x86_64-linux-gnu/libsgx_uae_service.so lib
-cp /usr/lib/x86_64-linux-gnu/libsgx_enclave_common.so.1 lib
-cp /usr/lib/x86_64-linux-gnu/libprotobuf.so.10 lib
-cp /lib/x86_64-linux-gnu/libseccomp.so.2 lib
+cd build/bin
+./ra-tls-server -s &
+./ra-tls-client
```
-## Dockerfile
-``` shell
-FROM ubuntu:18.04
-
-RUN mkdir -p /run/rune/stub-enclave
-WORKDIR /run/rune
-
-COPY lib /lib
-COPY liberpal-stub.so .
-COPY Wolfssl_Enclave.signed.so stub-enclave
-
-RUN ldconfig
+# Trouble shooting
+## parse_response_header assertion
```
-
-``` shell
-docker build -t ${stub-enclave-image} .
+ra-tls-server: untrusted/ias-ra.c:153: parse_response_header: Assertion `sig_begin != ((void *)0)' failed.
+./run.sh: line 5: 49050 Aborted ./ra-tls-server -s
```
-# run stub-enclave images with rune
-``` shell
-docker run -it --rm --runtime=rune -e ENCLAVE_TYPE=intelSgx \
- -e ENCLAVE_RUNTIME_PATH=/lib/liberpal-stub.so \
- -e ENCLAVE_RUNTIME_ARGS=stub-enclave ${stub-enclave-image}
-```
+This error is caused due to invalid SGX RA settings. Please configure SGX RA settings with valid values.
