Overview
This page explains attestation in Tinfoil at a glance. It focuses on the two code paths you interact with: the orchestration server that routes your request, and the inference server that runs the model. Both run inside secure enclaves and both present verifiable evidence of what code is running before any data is exchanged.Figure 1: Simple view of orchestrator and inference attestation.
What attestation proves
- Genuine enclave: The connection is established between the client device and secure hardware created by the manufacturer (e.g., NVIDIA).
- Auditability of code: The orchestration server and inference server are running inside secure hardware enclaves and all code that is open-source and published to a public transparency log for auditing purposes.
- Pinned model weights: The model weights are immutable and pinned to the transparency log, preventing model swapping or manipulation.
How it works (connection-time)
Before sending any application data, the Verifier SDK running client-side verifies the attestation:- Fetches the orchestrator enclave attestation document (which contains signed runtime measurements) and verifies it.
- Downloads the Sigstore bundle associated with the code release and verifies it to Sigstore’s root.
- Compares the measured code in the enclave to the published measurements in the bundle.
- Creates a TLS connection to the orchestrator enclave and checks that the TLS public key matches the key fingerprint included in the attestation document (preventing impersonation via a man-in-the-middle attack).
The orchestrator enclave automatically checks the attestation of the inference enclave creating a chain of attestations. The client-side verifier only needs to check the attestation of the orchestrator enclave, which is enough to ensure other attestations are validated as well.
When it’s checked
- Connection-time (default): Verification happens automatically when your app connects.
- Audit-time (optional): You can retrieve and validate the same artifacts offline for audits. See the Verification Comparison.

