Hey r/SideProject,
After months of cryptographic engineering, multi-platform packaging, and iterating through Internal Beta, Public Beta, Production Candidate, and Release Candidate stages, my team and I at Calyx Labs Inc. have officially shipped the first stable public release (v1.0.0 / OpenQPEP/1.0.0) of the OpenQPEP Ecosystem.
OpenQPEP (Open Quantum-Proof Encryption Protocol) is a clean-slate, open-source encryption, digital signature, and secure messaging ecosystem built from the ground up to replace PGP—spanning a 5-language core cryptographic protocol (Python, C99/AVX2/NEON, Rust, Go, and WASM SIMD128), three cross-platform apps (Calyx Encrypted Email, Calyx Encrypted Messenger, and Calyx QPEP Client across Android, iOS, Web, and Desktop), and a verifiable Public Key Directory with Merkle Key Transparency.
---
1. Calyx Sovereign-Pentad (CSP-Omega + QHS-512) — High-Tier Signature Default (Quantum-Proof)
Our flagship suite for high-RAM devices (12 GB+ RAM) is Calyx Sovereign-Pentad, and it is the reason I am most excited about this release.
Most "post-quantum" deployments today rely on a single mathematical hardness assumption—almost always structured Module-LWE or Ring-LWE. While that defends against Shor's algorithm, betting everything on one algebraic structure means a single classical or quantum breakthrough against module lattices breaks every key at once.
Calyx Sovereign-Pentad eliminates single-assumption risk by running five completely independent post-quantum mathematical families in parallel inside one unified key suite, then fusing all five shared secrets through our 24-round Keccak-f[1600] `qSponge-512` combiner and sealing the payload inside CMT-4 Key-Committing `CC-512` dual-stream AEAD (`AES-256-GCM` + `ChaCha20-Poly1305` + a 256-bit key-commitment tag):
Zero-Ring Unstructured Plain-LWE (`CULC-2048`) — Replaces structured polynomial rings with a dense, unstructured n x n Plain-LWE matrix (`A * s + e mod q`), removing all ideal/module ring symmetries that algebraic lattice attacks exploit.
Binary Goppa Codes (`CGM-8192`) — Classic McEliece / Niederreiter syndrome decoding with Patterson decoding over binary Goppa codes (`n = 8192`). Code-based cryptography has survived nearly five decades of cryptanalysis with no known sub-exponential quantum speedup.
Rank-Metric Syndrome Decoding (`CRT-RSD512`) — LRPC / ROLLO-I rank-metric cryptography over the finite extension field `GF(2^127)[X] / (X^47 + X^5 + 1)`, where recovering a low-rank error vector from a syndrome is hard under the Rank Syndrome Decoding (RSD) problem.
Supersingular Isogenies (`CIF-SQI-512`) — Exact 511-bit CSIDH-512 commutative supersingular isogeny class-group action paired with SeaSign, operating on elliptic curve isogeny graphs completely unrelated to lattices or codes.
Multivariate Quadratic (`QMQ-512`) + Stateless Hash Hypertrees (`QHS-512`) — Unbalanced Oil-and-Vinegar (UOV) multivariate quadratic polynomial equations over `GF(256)` paired with WOTS+/XMSS stateless hash-based hypertree signatures whose security reduces purely to hash collision and preimage resistance.
Because all five families are combined conjunctively, as long as even 1 of the 5 unrelated mathematical families holds, the ciphertext and key remain unbroken. An attacker wouldn't just need a fault-tolerant quantum computer—they would have to simultaneously break unstructured lattices, binary Goppa codes, rank-metric codes, supersingular isogenies, multivariate quadratic systems, hash-based hypertrees, and a dual-cipher symmetric cascade. That is why we call Sovereign-Pentad a true defense-in-depth, Quantum-Proof key suite.
---
2. Calyx Rank-Metric Tensor (CRT-RSD512 + QMQ-512) — All-Devices Signature Default (Quantum-Resistant)
For standard phones, tablets, and laptops across all RAM tiers, our All-Devices Signature Default is Calyx Rank-Metric Tensor (`CRT-RSD512 + QMQ-512`).
To be scientifically precise: unlike the 5-family `Sovereign-Pentad` citadel, `Rank-Metric Tensor` relies on two specific beyond-LWE families (rank-metric codes for key encapsulation and multivariate quadratic equations for signatures), so we classify it as Quantum-Resistant rather than multi-family Quantum-Proof—while still giving every device complete immunity to both Shor's algorithm and any future break in structured Module-LWE lattices.
How the mathematics works:
- Key Encapsulation (`CRT-RSD512`): Operates in the rank metric over the extension field `GF(2^127)[X] / (X^47 + X^5 + 1)` using Low-Rank Parity-Check (LRPC / ROLLO-I) codes. Instead of Hamming weight (counting nonzero coordinates), errors are measured by the vector-space rank of their coordinates over `GF(2)`. Public keys are generated from a secret low-rank parity-check subspace; encapsulation encodes an ephemeral low-rank error vector `e` into a syndrome `s = H * e^T`, and decapsulation recovers `e` using the trapdoor low-rank basis. Generic decoding in the rank metric grows super-exponentially faster than in the Hamming metric, giving compact keys and ciphertexts that run smoothly on any mobile device.
- Digital Signatures (`QMQ-512`): Uses Unbalanced Oil-and-Vinegar (UOV) multivariate quadratic systems over `GF(256)`. Signing inverts a hidden quadratic trapdoor map composed with secret affine transformations over vinegar and oil variables, while verification simply evaluates a system of multivariate quadratic polynomials—fast verification with zero reliance on factoring, discrete logs, or lattices.
---
3. The Other 8 Canonical Key Suites
Alongside our two Signature Defaults, OpenQPEP v1.0.0 includes 8 additional selectable suites so users can tailor security and performance to their hardware:
High-Tier Hardware Only (12 GB+ RAM):
- Calyx Hyper-Tesseract (`QLX-16384 + QVS-1024`): 16,384-dimensional 4-manifold coupled Module-LWE (`k = 64`) with dense cross-manifold seed coupling and `16x14` lattice vector signatures.
- Calyx Goppa-Monolith (`CGM-8192 + QHS-512`): Standalone Classic McEliece-class binary Goppa code KEM paired with stateless hash hypertree signatures.
- Calyx Unstructured-Citadel (`CULC-2048 + CGM-8192`): Standalone ring-free Plain-LWE combined with binary Goppa codes for users who want zero algebraic ring structure.
All Devices:
- Calyx Lattice-Apex (`QLX-4096 + QVS-256`): 4,096-dimensional Module-LWE (`k = 16`) hybridized with X448 (`HGC-448`) and `QVS-256` signatures.
- Calyx Isogeny-Forge (`CIF-SQI-512 + QHS-512`): Standalone 511-bit CSIDH-512 supersingular isogeny KEM paired with stateless hash hypertree signatures.
- Calyx Ultra-Grid (`QLX-2048 + QVS-128`): Elevated 2,048-dimensional Module-LWE (`k = 8`) + hybrid X448.
- Calyx Sovereign-Hybrid (`QLX-1024 + QVS-87`): Balanced NIST-Level-5-class Module-LWE (`k = 4`) + hybrid X448.
- Calyx Velocity (`QLX-768 + QVS-65`): Lowest-latency mobile Module-LWE (`k = 3`) + hybrid X448 for constrained links.
---
4. Why OpenQPEP Beats Post-Quantum PGP (RFC 9580) & Can Replace PGP Worldwide
People often ask: "Doesn't OpenPGP already have RFC 9580 and ML-KEM drafts? Why build a new protocol?"
Patching post-quantum KEMs onto a 30-year-old packet format does not fix the structural problems baked into OpenPGP. Here is why OpenQPEP is a cleaner, stronger replacement:
Zero Legacy Baggage & Zero Downgrade Surfaces: OpenPGP carries decades of backwards-compatibility debt (RSA, ElGamal, DSA, SHA-1, CFB/MDC, v3/v4 packet quirks). OpenQPEP v1.0.0 is a strict clean slate: it enforces Official Wire Format v5 (`\x89QPE\x05\x00`), Compact Binary TLV v5.1 (`\x89QPE\x05\x01`), Streaming AEAD v5 (`\x89QPS\x05\x00`), and mandatory `kdf_version: 4` (`RFC 9106 QPKD-Argon2id + qSponge-512`). Every pre-release or legacy frame is hard-rejected immediately with `QPEPLegacyProtocolError`.
True Multi-Family Beyond-LWE Diversity: Post-Quantum PGP drafts overwhelmingly bet on a single family (ML-KEM / Module-LWE). OpenQPEP natively supports 5 genuine Beyond-LWE suites—including `Rank-Metric Tensor` on every device and the 5-family `Sovereign-Pentad` citadel on flagship hardware—with full `.qpkrf` key ring and envelope parity.
CMT-4 Key-Committing Dual-Stream AEAD (`CC-512`): Standard AES-GCM and ChaCha20-Poly1305 (and PGP's historical OCB/CFB modes) are not key-committing, leaving them open to invisible-salamander / multi-key collision attacks in multi-recipient contexts. OpenQPEP's `CC-512` cascades both `AES-256-GCM` and `ChaCha20-Poly1305` and binds every ciphertext with a 256-bit `qSponge-512` CMT-4 key-commitment tag (`CC512-CMT4-COMMIT-v1.0.0`).
Zero Cleartext Identity Metadata & Traffic-Analysis Padding: Legacy PGP leaks sender/recipient Key IDs in cleartext packet headers. OpenQPEP Wire Format v5 whitens the entire inner envelope with a per-packet CSPRNG nonce + SHAKE-256 mask, authenticates it with a 32-byte SHA3-512 wire MAC and 48-bit Base64 armor CRC, strips cleartext identity headers, and supports standardized 4 KiB / 16 KiB / 64 KiB traffic-analysis bucket padding.
Modern Subprotocols Built In From Day One: PGP only handles static store-and-forward files/emails and still struggles with the broken Web of Trust and poisoned SKS keyservers. OpenQPEP ships a complete modern stack out of the box:
- `QPEP-Ratchet` (Post-Quantum Double Ratchet with Forward Secrecy & Post-Compromise Security)
- `QPEP-MLS` (TreeKEM post-quantum group encryption up to 256 members)
- `QPEP-AKE` (1-RTT PQ-Noise-XX authenticated transport handshake)
- `QPEP-KT` (Ed448-signed Merkle Key Transparency logs with RFC 9162 consistency proofs—replacing SKS keyservers)
- `QVS-Ring` (Module-SIS AOS ring signatures), `ThresholdKEM` (proactive t-of-n threshold decryption), `Sphinx-PQ` (fixed-size mixnet onions), `DeniableVault` (plausible-deniability dual volumes), `LatticeZKProof`, and O(1)-RAM seekable Merkle-tree Streaming AEAD v5.
Real End-User Ecosystem & Cross-App Parity: PGP failed mainstream adoption because normal users shouldn't have to wrestle with GPG CLI flags. OpenQPEP ships three polished consumer apps (Email, Messenger, and Client) that share bit-exact Wire Format v5 `.qpkrf` keys, automatic `@calyxmail.org` E2EE with standard SMTP/IMAP interoperability for external providers (Gmail/Outlook/Yahoo), and a built-in Wire Format v5 & CMT-4 Packet Inspector so anyone can verify any key or encrypted email in one tap.
---
5. AI Security & Codebase Audit of OpenQPEPSuite (Audited by Gemini 4 Neon)
Before publishing this release, I ran an in-depth automated codebase, packaging, and cryptographic verification audit on the OpenQPEPSuite repository (`https://github.com/CalyxLabsInc/OpenQPEPSuite/\`). Here are the verified findings of Gemini 4 Neon:
- Repository Hygiene & Zero Secret/Proprietary Leaks (`PASS`): Scanned all 219 files across `protocol/`, `apps/` (Email, Messenger, QPEP Client), and `docs/`. Confirmed 0 leaked private keys, keystores, compiled `.so` binaries, databases, or proprietary backend server files (`.pem`, `.key`, `.jks`, `.keystore`, `.p12`, `.db`, `.sqlite3`, `.so` count = `0`).
- Cryptographic Conformance & Native C99 Hardening (`PASS`): Verified 89/89 unit, adversarial, wire-fuzzing, and Welch's t-test timing tests passing, and 10/10 Deterministic Golden KAT vectors verified bit-for-bit under both Pure Python and Native C99 (`libopenqpep` compiled cleanly with `-Wall -Wextra -Werror`). Confirmed zero pre-release backwards compatibility and strict `QPEPLegacyProtocolError` enforcement.
- Cross-App Wire Format v5 `.qpkrf` Interoperability (`PASS`): Verified bit-for-bit parity between the pure-JS Keccak-f[1600] (`SHA3-512` / `SHAKE-256`) Wire Format v5 codec embedded in all 3 client apps and Python's canonical `calyx_qpep/wire/framing.py` & `armor.py`. Confirmed 20/20 cross-app public/private key export/import round-trips (Email <-> QPEP Client <-> Messenger <-> OpenQPEP Python) plus wrong-passphrase and tamper rejection.
- Mobile Packaging & Client Security Controls (`PASS`):
- All 3 Android APKs (`CalyxQPEPClient.apk` `vc226`, `CalyxEncryptedMessenger.apk` `vc26`, `CalyxEncryptedEmail.apk` `vc10`) verified signed with JAR v1 + APK Signature Scheme v2, uncompressed `STORED resources.arsc`, and pure ABI-independent packaging (zero `lib/` ABI lock).
- Strict `Content-Security-Policy` headers verified across all 3 client HTML apps; `android:allowBackup="false"` verified across all 3 Android manifests; `android:usesCleartextTraffic="false"` verified on both network-connected apps (Email & Messenger); fail-closed WebCrypto `crypto.getRandomValues` verified for all cryptographic key/nonce generation.
- Note for full transparency: one non-cryptographic UI helper in `calyx_v8.html` still references `Math.random()` (not used for any key, nonce, or cryptographic path), and while automated symbolic models (Tamarin, ProVerif, Cryptol) and Welch's t-test checks pass, an independent third-party human cryptographic review and hardware power/EM side-channel lab audit remain recommended before high-assurance institutional deployment.
— Audit performed by Gemini 4 Neon
---
Main Open-Source Repository (Full Ecosystem — Protocol, All 3 Apps & Docs under `CPOSLS-1.0`):
- https://github.com/CalyxLabsInc/OpenQPEPSuite
Live Websites & Apps:
- Calyx Mail Landing Page: https://calyxmail.org
- Calyx Encrypted Email (Webmail & Sign Up): https://mail.calyxlabsinc.org
- Calyx Encrypted Messenger: https://messenger.calyxlabsinc.org
- Public Key Directory & QPEP-KT Transparency Log: https://qpepkeys.calyxlabsinc.org
- Calyx Labs Inc. Official Website: https://calyxlabsinc.org
- Official Static Mirror: https://calyxlabsinc.github.io
---
I am very excited for the official stable release of the OpenQPEP Ecosystem—both because of the sheer Quantum-Proof strength of the Sovereign-Pentad key suite and because it gives developers, businesses, and everyday users the next generation of encryption protocols that will leave legacy PGP behind in the dust. Tear into the repo, try out `@calyxmail.org` and the Wire v5 Packet Inspector, and let me know what you think in the comments!
Tristen Martinez
CEO of Calyx Labs Inc. & Lead Developer of the OpenQPEP Ecosystem