Skip to content
QORECHAIN
Register

Encrypted Apps

Exit Kit

Always get your money out. A quantum-safe locked file for your rollup withdrawal that only you can open.

Share on X

About

When a rollup app shuts down or its servers go offline, most people cannot get their money back out. The withdrawal still exists on QoreChain, but claiming it needs a Merkle proof and a signed settlement receipt that only experts know how to build. Exit Kit saves each withdrawal as a locked file that only its owner can open. The file is encrypted with ML-KEM-1024 (QoreSeal) to the owner's KEM key registered on Diana, and bound to the owner's ML-DSA-87 identity through a signed recipient card. The owner unlocks it in the browser, Exit Kit verifies the proof and the ML-DSA-87 settlement receipt against QoreChain, and the owner claims the funds, even if the rollup operator is completely offline. Encrypted Apps requirements: - ML-KEM-1024 encryption: the whole recovery file is sealed with QoreSeal (hybrid ML-KEM-1024 + X25519 when a recipient card verifies). - Registered recipient keys: keys are read only from Diana's KEM registry; sealing is refused without one. - ML-DSA key binding: a recipient card signed by the owner's registered ML-DSA-87 key must name the registered ML-KEM key, verified against Diana before sealing. - Client-side encryption and decryption: locking and unlocking both run in the browser; keys and plaintext are never uploaded. Proof on Diana: Exit Kit runs its own rollup (exit-kit-diana). A 1 QOR withdrawal was claimed by the recipient while the operator was offline, and the real payout is sealed to the recipient with a verified recipient card. A live attack demo shows six attacks blocked: wrong key, tampered file, relabeled file, changed address, inflated amount, and a double claim. Every requirement is mapped to code and on-chain evidence in SUBMISSION.md in the repository.

How it's made

Architecture - Browser app (Vite, plain JavaScript) on Vercel with an allowlisted read-only proxy to Diana's public REST API. - src/sealed-packet.js seals and opens recovery files with QoreSeal. The packet header (rollup, batch, withdrawal, recipient, mode, binding) is authenticated as AAD, so a relabeled packet fails to open. After decryption the file is validated again and must match its header. - Binding: Exit Kit reads the recipient's ML-KEM-1024 key from /qorechain/pqc/v1/kem and the ML-DSA-87 key from /qorechain/pqc/v1/account. With a QoreSign recipient card it verifies the ML-DSA-87 signature and the ML-KEM key hash, then uses hybrid ML-KEM-1024 + X25519. - Verification: the official QoreChain RDK rebuilds the Qledger withdrawal leaf and Merkle path to the on-chain root and verifies the ML-DSA-87 settlement receipt for the batch. - CLI: seal-key, card, seal-recovery, open-recovery, an independent hybrid-signed claim path, and a signerless watchtower that replays every batch and seals a file for each withdrawal. Kits and network features used - QoreChain RDK (Qledger v1 rollup, settlement receipts, native withdrawals) - QoreSeal (ML-KEM-1024 envelopes, recipient cards) - QoreSign (ML-DSA-87 key lookup and derivation) - Diana KEM registry, PQC account registry, hybrid secp256k1 + ML-DSA-87 transaction signing What was hard - Binding the encryption key to an identity: a plain KEM key alone does not prove who owns it, so Exit Kit requires an ML-DSA-87 identity on chain and verifies the recipient card against both registered keys before sealing. - Never trusting the decrypted file: encryption hides the payload but does not prove the sender, so every opened file is verified again against Diana before anything is shown or claimed. - Making it usable for non-crypto users: plain words on screen, a one-click example and attack demo, with the technical details kept for reviewers. Testing: 13 automated tests (wrong key, tampered ciphertext, relabeled header, forged recipient and amount, card binding, missing keys) and GitHub Actions CI. Testnet addresses (Diana, qorechain-diana) - qor12tx7qgvat5ejy7fyzkr0979rh43lxgrn7m66ul: operator, creator of rollup exit-kit-diana - qor1cply049ldnppjzam2sp59wr0vhph9w8s3qk262: recipient, registered ML-KEM key, signed recipient card, claim submitter

Timeline

Exit KitEncrypted Apps

Pushed 40 commits to main

  • dc7fa46 Rename social preview image so link-preview caches fetch the new one · thesithunyein
  • fdd4ad4 Add demo video link · thesithunyein
  • c5bf37e README: match the app's current menu names (Claim, Tools, attack demo) · thesithunyein
  • 96dc947 Clean social preview image; title uses "Exit Kit | ..." · thesithunyein
  • 9fa904c Site metadata for exitkit.sithunyein.com: canonical URL, social preview · thesithunyein

and 35 more commits

Exit KitEncrypted Apps

New project.

Comments and questions

  • No comments yet.