Skip to content

automata-network/tdx-attestation-sdk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

59 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Automata TDX Attestation SDK

License

Overview

Automata TDX Attestation SDK is a feature-complete SDK for Intel TDX development. It helps developers to generate the Intel TDX Quote in different cloud service providers (CSP).

Environment Preparation

Refer to the TDX package to set up the Intel TDX CVM in different cloud service providers (CSP).

Intel TDX Quote Generation

Use TDX package to generate the Intel TDX Quote, you can find an example in tdx_attestation.

Intel TDX Quote Verification

Verify Attestation on-chain

In Automata DCAP Attestation, we provide the following way to verify the Intel TDX quote on-chain:

function verifyAndAttestOnChain(bytes calldata rawQuote)

It accepts the raw quote hex string to perform the on-chain verification, all collaterals will be fetched from the Automata on-chain PCCS.

The on-chain verification contract has been deployed to Automata Testnet at 0x95175096a9B74165BE0ac84260cc14Fc1c0EF5FF.

Note: For ZK proof-based DCAP verification (Risc0 / SP1), please refer to Automata DCAP Attestation.

Verify Attestation off-chain

Please follow the Intel official DCAP repo SGXDataCenterAttestationPrimitives to perform the off-chain verification.

Disclaimer

This project is under development. All source code and features are not production-ready.

About

The Automata TDX Attestation SDK is a software development kit designed to help users generate the Intel TDX Quote using Rust across different cloud service providers, and generate Risc0 and SP1 ZK Proofs which can be verified on-chain. Powered by Automata

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors