industrial-data-space / idscp2-jvm

Kotlin implementation of the IDS Communication Protocol (IDSCP2) for use in JVM environments.
Apache License 2.0
5 stars 3 forks source link

Add Intel SGX Support for IDSCP2 #9

Open Cosmin2106 opened 1 year ago

Cosmin2106 commented 1 year ago

This commit mainly adds a new Prover-Verifier in order to accommodate Intel SGX. In this case, we consider the Server to be trusted and the Client to be the one that needs to be verified. Since the codebase is written in Kotlin, we use Native Image to convert the Client to an executable, which is then run using Gramine SGX.

In order to build and run the client, from the root directory, execute:

make all && sudo gramine-sgx idscp2-native
gbrost commented 1 year ago

@milux Could you please review or comment this PR?