Phala Cloud’s Remote Attestation service provides a complete solution for Intel SGX and TDX attestation quotes, offering secure storage, easy sharing, and cryptographic verification in one integrated platform. All endpoints are prefixed with /attestations
.
POST
multipart/form-data
success
(boolean): Indicates if the verification process completed successfullyquote
(Quote, optional): The parsed quote object containing header and bodychecksum
(string, optional): SHA256 hash of the quote data, used as unique identifiercan_download
(boolean, optional): Whether the raw quote data can be downloadeduploaded_at
(string, optional): ISO timestamp when the quote was first uploadedquote_collateral
(QuoteCollateralV3, optional): Cryptographic collateral used for verificationGET
checksum
(string): The quote’s unique checksum identifierGET
checksum
(string): The quote’s unique checksum identifierCache-Control: public, max-age=86400
CDN-Cache-Control: public, max-age=86400
Vary: Accept-Encoding
ETag: "9540fda5e6416c9d02bae726b146be58bee3caccfe7f874dbc68c808a13b1139"
GET
checksum
(string): The quote’s unique checksum identifierapplication/octet-stream
Content-Disposition: attachment; filename={checksum}.bin
Content-Length: {size}
(e.g., 5006 bytes for TDX quotes)HEAD
checksum
(string): The quote’s unique checksum identifierapplication/octet-stream
GET
skip
(integer, default: 0): Number of records to skip for paginationlimit
(integer, default: 20): Maximum number of records to returnchecksum
(string): Unique identifier for the quote (SHA256 hash)verified
(integer): Whether the quote passed cryptographic verification (1 = verified, 0 = not verified)created_at
(string): ISO timestamp when the quote was first uploaded (UTC with timezone offset)header
(QuoteHeader): Quote header containing version and platform informationbody
(QuoteBody): Quote body containing measurements and attestation datacert_data
(string, optional): PEM-encoded certificate chain for quote verificationverified
(boolean): Whether the quote passed cryptographic verificationversion
(integer): Quote format version (typically 4 for DCAP quotes)ak_type
(string): Attestation key type, typically “ECDSA_P256”tee_type
(string): Trusted execution environment type:
"TEE_SGX"
: Intel Software Guard Extensions"TEE_TDX"
: Intel Trust Domain Extensionsqe_vendor
(string): Quoting Enclave vendor identifier (hex-encoded)user_data
(string): User-defined data included in the quote (hex-encoded, 20 bytes)mrtd
(string): Measurement Root of Trust Domain - SHA384 hash of the initial TD contents. This is like a fingerprint of your trusted domain and is crucial for verification. Example: 0xc68518a0ebb42136c12b2275164f8c72f25fa9a34392228687ed6e9caeb9c0f1dbd895e9cf475121c029dc47e70e91fd
rtmr0-rtmr3
(string): Runtime Measurement Registers - SHA384 values tracking software loaded into the TD:
rtmr0
: Typically measures the boot loader and kernel (e.g., 0x0bb3d6375f94482cdd24b767e4a0d720...
)rtmr1
: Measures the OS and system software (e.g., 0x154e08f5c1f7b1fce4cbfe1c14f3ba67...
)rtmr2
: Measures applications and workloads (e.g., 0x9edcd363660e85b71c318324996dda75...
)rtmr3
: Usually reserved for specific use cases (e.g., 0x6485726f70094502412a81dc0097b3bd...
)reportdata
(string): Report Data - 64 bytes of user-defined data. Often contains nonces, challenge values, or hashes to prevent replay attacks. Example: 0x00000000000000000000000000000000000000000000000000000000000000001d7ce0146d345b6e3e28b5605db5bbd7502507092f8f1e8f48c5e8f2d0e750f3
tee_tcb_svn
(string): TCB Security Version Number - Version of the platform’s Trusted Computing Base, used to check if platform firmware is up-to-date.
mrseam
(string): Measurement of SEAM module - Hash of the Secure Arbitration Mode module (Intel TDX hypervisor component).
mrsignerseam
(string): SEAM Signer Measurement - Hash of the entity that signed the SEAM module.
seamattributes
(string): SEAM module attributes and capabilitiestdattributes
(string): Trust Domain attributes and configuration flagsxfam
(string): Extended Features Available Mask - CPU feature set available to the TDmrconfig
(string): Configuration measurementmrowner
(string): TD owner measurementmrownerconfig
(string): Owner configuration measurementpck_crl_issuer_chain
(string): PEM certificate chain for PCK Certificate Revocation Listroot_ca_crl
(string, optional): Root CA Certificate Revocation List (hex-encoded)pck_crl
(string): Platform Certification Key Certificate Revocation List (hex-encoded)tcb_info_issuer_chain
(string): Certificate chain for TCB info verificationtcb_info
(string): JSON string containing Trusted Computing Base informationtcb_info_signature
(string): Signature over the TCB info (hex-encoded)qe_identity_issuer_chain
(string): Certificate chain for Quoting Enclave identityqe_identity
(string): JSON string containing QE identity informationqe_identity_signature
(string): Signature over the QE identity (hex-encoded)reportdata
contains expected nonces/challengesverified
field before trusting quote contents