Skip to content

Latest commit

 

History

History
36 lines (22 loc) · 1.98 KB

README.md

File metadata and controls

36 lines (22 loc) · 1.98 KB

TDX Quote Provider Library

To generate and verify Intel SGX/TDX quotes, Intel provides a Quote Provider Library (QPL). This library comes in two parts:

  1. Quote Generation

    Generate an SGX/TDX quote using Intel's secure processor.

  2. Quote Verification

    Verify a quote issued by an SGX/TDX TEE

This repo provides a simple Go library to enable these features and is used by Constellation to enable TDX attestation.

Restrictions

  • The current version is based on DCAP 1.15. It has been tested with the kernel and libraries from the tdx-tools release 2023ww01. Given that the UAPI for TDX is yet to be finished and upstreamed, newer versions might not be supported.

  • This library only supports a subset of the PCS API v4. SGX and other versions of the API are not supported and currently out of scope.

In case you encounter any issues despite the known restrictions, feel free to open an issue.

Examples

An example quote can be found here. Other example and test data can also be found in the blobs directory, or alternatively directly from Intel's DCAP repo.

Quote generation

Take a look at the generate example.

Quote verification

Take a look at the verify example.

3rdparty licenses

This project is based on code from Intel(R) Software Guard Extensions Data Center Attestation Primitives, which is licensed under the BSD license.