README.md 684 字节
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
sudo yum install -y glibc-static
11
cd $src/ra-tls
12
make
13 14
```

15
# Run
16
``` shell
17
mkdir -p /run/rune
18
cd build/bin
jia zhang's avatar
jia zhang 已提交
19 20
./ra-tls-server run &
./elv echo
21 22
```

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

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