Skip to content
/ ravl Public
forked from microsoft/ravl

Remote Attestation Verification Library

License

Notifications You must be signed in to change notification settings

ad-l/ravl

 
 

Repository files navigation

Continuous Integration Documentation

RAVL

RAVL is a library of remote attestation verification procedures that enables clients of confidential services to verify the remote attestation of the service.

Currently supported attestation platforms:

  • Intel SGX ECDSA
  • AMD SEV/SNP
  • Open Enclave (wrapped Intel SGX ECDSA only)

Basic usage:

#include <ravl/ravl.h>

std::string attestation = R"({
  "source": "sgx",
  "evidence": "...",
  "endorsements": "...})";

auto att = parse_attestation(attestation);
std::shared_ptr<ravl::Claims> claims = verify(att);

See test/unit_test.cpp for complete examples of simple invocations.

Dependencies

clang++ (primary toolchain):

sudo apt install clang-10 libstdc++-10-dev

g++

Use at least version 11:

sudo apt install g++-11 libc++-10-dev

Libraries

Currently, the only supported crypto library is OpenSSL and the default build depends on libcurl:

sudo apt install libcurl4-openssl-dev libssl-dev

Optional

For the demo enclave in test/intel-enclave: Add Intel APT repo as described in the SGX Installation Guide

sudo apt-get install libsgx-epid libsgx-quote-ex libsgx-dcap-ql

For the Open Enclave SDK demo enclave in test/oe-enclave, see https://github.com/openenclave/openenclave/blob/master/docs/GettingStartedDocs/install_oe_sdk-Ubuntu_20.04.md

sudo apt-get install open-enclave

Build

mkdir build 
cd build
cmake -GNinja ..
ninja

Contributing

This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.opensource.microsoft.com.

When you submit a pull request, a CLA bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., status check, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact [email protected] with any additional questions or comments.

Trademarks

This project may contain trademarks or logos for projects, products, or services. Authorized use of Microsoft trademarks or logos is subject to and must follow Microsoft's Trademark & Brand Guidelines. Use of Microsoft trademarks or logos in modified versions of this project must not cause confusion or imply Microsoft sponsorship. Any use of third-party trademarks or logos are subject to those third-party's policies.

About

Remote Attestation Verification Library

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 96.1%
  • CMake 3.4%
  • Other 0.5%