README.md 636 字节
Newer Older
1 2
# Configure SGX RA settings
``` shell
jia zhang's avatar
jia zhang 已提交
3 4 5 6 7
export SPID=<hex string>
export EPID_SUBSCRIPTION_KEY=<hex string>
export QUOTE_TYPE=<SGX_LINKABLE_SIGNATURE | SGX_UNLINKABLE_SIGNATURE>
```

8
# Build
9
``` shell
10
cd $src/ra-tls
11
make
12 13
```

14
# Run
15
``` shell
16 17 18
cd build/bin
./ra-tls-server -s &
./ra-tls-client
19 20
```

21 22
# Trouble shooting
## parse_response_header assertion
23
```
24 25
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
26 27
```

28
This error is caused due to invalid SGX RA settings. Please configure SGX RA settings with valid values.