Skip to content
QORECHAIN
Register

Encrypted Apps

Liro

Post-quantum confidential document & chat rooms: share files only the right people can open, provable on QoreChain

Share on X

About

Liro is a confidential document & chat room built for the harvest-now-decrypt-later threat. An owner seals a file to a set of people; only they can open it, and anyone can verify, with no secret, who signed it, for which members, and at which epoch. Each recipient's key is wrapped with QoreSeal's ML-KEM-1024 + X25519 hybrid, authorship is an ML-DSA-87 signature, and rooms, roles and document anchors live in smart contracts on QoreChain's EVM lane. Default rooms hide the member list on chain. The design aims for WeTransfer-level ease: a web app that never holds a key, a local / cloud signer for approvals, and a passkey vault being wired in for opening documents

How it's made

We started from the threat, not the stack: anything encrypted today can be stored and broken later by a quantum computer, so every key that protects a document had to be post-quantum from day one. Before writing code we read the QoreChain docs and tested the live testnet read-only, because several behaviours there were described but not yet confirmed. We built it as one TypeScript project in layers. First came the encryption format, built on QoreSeal and QoreSign from the QoreChain SDK, so we never invented our own cryptography. Then came a small signer program that holds each person's keys on their own computer and asks before every action, because a recovery phrase must never go into a web page. On top of that sit the Solidity contracts for rooms, roles and document records, deployed to the testnet; a set of small cloud services for file storage, notifications and chain indexing; and the web app. People register their post-quantum keys in QoreChain's key registry, and the contracts are only changed inside short time windows opened by a post-quantum signed transaction. How we worked: one developer directing several AI coding agents, each with a fixed role (contracts, signer, web app, services), and a separate reviewer agent that tested and attacked every change before it was accepted. Nothing went to the chain or the cloud without a written review and the developer's own approval. We set one rule early: no feature was cut to meet the deadline. Things that weren't finished are listed as unfinished. What was hard: the network's time windows charge their full limit up front; RPC requests have a size cap, so large documents had to be split; mainnet lacks some testnet-only features, so everything checks before relying on them; and we wanted the chain to prove who signed a document without revealing who is in a room. We also wanted people to be able to check the chain without trusting our servers, so we built a verifier into the page that checks the chain's own signed blocks directly in the browser.

Timeline

LiroEncrypted Apps

Pushed 300 commits to main

  • 59fab9e Readme: the page's send code reaches the hosted gateway; a full send by a person is still to come · xavio2495(not counted: no real change)
  • dddf9f9 Send: the share dialog lists the people the send was sealed for, not the names left on the screen · xavio2495(not counted: no real change)
  • e1ba5c8 Web send: solve the storage service's proof of work before opening an upload · xavio2495(not counted: no real change)
  • 9619f0f Override ws to 7.5.14 and 8.23.0, which close a high-severity memory exhaustion advisory · xavio2495(not counted: no real change)
  • 8e670d9 CI: the Node jobs install the pinned Foundry and forge-std, which their tests need for the V2 artifacts · xavio2495(not counted: no real change)

and 295 more commits

LiroEncrypted Apps

Earned a Ship Weeks badge.

LiroEncrypted Apps

Earned a Ship Weeks badge.

LiroEncrypted Apps

New project.

Comments and questions

  • No comments yet.