| Crates.io | quartz-tcbinfo |
| lib.rs | quartz-tcbinfo |
| version | 0.3.1 |
| created_at | 2024-10-16 22:17:29.289781+00 |
| updated_at | 2025-09-11 17:03:59.474703+00 |
| description | Standalone CosmWasm smart contract for storage and verification of TcbInfos for Intel SGX. |
| homepage | https://cycles.money |
| repository | https://github.com/informalsystems/cycles-quartz |
| max_upload_size | |
| id | 1412395 |
| size | 79,633 |
Standalone smart contract for storage and verification of TcbInfos for Intel SGX. The contract ensures that
TcbInfos are kept up-to-date so other contracts can query the latest TcbInfo state using the quote's fmspc during
remote attestation verification to ensure the attesting enclave setup is up-to-date.
The contract provides the following functionalities:
TcbInfo for a specific fmspcexport EXECUTE='{
"tcb_info": "{\"tcbInfo\":{ /* ... */ },\"signature\":\"647bac99371750892415557b838237839e52b02afe027a43322fe661f4a1a693b04a82717120d74bccf2b3787bf7e9ecbe44caa06e6e532b7a68a21b2765663d\"}
"certificate": "-----BEGIN CERTIFICATE-----\\n /* ... */ \\n-----END CERTIFICATE-----"
}'
wasmd tx wasm execute "$CONTRACT" "$EXECUTE" --from alice --chain-id testing -y
TcbInfo by fmspcwasmd query wasm contract-state smart "$CONTRACT" '{"get_tcb_info": {"fmspc": "00906ED50000"}}'