cycles-quartz/crates/contracts/dcap-verifier
Shoaib Ahmed 382866be24
chore: v0.1 release prep Cargo.tomls
Co-authored-by: Ethan Buchman <ethan@coinculture.info>
2024-10-09 23:30:52 +04:00
..
msgs chore: v0.1 release prep Cargo.tomls 2024-10-09 23:30:52 +04:00
src Rename crates and subdirs (#231) 2024-10-01 10:27:57 -04:00
Cargo.toml chore: v0.1 release prep Cargo.tomls 2024-10-09 23:30:52 +04:00
README.md docs: Update docs to reflect crate reorg naming, and remove EPID docs (#233) 2024-10-01 23:57:13 -04:00

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"
    }
}'