-
Notifications
You must be signed in to change notification settings - Fork 2
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 #7 from IABTechLab/lun-UID2-2069-remove-sgx-enclave
Remove SGX enclave
- Loading branch information
Showing
20 changed files
with
11 additions
and
637 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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,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. |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.