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.
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
| Proof | Who produces it | What it answers |
|---|---|---|
| Boot Proof | The TVC platform | Which enclave booted, and which code and configuration was it approved to run? |
| App Proof | The application | Which 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
- 01Enclave app → VerifierThe application returns a result signed by the key made at boot.
- 02VerifierThe App Proof signature must verify over its payload.
- 03Verifier → Turnkey APILooked up by that boot key, through the Turnkey API.
- 04VerifierThe AWS certificate chain must verify, and the manifest hash must match the attestation.
- 05VerifierThe App Proof, Boot Proof and attestation must name the same key.
- 06Verifier → 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
| Needed | Why |
|---|---|
| Publish the enclave source and build it reproducibly | So the digest in the manifest can be compared with code you can read |
| Produce an App Proof when an agent is created | It binds the agent’s addresses and owner to the enclave |
| Verify it in the web app before funding, with pinned values | So a funding address is checked before money reaches it |
| A custom quorum key, with debug mode off | The preview’s default key does not keep sealed records private |
| An approver independent of px402 | Otherwise 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.