
Encrypted Apps
CipherBrief
Post-quantum encrypted dossiers with ML-KEM-1024, ML-DSA-87 & Diana proofs.
About
CipherBrief is a client-side post-quantum encrypted dispatch workbench built natively for QoreChain (qorechain-diana) to defeat Harvest Now, Decrypt Later threats against sensitive security disclosures, legal briefs, and treasury migration dossiers. Key capabilities: - Multi-recipient client-side ML-KEM-1024 encryption (NIST FIPS 203): seals dossiers and binary attachments (up to 512 KiB) in the browser to one or more qor1... recipients (1,568 B ciphertext per slot) with zero plaintext ever leaving the device. - ML-DSA-87 key binding and sender attestation (NIST FIPS 204): every recipient publishes an ML-DSA-87-signed Key Card binding their ML-KEM-1024 public key to their QoreChain account, and every sealed dossier carries a 4,627 B ML-DSA-87 sender signature verified before decryption. - Key rotation and adversarial refusal probes: rotating a recipient key increments their Key Card epoch (v1 -> v2) and locks out old keys; built-in probes prove immediate refusal on 1-byte ciphertext tampering (TAMPER_DETECTED), unauthorized recipients (RECIPIENT_NOT_AUTHORIZED), forged key cards (KEY_CARD_SIGNATURE_INVALID), and rotated-out keys (KEY_ROTATED_UNREADABLE). - Live qorechain-diana testnet verification: 9 finalized on-chain transactions at block #11,143,768 across 4 registered qor1... accounts, anchored by hybrid-signed tx F1E1DB2606C310401029AA8D5CA0CC40E59F252F6362B0CA0B8C063A2E93D85A (pqc_hybrid_verify: verified).
How it's made
Architecture & Official QoreChain Kits: CipherBrief is built in TypeScript (Node.js 24, Vite 8, Express 5, zero hand-rolled cryptography) directly on four official QoreChain packages: - @qorechain/sdk (0.14.0): Diana RPC/REST telemetry, account queries, and live hybrid transaction broadcasting. - @qorechain/pqc (0.2.3): ML-KEM-1024 and ML-DSA-87 cryptographic primitives and key generation. - @qorechain/qoreseal (0.1.0): multi-recipient post-quantum envelope sealing, attachment encryption, and recipient key registry integration. - @qorechain/qoresign (0.2.0): ML-DSA-87 signed Recipient Key Cards and dossier sender attestation. Network Features & Live Diana Proofs: Using scripts/testnet-anchor.ts, we funded a disposable Diana testnet sender account and executed 9 finalized transactions at block #11,143,768: on-chain ML-DSA-87 (proof of possession) and ML-KEM-1024 encryption key registrations for the sender and 3 recipients, plus a hybrid secp256k1 + ML-DSA-87 anchor transaction carrying the SHA-256 commitment of the sealed .qseal.json bundle (memo: cipherbrief:v1:sha256:56d2d300ceb2cd2b29367d4222fb4ef7ebdd4090a9353b29b719617b1df1c7cb). All public receipts, signed .card.json files, and the sealed .qseal.json envelope are committed under docs-ref/ for independent verification. What Was Hard & How We Solved It: 1. Binding encryption keys to identities without a central PKI: solved by pairing QoreChain's on-chain ML-KEM-1024 registry with ML-DSA-87-signed Key Cards and epoch rotation (v1 -> v2) verified client-side before decryption. 2. Live testnet automation resilience: transient Diana REST timeouts during balance polling were fixed with retry-safe polling and persisting disposable testnet-only credentials in a strictly gitignored .env before deposit display. 3. End-to-end verification: backed by 63/63 passing Vitest tests (48 crypto/tamper/rotation + 12 Diana chain + 3 hybrid verification tests) and 0 production vulnerabilities.
Timeline
New project.
Comments and questions
- No comments yet.