quartz-dcap-verifier

Crates.ioquartz-dcap-verifier
lib.rsquartz-dcap-verifier
version0.1.0
sourcesrc
created_at2024-10-16 21:40:44.93402
updated_at2024-10-16 21:40:44.93402
descriptionStandalone CosmWasm smart contract for verifying Intel SGX DCAP attestations that can be called by other contracts.
homepagehttps://cycles.money
repositoryhttps://github.com/informalsystems/cycles-quartz
max_upload_size
id1412379
size54,527
Shoaib Ahmed (hu55a1n1)

documentation

README

CosmWasm smart contract to verify DCAP attestations

Your personal DCAP detective! This package is a standalone smart contract for verifying DCAP attestations that can be called by other contracts.

  • Thin wrapper for standalone smart contract around the functionality provided in the quartz-tee-ra package

  • Provides query and execute entry points for attestation checks

Testing instructions

wasmd query wasm contract-state smart "$CONTRACT" '{
    "verify_dcap_attestation": {
        "quote": { /* ... */ },
        "collateral": { /* ... */ },
        "mrenclave": "e3c2f2a5b840d89e069acaffcadb6510ef866a73d3a9ee57100ed5f8646ee4bb", 
        "user_data": "9113b0be77ed5d0d68680ec77206b8d587ed40679b71321ccdd5405e4d54a6820000000000000000000000000000000000000000000000000000000000000000"
    }
}'
Commit count: 274

cargo fmt