Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove SGX enclave #7

Merged
merged 1 commit into from
Nov 3, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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