ai disclosure for the mods (rule 8): i used claude code heavily for this, literally thousands of iterative prompts over the last 19 months. obviously i cant paste them all here, but the workflow was me defining the architecture and using claude to write code, cross-reference the specs (otrv4 draft, tls 1.3, rfc 9420), and generate the regression tests.
the hardest prompts were for the core crypto, basically: "review the otrv4 draft and tls 1.3 certificateverify to implement hybrid dake transcript binding" and "modify the double ratchet to fold in a fresh ml-kem secret every dh step, then write the KATs to prove it". the full evolution is in the 19 months of commit history if you want to audit the commits.
I have been working on this project called OTRv4+ for a while and just updated the docs. the main goal was just getting rid of the central server model. no phone number, no company in the middle. its just a plain prosody xmpp server sitting behind an i2pd tunnel. you can run it yourself easily or use the public test server i put up.
the tech side: the heavy lifting is all in a rust core. python handles networking and kotlin does the android ui.
post-quantum is enabled by default. 1:1 chats, MLS groups, SMP identity verification, and voice all pair X448/Ed448 with ML-KEM-1024 and ML-DSA-87. built specifically to resist harvest-now-decrypt-later.
for group chats it uses MLS (RFC 9420) but on a hybrid PQ suite i call 0xF0A1. just a heads up, since its a private iana code point it wont interop with element or wire right now. tradeoff for the PQ security.
on the privacy side, the android app carries its own built-in i2p router so you dont need to install anything else. the server stays hidden, users stay hidden. you can also publish chat keys to make a conversation deniable afterwards, and wipe & exit actually destroys keys and checks the files are gone.
status: experimental, not independently audited. i did alot of fuzzing and tests but no paid audit yet.
if you want to try and break it, or spin up your own servers, ill drop the github link in the comments. happy to answer questions on the protocol or the server setup.