Skip to content
QORECHAIN
Register

Quantum Pass

Longproof

AI agent receipts that survive Q-Day

Share on X

About

TEE agents prove their decisions with Intel TDX quotes and ECDSA signatures. Those receipts get disputed years later, and on Q-Day all of them become forgeable: rewrite "approved 50" to "approved 5,000", re-sign, even mint a fake enclave that claims the same code. Longproof binds an ML-DSA-87 key into the enclave's TDX quote, enrols it on QoreChain before Q-Day, and signs every decision post-quantum. QoreChain's pqcVerify precompile checks every enrolment and every receipt on-chain. After Q-Day, enrolment closes for good: rewritten receipts and fake enclaves are refused by the contract itself, and genuine receipts still verify.

How it's made

- LongproofRegistry.sol on the QoreChain testnet EVM. enrol() and anchor() both call the pqcVerify precompile (0x...0a01) on ML-DSA-87 signatures (2,592-byte keys, 4,627-byte signatures). declareQDay() closes enrolment for good; enclaves enrolled before it keep working. - Claims-payout agent built for Intel TDX on Phala (dstack). It generates its ML-DSA-87 key inside the enclave and binds it in TDX report_data. Running on real Intel TDX on Phala Cloud (dstack 0.6.5); the Q-Day drill was repeated with the TDX enclave (docs/DRILL_LOG_TDX.md). - Verifier in TypeScript with @qorechain/pqc, also in the browser: "today's verifier vs Longproof" side by side, with a Q-Day mode. - Testnet drill: two registries deployed and receipts anchored. On the drill registry Q-Day was declared; the contract refused the rewritten receipt (BadPqcSignature) and the fake enclave (EnrolmentClosed), and the genuine receipts still verified. Log in docs/DRILL_LOG.md. - Scaffolded with create-qorechain-dapp (foundry + viem-wagmi), QoreX via RainbowKit, EVM window opened by a hybrid-signed native tx. - 22 tests. The Foundry tests use real ML-DSA-87 vectors to prove Solidity and TypeScript build byte-identical messages. - Hardest part: the trust argument. A TDX quote is ECDSA, so it only counts if it was committed on-chain before Q-Day. That's why enrolment closes.

Timeline

LongproofQuantum Pass

Pushed 1 commit to main

  • e6b0e1c Document Phala agent redeployment · kkoci
LongproofQuantum Pass

Pushed 1 commit to main

  • d64986d Deploy the Longproof verifier to GitHub Pages · kkoci
LongproofQuantum Pass

Pushed 1 commit to main

  • eaa561c Publish Intel TDX testnet drill evidence · kkoci
LongproofQuantum Pass

Pushed 5 commits to main

  • 6271efb Publish simulated TEE testnet drill evidence · kkoci
  • 97877d4 Record QoreChain testnet registry deployments · kkoci
  • 946b44c Restore offline demo fixture and tolerate missing demo key · kkoci
  • 0504f23 Record GitHub publication in Codex log · kkoci
  • 20810ca Import Longproof hackathon project · kkoci
LongproofQuantum Pass

Earned a Ship Weeks badge.

LongproofQuantum Pass

Earned a Ship Weeks badge.

LongproofQuantum Pass

Pushed 1 commit to main

  • d096f65 Declare QoreChain scaffolding and add project badge · kkoci
LongproofQuantum Pass

New project.

Comments and questions

  • No comments yet.