







Ever wondered how to build a decentralized messenger without any central servers? It's all about federation - just like email! In this post, I'll show you how to design a simple protocol from scratch, from server discovery using .well-known files to handling end-to-end encryption.
Key Agreement for Decentralized Secure Group Messaging with Strong Security Guarantees
Secure group messaging protocols, providing end-to-end encryption for group communication, need to handle mobile devices frequently being offline, group members being added or removed, and the possibility of device compromises during long-lived chat sessions. Existing work targets a centralized network model in which all messages are routed through a single server, which is trusted to provide a consistent total order on updates to the group state. In this paper we adapt secure group messaging for decentralized networks that have no central authority. Servers may still optionally be used, but they are trusted less. We define decentralized continuous group key agreement (DCGKA), a new cryptographic primitive encompassing the core of a decentralized secure group messaging protocol; we give a practical construction of a DCGKA protocol and prove its security; and we describe how to construct a full messaging protocol from DCGKA. In the face of device compromise our protocol achieves forward secrecy and post-compromise security. We evaluate the performance of a prototype implementation, and demonstrate that our protocol has practical efficiency.
An End-to-End Encrypted Peer-to-Peer Chat System with Self-Sovereign Identity
Today, messaging applications are the most popular medium of communication over the Internet. As their use has grown, different security and privacy concerns have received the attention of users. Users consider what they send with others to be private, tamper-proof and secure without getting exposed to unintended entities. Furthermore, users are concerned whether their data is exposed if the service provider encounters any cyber attack. In this paper, we propose a Self-Sovereign Identity (SSI)-based End-to-End Encrypted Peer-to-Peer (E2EE P2P) chat system that does not rely on any specific provider, enhancing user privacy and security. The system leverages decentralized identifiers (DIDs) to establish secure communication channels using the DIDcomm (DID Communications) protocol, which ensures the privacy of user data. We also introduce a secure file sharing mechanism that ensures that all data, including messages, are stored solely on the user's device, further safeguarding user privacy. The system is developed following the Design Science Methodology, addressing probable threats and satisfying different functional and security requirements. The architecture and its implementation details are discussed with the subsequent use cases and protocol flow. Finally, we analyze different aspects of the system.
BeeKEM: Decentralized, Secure and Efficient Group Key Agreement
Group key agreement protocols are essential for modern secure messaging. Most existing group key agreement protocols assume a centralized model with a semi-trusted service that mediates the communication. This is efficient, but problematic for some important applications, since a central service can be a choke point for surveillance and censorship. There is a nascent literature on decentralized group key agreement that avoids such reliance, but existing proposals either do not scale, with update costs linear or quadratic in the group size, or lack proofs of security. Centralized protocols can offer much lower (logarithmic) cost. We present BeeKEM, the first decentralized group key agreement protocol with logarithmic update cost in the common case (degrading to linear in the worst case) and proofs of security. We provide an open-source implementation and demonstrate that it is competitive with OpenMLS. BeeKEM opens the door for a range of communication and collaboration applications offering not only end-to-end encryption, but also metadata privacy and censorship resistance.
Integrating Germ with AT Protocol — Germ Network
End-to-end encrypted Germ DM is now a Bluesky messenger. In this technical post, we introduce the architecture of Germ’s integration with AT Protocol. From the beginning, Germ has been building for an interoperable E2EE ecosystem, and this extends to our integration with AT Protocol. We’ll define th

Quiet - Private messaging. No servers.
Quiet is available for all major platforms. (And eventually the web, too!)

Quiet - Private messaging. No servers.
Quiet is available for all major platforms. (And eventually the web, too!)

Room to grow: Building collaborative, open software
We examine one approach to collaborative, open software by building on Matrix, a secure, decentralised, real-time communication protocol with generic database capabilities hiding beneath its current focus on chat.
A quick look at every link that's been added thus far.
Multiple protocols, dozens of apps, dozens more use cases. So where do you or I start? It's simple I promise. Mayhaps a little overwhelming to see this quick post alongside 50 and counting...

AT Protocol PDS
Explore this self-hosted AT Protocol Personal Data Server (PDS) with useful links and details.

White Noise - Secure Private Messenger
A truly secure and private messenger that's lightning fast, massively scalable, and identity-free.

The Matrix Autumn Special!
Matrix, the open protocol for secure decentralised communications

Welcoming Discord users amidst the challenge of Age Verification
Matrix, the open protocol for secure decentralised communications

NextGraph - Decentralized, encrypted and local-first platform and framework, towards the better internet we all deserve!
Features a social network, shared documents, productivity tools, an app store, and more! You can use NextGraph for free : resilient, secure, private and encrypted. You own your data and software! Developers can build new web3.0 local-first apps with our open source framework, based on open standards, with CRDTs, E2EE, Linked Data, JSON, Markdown...

Delta Chat: Delta Chat, decentralized secure messenger
Delta Chat is a decentralized and secure messenger app 💬 Reliable instant messaging with multi-profile and multi-device support ⚡️ Sign up to secure fast chatmail servers or use classic e-mail serv...

Build an MCP server - Model Context Protocol
Get started building your own server to use in Claude for Desktop and other clients.
