Skip to content

Commit 4912c3c

Browse files
authored
Merge pull request #167 from akakou/docs/readme
Docs/readme
2 parents 7a60056 + 6c6e0a1 commit 4912c3c

File tree

3 files changed

+58
-2
lines changed

3 files changed

+58
-2
lines changed

README.md

Lines changed: 56 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,59 @@
11
# RA-WEBs
22
[![Go](https://github.com/akakou/ra-webs/actions/workflows/go.yml/badge.svg)](https://github.com/akakou/ra-webs/actions/workflows/go.yml)
33

4-
RA-WEBs: Remote Attestation for WEB services
4+
RA-WEBs is a protocol that enables browsers to verify proof of Remote Attestation while maintaining compatibility.
5+
6+
### Dependencies
7+
8+
- An Azure instance with Intel SGX (for running the example TA)
9+
- Ubuntu 22.04
10+
11+
### How to Deploy the Test Environment
12+
13+
#### 1. Clone the Repository
14+
15+
```bash
16+
git clone https://github.com/akakou/RA-WEBs
17+
cd RA-WEBs
18+
```
19+
20+
21+
#### 2. Configure the Verifier Environment Files
22+
23+
Copy the templates and fill in each parameter.
24+
25+
```sh
26+
cp test/env/verifier.env.template test/env/verifier.env
27+
cp test/env/common.env.template test/env/common.env
28+
```
29+
30+
31+
#### 3. Run the Verifier
32+
33+
34+
```sh
35+
docker compose -f verifier up
36+
```
37+
38+
#### 4. Configure the TA Environment Files
39+
40+
Copy the templates and fill in each parameter.
41+
42+
```sh
43+
cp test/env/ta.env.template test/env/ta.env
44+
```
45+
46+
47+
#### 5. Run the Example TA
48+
49+
```sh
50+
docker compose -f ta up
51+
```
52+
53+
54+
### NOTE
55+
56+
The functionality was verified using the following:
57+
58+
Google Chrome 129.0.6668.58
59+
DC1s v2 (1 vCPU, 4 GiB memory)

test/env/common.env.template

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
ADMIN_TOKEN=
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
DB_CONFIG=file:db.sqlite3?_fk=1
22
RA_WEBS_VAPID_PUBLIC_KEY=
3-
RA_WEBS_VAPID_PRIVATE_KEY=
3+
RA_WEBS_VAPID_PRIVATE_KEY=

0 commit comments

Comments
 (0)