Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.spellguard.ai/llms.txt

Use this file to discover all available pages before exploring further.

Attestation

The Verifier presents a self-attestation document that clients check before establishing trust.

Attestation Document Structure

interface VerifierAttestationDocument {
  /** SHA384 hash of the Verifier Docker image (reproducible build) */
  imageHash: string;

  /** Signature from Verifier hardware (TDX quote or Nitro COSE_Sign1 document) */
  hardwareSignature: string;

  /** Verifier's ephemeral public key for this session */
  publicKey: string;

  /** Timestamp of attestation generation */
  timestamp: number;

  /** Client-provided nonce to prevent replay attacks */
  nonce: string;

  /** Verifier attestation type */
  attestationType?: 'nitro' | 'phala' | 'internal' | 'mock';

  /** Supported encryption algorithms */
  supportedAlgorithms?: string[];
}

Attestation Types

TypeDescriptionUse Case
nitroAWS Nitro EnclaveProduction workloads on AWS
phalaIntel TDX via PhalaProduction workloads on Phala Cloud
internalPlatform-attestedIntra-organization only
mockDevelopment modeLocal development and testing