-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #167 from akakou/docs/readme
Docs/readme
- Loading branch information
Showing
3 changed files
with
58 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
ADMIN_TOKEN= |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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= |