Skip to content

Commit

Permalink
Merge pull request #7 from IABTechLab/lun-UID2-2069-remove-sgx-enclave
Browse files Browse the repository at this point in the history
Remove SGX enclave
  • Loading branch information
lunwang-ttd authored Nov 3, 2023
2 parents f20c8e9 + 96eb3ae commit 115595d
Show file tree
Hide file tree
Showing 20 changed files with 11 additions and 637 deletions.
8 changes: 0 additions & 8 deletions Dockerfile.build

This file was deleted.

44 changes: 10 additions & 34 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,40 +1,16 @@
# Azure SGX Attestation Support for UID2 Services
# UID2 Attestation Azure

The repo provides helper facilities for obtaining an attestation request on Azure/SGX platform.
The repo provides helper facilities for obtaining an attestation request on Microsoft Azure.

# Building
## How to Install

The build is only possible on Azure confidential computing virtual machines. It has been tested with a Standard_DC8_v2 instance.
Only Ubuntu 18.04 LTS (server) is supported at this stage.
For maven projects:

Once you get a build VM, make sure it has all the necessary software by running:

```
./setup_build_vm.sh
```

Before running the build, make sure you obtain a GitHub personal access token with permissions to clone UID2 repos.

To build the project:

```
export GITHUB_ACCESS_TOKEN=<your-token>
./setup_dependencies.sh
./build.sh
```

# Testing

Running `./test.sh` will build and execute the example inside an SGX container.

# Example

You can verify that the build worked successfully by trying out the basic example:

```
cd example
./build.sh
<!-- https://mvnrepository.com/artifact/com.uid2/attestation-azure -->
<dependency>
<groupId>com.uid2</groupId>
<artifactId>attestation-azure</artifactId>
<version>1.4.0-2195ee834a</version>
</dependency>
```

If all goes well this should print out base64-encoded attestation quote similar to what would be required
to pass attestation with the UID2 Core service.
52 changes: 0 additions & 52 deletions build.sh

This file was deleted.

70 changes: 0 additions & 70 deletions example/Occlum.json

This file was deleted.

51 changes: 0 additions & 51 deletions example/build.sh

This file was deleted.

75 changes: 0 additions & 75 deletions example/pom.xml

This file was deleted.

18 changes: 0 additions & 18 deletions example/src/main/java/com/uid2/example/Main.java

This file was deleted.

1 change: 0 additions & 1 deletion files/aesmd.conf

This file was deleted.

1 change: 0 additions & 1 deletion files/msprod.list

This file was deleted.

8 changes: 0 additions & 8 deletions files/setup-build.sh

This file was deleted.

2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<version>1.4.0-2195ee834a</version>

<name>${project.groupId}:${project.artifactId}</name>
<description>Azure SGX Enclave attestation</description>
<description>Azure Enclave attestation</description>
<url>https://github.com/IABTechLab/uid2docs</url>
<packaging>jar</packaging>

Expand Down
3 changes: 0 additions & 3 deletions setup_build_vm.sh

This file was deleted.

Loading

0 comments on commit 115595d

Please sign in to comment.