Skip to content
QORECHAIN
Register

Encrypted Apps

Lockstep

Company secrets that open only when k of n agree — sealed so even Q-Day can't read them.

Share on X

About

Company secrets usually live in one person's head or one password manager — one leak and they're gone, and quantum computers will read today's encryption tomorrow. Lockstep seals each secret under AES-256-GCM, splits the key with Shamir's scheme, and seals every share with ML-KEM-1024 (QoreSeal) to a different member — only hashes and envelopes ever touch the chain, so even Q-Day can't read a secret from the ledger. Release needs k of n members to approve with ML-DSA-87 signatures verified on chain (pqcVerify), then a block delay during which any single member can veto. The native MsgRegisterPQCMultisig message is not used — it was evaluated and dropped (see README / probes/PROBES.md F-1); the multisig agreement here is signatures + veto, not a native multisig account. Live on Diana: LockstepVault (0x51aa71dea80f6cc75209a4926f8ec8dd029a2ee4, block 10952769, 9,179 bytes, byte-identical to source) holds real test secrets with 16 requests — 5 pending, 4 in delay, 3 released, 4 vetoed — every step a real transaction, and the Pattern C flow was proven live end to end on a throwaway vault. QCAI audits: 85/100 in Stage 1 and 82/100 in Stage 2, 0 real findings in either. Tests: Foundry 37/37, CLI 51/51, web 82/82.

How it's made

The vault is the law. LockstepVault (0x51aa71dea80f6cc75209a4926f8ec8dd029a2ee4, block 10952769, 9,179 bytes, byte-identical to source) enforces createSecret, request, approve, veto, release and resealCommit on chain. Every approval is a member's ML-DSA-87 signature verified with pqcVerify (0x0A01) against a proof-of-possession-proven key, recorded as per-member bitmap bits (max 16 members). After k approvals comes a 100-block delay, during which any single member can veto — the emergency brake is unilateral by design, and a veto kills only that attempt, never the secret. release() itself is open by design: it moves no funds and reveals nothing; it only records that the delay passed and k re-sealed shares are committed. The cryptography is layered, not trusted to one primitive. Each secret is sealed under AES-256-GCM; the data-encryption key is split with Shamir's scheme; every share is sealed with ML-KEM-1024 (QoreSeal) to a different member's key. Only hashes and envelopes ever touch the chain — the ciphertext and the shares never do. Members re-seal their shares to the requester's KEM key after approval, so the secret is reconstructed only by the requester, off chain. A TypeScript CLI (Shamir via secrets.js + @qorechain/qoreseal + @qorechain/qoresign) does the sealing and re-sealing locally — all key material stays on the operator's machine. The Pattern C flow was proven live end to end on a throwaway vault, and 29 live tests passed against the deployed vault. The web app (React + Vite) shows the live vault state and the ritual — Seal, Request, Approve, Delay, Release — with real Broadcast, Veto and Re-seal buttons, the audit trail read from live eth_getLogs, and the 16 live requests (5 pending, 4 in delay, 3 released, 4 vetoed) with their real states, including red Expired badges on the 3 that lapsed. Tests: Foundry 37/37, CLI 51/51, web 82/82. QCAI audits: 85/100 in Stage 1 and 82/100 in Stage 2, 0 real findings — the verdicts are in docs/AUDIT.md. Release needs k of n members to approve with ML-DSA-87 signatures verified on chain (pqcVerify), then a block delay during which any single member can veto. The native MsgRegisterPQCMultisig message is not used — it was evaluated and dropped (see README / probes/PROBES.md F-1); the multisig agreement here is signatures + veto, not a native multisig account.

Timeline

LockstepEncrypted Apps

Pushed 1 commit to main

LockstepEncrypted Apps

Pushed 1 commit to main

LockstepEncrypted Apps

Pushed 1 commit to main

LockstepEncrypted Apps

Pushed 1 commit to main

  • a5ef170 Re-shoot README tiles from live main domain (round-5 bundle index-D1dHA5pi.js) · goat-dev8
LockstepEncrypted Apps

Pushed 1 commit to main

  • 48d3c68 Walkthrough copy/UX fixes: stale counts, loading zero, staged tag, CTA label, faucet link · goat-dev8
LockstepEncrypted Apps

Pushed 1 commit to main

  • b0a8f0e Correct the gas copy: 750,000 is the 50% floor, pqcVerify is 25,000 + 8/byte · goat-dev8
LockstepEncrypted Apps

Pushed 1 commit to main

  • 46d4068 Fix Pattern C in-page key registration: absolute Cosmos RPC URL for StargateClient · goat-dev8
LockstepEncrypted Apps

Pushed 1 commit to main

  • 836ace9 README: add outside-team tracking row (0/1 NONE YET) · goat-dev8
LockstepEncrypted Apps

Pushed 1 commit to main

  • 11887f4 CI: generate forge fixtures before contracts tests · goat-dev8
LockstepEncrypted Apps

Newly verified on chain: QoreSeal and the encryption key registry

LockstepEncrypted Apps

Pushed 1 commit to main

  • 1401d6f CI: fix first-run failures — register forge-std submodule, build CLI before tests · goat-dev8
LockstepEncrypted Apps

Pushed 1 commit to main

  • 64ab64b Round 5 redesign: kill the brown/copper palette — 'The Seal Press' · goat-dev8
LockstepEncrypted Apps

Pushed 1 commit to main

  • be13b04 README: tests re-run 30 Nov (web 82/82), KEM checks in verify-readme; CI: add workflows · goat-dev8
LockstepEncrypted Apps

Pushed 1 commit to main

  • a5c4b33 Register all 3 member KEM keys on chain (LIVE, 30 Nov 2026) · goat-dev8
LockstepEncrypted Apps

Pushed 1 commit to main

  • fba6a1a Guard expired pending approvals: disable Approve + refuse signing · goat-dev8
LockstepEncrypted Apps

Pushed 1 commit to main

  • e23ad86 Redesign /app round 4 polish: sidebar foot + 820 topbar · goat-dev8
LockstepEncrypted Apps

Pushed 1 commit to main

  • 193c910 Redesign /app round 4: one document scroll, rebuilt sidebar/tabs/buttons · goat-dev8
LockstepEncrypted Apps

Pushed 1 commit to main

  • c4443af Redesign /app round 3: one sidebar, all-dark action deck · goat-dev8
LockstepEncrypted Apps

Pushed 54 commits to main

  • a1ab9c1 README sync: harsh-QA 14/14 fixed, QCAI Stage 2 82/100 recorded (QCAIA-1795980237706-F89F8DFB), verify-readme 72/72 · goat-dev8
  • b702287 Regenerate snapshot.json from the live chain · goat-dev8
  • 0df0469 Audit trail reads live eth_getLogs + landing vault-events strip · goat-dev8
  • c6a6c9e QCAI Stage 2: 82/100 — authentic dashboard PDF + per-finding verdicts (0 real findings, no code change) · goat-dev8
  • 3e90c37 Docs: B4_PART_B status table and §7 no longer contradict §6 / live code · goat-dev8

and 49 more commits

LockstepEncrypted Apps

Pushed 1 commit to main

  • 3da95ff Evidence: full release #15 RELEASED + pattern-c re-run green · goat-dev8

Comments and questions

  • No comments yet.