Jämes Ménétrey 8b8c59589d Clarify how to verify SGX evidence without an Intel SGX-enabled platform (#3158) 1 ano atrás
..
.gitignore 8b8c59589d Clarify how to verify SGX evidence without an Intel SGX-enabled platform (#3158) 1 ano atrás
Program.cs 8b8c59589d Clarify how to verify SGX evidence without an Intel SGX-enabled platform (#3158) 1 ano atrás
README.md 8b8c59589d Clarify how to verify SGX evidence without an Intel SGX-enabled platform (#3158) 1 ano atrás
VerifyEvidence.csproj 8b8c59589d Clarify how to verify SGX evidence without an Intel SGX-enabled platform (#3158) 1 ano atrás

README.md

Examples of evidence verification without Intel SGX using C

This sample demonstrates how to validate WAMR-generated evidence without using an Intel SGX-enabled platform. A typical use case is a Web service hosted on trusted premises.

Prerequisites

This sample has been tested on Linux Ubuntu 20.04+. Any other Linux platforms should be supported. This sample should also work on other OS, provided librats can be compiled on those other OS.

How to use

  • Supply the reference values to consider trustworthy in Program.cs.
  • Generate a valid JSON evidence using WAMR on an Intel SGX-enabled platform.
  • Fill in the JSON evidence in Program.cs.
  • Run the command dotnet run in this directory.