Skip to content

Commit

Permalink
Merge pull request #167 from akakou/docs/readme
Browse files Browse the repository at this point in the history
Docs/readme
  • Loading branch information
akakou authored Oct 12, 2024
2 parents 7a60056 + 6c6e0a1 commit 4912c3c
Show file tree
Hide file tree
Showing 3 changed files with 58 additions and 2 deletions.
57 changes: 56 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,59 @@
# RA-WEBs
[![Go](https://github.com/akakou/ra-webs/actions/workflows/go.yml/badge.svg)](https://github.com/akakou/ra-webs/actions/workflows/go.yml)

RA-WEBs: Remote Attestation for WEB services
RA-WEBs is a protocol that enables browsers to verify proof of Remote Attestation while maintaining compatibility.

### Dependencies

- An Azure instance with Intel SGX (for running the example TA)
- Ubuntu 22.04

### How to Deploy the Test Environment

#### 1. Clone the Repository

```bash
git clone https://github.com/akakou/RA-WEBs
cd RA-WEBs
```


#### 2. Configure the Verifier Environment Files

Copy the templates and fill in each parameter.

```sh
cp test/env/verifier.env.template test/env/verifier.env
cp test/env/common.env.template test/env/common.env
```


#### 3. Run the Verifier


```sh
docker compose -f verifier up
```

#### 4. Configure the TA Environment Files

Copy the templates and fill in each parameter.

```sh
cp test/env/ta.env.template test/env/ta.env
```


#### 5. Run the Example TA

```sh
docker compose -f ta up
```


### NOTE

The functionality was verified using the following:

Google Chrome 129.0.6668.58
DC1s v2 (1 vCPU, 4 GiB memory)
1 change: 1 addition & 0 deletions test/env/common.env.template
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ADMIN_TOKEN=
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
DB_CONFIG=file:db.sqlite3?_fk=1
RA_WEBS_VAPID_PUBLIC_KEY=
RA_WEBS_VAPID_PRIVATE_KEY=
RA_WEBS_VAPID_PRIVATE_KEY=

0 comments on commit 4912c3c

Please sign in to comment.