README.md 651 字节
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
mkdir -p /run/rune
17
cd build/bin
jia zhang's avatar
jia zhang 已提交
18 19
./ra-tls-server run &
./elv echo
20 21
```

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

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