Skip to Content
px402Devnet
Verifiable Cloud (TVC)

How TVC verification works

Boot Proofs, App Proofs, what a verifier checks, and what px402 still has to add.

This page explains Turnkey’s verification model, following Turnkey’s documentation, and then says how far px402 has got with it.

Today

You cannot yet verify px402’s enclave this way. The px402 app does not produce App Proofs, no px402 client checks a proof, and the enclave source is not published.

Two proofs

ProofWho produces itWhat it answers
Boot ProofThe TVC platformWhich enclave booted, and which code and configuration was it approved to run?
App ProofThe applicationWhich result did that particular enclave sign?

According to Turnkey, a Boot Proof holds the AWS Nitro attestation document, the QuorumOS manifest that names the application binary and its configuration, and the operators’ approvals of that manifest. An App Proof is a payload signed with a key created inside the enclave at boot, which never leaves it. The attestation names that same key, which links the two.

What a verifier checks

Verifying a result
  1. 01
    Enclave app → VerifierThe application returns a result signed by the key made at boot.
  2. 02
    VerifierThe App Proof signature must verify over its payload.
  3. 03
    Verifier → Turnkey APILooked up by that boot key, through the Turnkey API.
  4. 04
    VerifierThe AWS certificate chain must verify, and the manifest hash must match the attestation.
  5. 05
    VerifierThe App Proof, Boot Proof and attestation must name the same key.
  6. 06
    Verifier → Published sourceThe binary digest in the manifest must match a reproducible build of the source, and the measurements must be expected ones.

The last step is what ties a proof to code you can read. A check that stops before it shows only that some Nitro enclave signed the result, so a verifier has to pin the manifest and measurements it expects.

Turnkey publishes verifier libraries in Rust, TypeScript and Go.

What px402 has to add

NeededWhy
Publish the enclave source and build it reproduciblySo the digest in the manifest can be compared with code you can read
Produce an App Proof when an agent is createdIt binds the agent’s addresses and owner to the enclave
Verify it in the web app before funding, with pinned valuesSo a funding address is checked before money reaches it
A custom quorum key, with debug mode offThe preview’s default key does not keep sealed records private
An approver independent of px402Otherwise px402 alone can approve new code

What verification will not cover

  • Who paid. The sender stays public on chain, and a provider can still look it up.
  • The web app. px402 publishes the page that asks the owner to sign. A proof about the enclave says nothing about what that page asks you to sign.
  • Trust in Turnkey and AWS. TVC runs on their infrastructure, and the design relies on it.