Skip to content
QORECHAIN
Register

Encrypted Apps

coffer

Lock your .env to wallet addresses. Only your team can read it, and a stolen laptop opens nothing.

Share on X

About

Teams keep their API keys and passwords in a .env file. It cannot go in the repo, so it travels through chat and email and stays there in plain text. Anyone who ever had a copy can open it forever: a teammate who left, or a stolen laptop. Coffer seals every value with ML-KEM-1024 to your teammates' QoreChain wallet addresses. The sealed file is safe to commit, and it shows up in each teammate's Coffer. Every open is a request QoreChain answers. The Coffer contract checks that the person is still on the file's list before the second half of the key is released. Remove someone, or a lost laptop's address, and nothing opens for it any more: not the copy on its disk, and not the public record of its past opens.

How it's made

1. Recipient cards. Your QoreX wallet signs one short text listing your encryption keys (ML-KEM-1024 + X25519). The Coffer contract checks that signature on chain with pqcVerify (0x0A01), against the key QoreChain registered for your address with proof of possession (pqcKeyStatus, 0x0A02). 2. Sealing. The .env is sealed in the browser or CLI with QoreSeal hybrid mode. Removing someone starts a new epoch key that they never get. 3. Two pieces to open. Each version also needs a release piece held by a keeper. To open, your Coffer signs a request with ML-DSA-87. The contract refuses it unless you are on the current list and it is the latest version, then records the open. 4. One time keys. The keeper seals the release piece to a key made for that one open, which is thrown away after. So the public record of opens holds nothing that a stolen key can open later. 5. Every change is on chain. Each seal, share, remove and new version is signed by the owner or a teammate, checked by the contract, and carries the sealed file, so teammates receive it through the chain. 6. Gas. A server account pays all contract gas through an EVM window scoped to the Coffer contract only. It cannot forge a change or an open. 7. What you can use. A web app (QoreX, or a key made in your browser) and a CLI: lock, share, revoke, set, inbox, pull, run, status. 8. Tests. 29 contract tests and 49 unit tests. An outside judge's stolen laptop attack is a script in the repo (scripts/log-replay.mts); on the live site it opens nothing. 9. What was hard. QoreX cannot publish an encryption key for websites, so we built signed recipient cards that the contract verifies. Our first open design leaked through the public log of opens; one time keys fixed it.

Timeline

cofferEncrypted Apps

Pushed 1 commit to main

  • 586e5d9 README: credit qorex-types · jenzylove
cofferEncrypted Apps

Pushed 1 commit to main

  • 834d2d0 Web: find QoreX with the official helper from @qorechain/qorex-types · jenzylove
cofferEncrypted Apps

Newly verified on chain: EVM window (incl. scoped)

cofferEncrypted Apps

Pushed 1 commit to main

  • c7b3bfb README: 49 unit tests · jenzylove
cofferEncrypted Apps

Pushed 1 commit to main

  • cfd9ded README: the demo video · jenzylove
cofferEncrypted Apps

Pushed 1 commit to main

  • 5f8971b QCAI report on contract v5, with the answer to its device key finding · jenzylove
cofferEncrypted Apps

Pushed 4 commits to main

  • c526ae4 A teammate's write can no longer lock the team out; wording from the second judge pass · jenzylove
  • 315a3f9 Proof, README and build log: the v5 run on the live site (write, two versioned opens, both stolen laptop attacks refused); access log shows the version · jenzylove
  • 35611ce Docs match v5: what removal and a stolen laptop do now, the keeper as a trust point, writes and versions; Copy stays in view on phones; credits · jenzylove
  • ab8037a Every open seals its release piece to a one time reply key; a fresh release piece per version; writes recorded on chain (contract v5) · jenzylove
cofferEncrypted Apps

Pushed 1 commit to main

  • 4d3f8e6 QCAI audit: the report, an answer to each finding, and the access control model spelled out on each contract function (comments only; deployed runtime code unchanged) · jenzylove
cofferEncrypted Apps

Pushed 1 commit to main

  • 533d77c Proof page, README and build log: the live stolen laptop run, the access log and measured open costs · jenzylove
cofferEncrypted Apps

Pushed 2 commits to main

  • 597d757 Web: opening goes through QoreChain, Who opened it, Ada's stolen laptop; threat model; README for every open being a request the chain answers · jenzylove
  • a3edc97 Every open is a request the chain answers · jenzylove
cofferEncrypted Apps

Pushed 1 commit to main

  • bf8c522 Fix what the judge flagged: real costs, plain why-QoreChain, no overclaims; refuse an over-size file before signing; tighter poster limits; PRD and build log brought up to the current design · jenzylove
cofferEncrypted Apps

Pushed 2 commits to main

  • b6cdd07 README and proof page: the current contract and today's two person run · jenzylove
  • 72467d7 Web: a clear message after seal, share and remove, New on files that just arrived, and dotenvx as a quiet line instead of a main tab · jenzylove
cofferEncrypted Apps

Pushed 3 commits to main

  • a9873df Web: Shared with you from QoreChain, invites tied to the invited wallet, one identity, a tidier file page · jenzylove
  • 2f78ea0 CLI: coffer pull says plainly when you were removed instead of saving a file you cannot open · jenzylove
  • c4bb8de Sharing delivers: each change carries the sealed file, and the contract lists files per reader · jenzylove
cofferEncrypted Apps

Pushed 2 commits to main

  • 8ec2c74 Proof page: the 22 Nov contract run, its transactions and measured costs · jenzylove
  • 31e0587 Share by wallet address: QoreSeal cards and file heads in a contract that checks ML-DSA-87 on chain · jenzylove
cofferEncrypted Apps

Pushed 2 commits to main

  • d88d654 Hero: a shorter sample database URL so the line fits a phone · jenzylove
  • f18e1f3 Show sharing by address, and say plainly what an address needs · jenzylove
cofferEncrypted Apps

Pushed 1 commit to main

  • dd2518f Redacted identity: the hero is a sealed document, the app is the document · jenzylove
cofferEncrypted Apps

Pushed 9 commits to main

  • b53a36b AI usage notes · jenzylove
  • afcd125 web: own @types/node so the image builds without root dev deps · jenzylove
  • 0e16640 Docker: skip the CLI build script in the server image · jenzylove
  • 4575c11 README, license, brand mark and screenshots · jenzylove
  • 1249d1e Remove stray empty file · jenzylove

and 4 more commits

cofferEncrypted Apps

Pushed 2 commits to main

  • c6aa643 Fix the hero freeze: cancel idle callbacks with cancelIdleCallback only · jenzylove
  • 8f551cc Hero gets its own worker so it never waits behind the try-it demo · jenzylove
cofferEncrypted Apps

Pushed 1 commit to main

  • af1a1b1 Hero loop can't freeze: real on-screen check, worker calls time out and restart · jenzylove
cofferEncrypted Apps

Pushed 1 commit to main

  • 8628739 Hero: keep the quantum claim measured · jenzylove

Comments and questions

  • No comments yet.