Sloppy Voice v2 is a federated voice, video and text chat system. It has the features of Discord and federates like e-mail: anyone can run a server, and an address looks like an e-mail address, such as saxon@sloppyvoice.com. A client finds the server for a domain through a DNS TXT record at _sloppyv.<domain>, with an HTTPS .well-known fallback (D-001). The system is insecure by default: in an insecure context the server can read messages, hear calls and see shared screens. People can opt in to secure accounts, channels and servers, and inside a secure context everything is end-to-end encrypted with MLS and SFrame (D-008, D-018). The top design goal is usability for people who aren't IT-literate: the insecure path has no security friction, turning on encryption is one switch, and warnings are rare and from a closed list.

Status

Status Draft v1 of the protocol specification
Date 2026-12-04
Protocol version sv1
Decision log D-001 to D-094

Conformance language

The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "NOT RECOMMENDED", "MAY", and "OPTIONAL" in this specification are to be interpreted as described in BCP 14 (RFC 2119, RFC 8174) when, and only when, they appear in all capitals, as shown here.

Grammars use ABNF (RFC 5234). Wire examples use JSON (RFC 8259). Rationale notes start with "Rationale:" and are informative. Examples are informative unless the text says otherwise, and where an example and the normative text disagree, the normative text wins. Document 21 is mostly informative; only its §6 and the requirements it marks "(normative)" are normative.

Documents

File Title What it covers
00-overview.md Overview, architecture and conventions The architecture contract: glossary, roles, the security-mode model and matrices, trust model, designs for the hard problems, cross-cutting conventions, key flows and traceability. Read first.
01-addressing.md Addresses, display names and links Address grammar, Unicode local parts, normalization, display-name linkage, alias canonicalization, and sloppyv:// and HTTPS share links.
02-discovery.md Discovery, server metadata and server keys Turning a domain into a server: the _sloppyv TXT record, .well-known, /v1/resolve, ServerMetadata, domain lists, server key rotation and caching.
03-transport.md Client transport, envelopes and errors HTTPS API rules, the event WebSocket and its envelope, errors, pagination, idempotency, rate limits, versioning and CORS.
04-crypto-conventions.md Cryptographic conventions The single crypto suite sv1-c1, encodings, the JWS profile, labelled signatures, fingerprints, AEAD, CPace and Argon2id profiles, test vectors.
05-accounts-auth.md Accounts, login, sessions, devices and bots OIDC sign-in through admin-configured providers, sign-up, tokens and sessions, device records, revocation, bots, account states and deletion.
06-federation.md Federation HomeAssertion and DeviceProof vouching, remote sessions, server-to-server request tokens and event delivery, revocation fan-out, blocking and outages.
07-identity.md Identity keys, certificates and verification The shared identity key, device keys, the four signed identity objects, validation rules, resets, pins, safety numbers and self-alerts.
08-device-setup-recovery.md Turning on encryption, pairing, backup and the vault The upgrade ceremony, recovery phrase, KeyBackup, pairing, the AccountVault and key archive, and key storage on each platform including the web.
09-communities-channels.md Communities, membership, channels and security transitions Communities (one per server), membership states, channels, invites, join gates, channel and server upgrades, the community list.
10-roles-moderation.md Roles, permissions, moderation and reports The permission registry, roles and overwrites, moderation in every mode, bans, reports, the audit log and anti-spam.
11-messaging-attachments.md Messages, attachments, read state and presence The shared content schema, insecure and sealed carriers, edits, deletes, reactions, mentions, typing, read state, presence, sync, retention and attachments.
12-direct-messages.md Direct messages and group DMs Which server hosts a DM, DM IDs, creation, message requests, the DM index, security selection and transitions, membership and DM calls.
13-mls-profile.md MLS profile How MLS (RFC 9420) is used: ciphersuite, group IDs, extensions, Delivery and Authentication Service duties, KeyPackages, external commits, removals and resync.
14-secure-content-history.md Sealed messages, history visibility and sharing Key derivations, the SealedMessage, server acceptance rules, the visibility rule (visibleFromSeq), manual history sharing and key archive rules.
15-calls-control.md Calls: control, leases, routing and continuity Call and participant objects, voice leases, the relay connection, routing between relay and SFU, SFU signalling, epoch switches, auto-rejoin, "Move voice here", diagnostics.
16-audio.md Audio voice-dc/1 frames, Opus profiles, jitter buffer, loss concealment, voice activation, push-to-talk, game sound and receiver lease enforcement.
17-video.md Screen share and webcam video-dc/1 fragments, screen and application sound, sync and latency targets, quality adaptation, the sfu-rtp/1 profile and path selection.
18-media-e2ee.md Media end-to-end encryption The SFrame (RFC 9605) profile keyed from MLS, KID layout, transport framing, key rotation and MediaAttestation.
19-notifications-push.md Notifications and push Notification triggers, notify between servers, notification settings and records, push registration, the push gateway API, ringing and badges.
20-client-requirements.md Client behaviour and user experience The closed catalogue of warnings, gate cards, markers and UX moments with exact copy, the never-prompt list, lock indicator, onboarding, call indicators, web hardening.
21-deployment-operations.md Deployment and operations What each class runs, deployment profiles, scaling, the relay-control and SFU adapter interfaces, key rotation runbooks, outages, version skew, limits.
22-security-considerations.md Security considerations and threat model Security goals, adversaries per party and mode, metadata exposure, residual and accepted risks, privacy, and an implementer checklist.
DECISIONS.md Decision log Every decision D-001 to D-094, with its source (owner or lead) and reason. Documents cite decisions by ID.
OPEN-QUESTIONS.md Open questions The documents' open questions merged into one list: those the owner has answered, and those settled by recommendation unless the owner objects.

Suggested reading orders

Everyone starts with 00, at least §1 to §5.

Product owner

  1. 00 §1 (what the system is) and §4 (security-mode model: who can join what, and what people see).
  2. 00 §5.5 and 22 §12: the plain-language security statements.
  3. 20 §3 to §12: every warning, gate card, marker and UX moment, the never-prompt list, the lock indicator, onboarding, call indicators, and the recovery and pairing screens.
  4. 22 §8: residual and accepted risks.
  5. DECISIONS.md (the Owner rows) and OPEN-QUESTIONS.md.

Server implementer

  1. 00 in full, especially §7 (conventions).
  2. 01, 02, 03, 04.
  3. 05, 06, 09, 10, 11, 12.
  4. 13 and 14 for secure mode (every server must support it).
  5. 15 to 19.

Client implementer

  1. 00 in full.
  2. 01, 02, 03, 04.
  3. 05, 07, 08.
  4. 11, 12, 13, 14.
  5. 15 to 18, then 19.
  6. 20 last: its UX rules are normative for clients.

Security reviewer

  1. 00 §4 (security-mode model), §5 (trust model) and §6 (hard problems).
  2. 22, the reviewer's entry point to the threat model.
  3. 04, 07, 08, 13, 14, 18.
  4. 06 (federation trust) and 02 (discovery and DNS spoofing).
  5. 20 §16 (web client hardening).

Conformance classes

An implementation claims one or more of these classes (00 §1.5, D-066). It meets a class only when it meets every MUST in the listed documents that applies to that class.

Class What it implements Documents
Server Discovery and metadata; the home-server role (sign-in, sessions, devices, bots, identity publication, key backup and vault storage, DM index, notifications, push sending); the hosting-server role (communities, channels, roles, moderation, messages, attachments, DMs, MLS Delivery and Authentication Service, sealed-content storage, manual history sharing, call control, voice leases); a media relay; federation in both directions. Every server supports the server side of secure mode. 01–15; 16 and 17 (relay parts); 18 (relay and control parts); 19; 21 (§6 and the requirements it marks normative)
SFU-capable server Server, plus sfu-rtp/1 media through an SFU reached via the server's control plane. 15, 17, 21 §7.1
Full client Desktop and mobile apps: everything a client does, including secure mode, calls, voice-dc/1, video-dc/1, sfu-rtp/1, SFrame, MediaAttestation and, on mobile, push. All, especially 20
Web client Full client, plus the web rules for discovery and key storage. All, especially 02, 08, 20
Bot client Bot-token login, messaging and DMs. A secure bot also implements identity, MLS and SealedMessage. Media is optional, but a bot that joins a call in a secure context MUST implement SFrame and MediaAttestation. 05, 07, 11–14, 20; 15–18 for a bot that joins calls
Push gateway The gateway API. 19

The security-mode model

Only a secure account on an enrolled device can enter a secure context. Channels and servers can be upgraded to secure but never downgraded. A 1:1 DM is secure when both people are; a group DM is secure when everyone in it is, and never goes back. Calls take the mode of their context. 00 §4 has the full matrices and 00 §5 the trust model.

Insecure context Secure context
Text, files, edits, reactions The hosting server can read, alter and store them in plaintext. Protected only by TLS. End-to-end encrypted (MLS and SealedMessage). The server stores ciphertext only.
Voice, screen share, app sound, webcam The relay or SFU can hear and see everything it forwards. End-to-end encrypted with SFrame keyed from MLS. The relay or SFU forwards ciphertext.
Metadata Everything. Still visible: membership and rosters, context names and settings, who sends when and how much, message kinds, typing and read state, who is in a call and who speaks when, IP addresses, push timing (00 §5.4, 22 §7).
Mobile push and lock screen The notify may carry a short preview. Pushes carry an opaque ID only. No content leaves the hosting server. The device fetches and decrypts the message itself.
Identity checks The hosting server trusts the home server's assertion. Channels: the hosting server validates identity, and nobody sees a warning when someone's key changes. DMs and group DMs: clients pin each contact's key and warn (W2) when it changes.
New members See earlier history as their permissions allow. Never see anything sent before they joined (revised D-007). This covers bots, people re-added after an identity change, and people who join a channel after it was upgraded. There is no history setting and no automatic key handover.

Two exceptions to the history rule: a user's own new devices get everything that user could already read, through the key archive (D-054); and a member may deliberately share earlier messages with one specific member (manual history sharing, 14). Sharing is never automatic or prompted, and everyone in the conversation is told.

How to change the specification

Decisions. Every design decision has an ID in DECISIONS.md, and documents cite it. Owner decisions are fixed and are reopened only with the owner. Lead decisions can be revised, but the revision and its reason go in the log. Entries are never deleted or renumbered: a replaced entry is marked superseded or amended, as D-039, D-061 and D-070 are, and a revised one says so, as D-007 does. A document that needs a decision not yet in the log writes it inline as a "Proposed decision:" block with a one-line rationale. The lead then adds it to the log with the next free ID. Authors don't edit DECISIONS.md themselves.

Owning documents. Each object, message, endpoint, registry and error prefix has exactly one owning document (00 §1.6, §1.7, §7.3, §7.9). Change it there. Other documents refer to it ("see 07 §4") and never redefine it. Some things have fixed homes:

  • Terms are defined in 00 §2. Use them exactly, with no synonyms.
  • The security-mode model, the security.* error codes and the catalogue of warning, gate-card, marker and UX-moment IDs belong to 00.
  • User-facing text for warnings and gate cards belongs to 20. Other documents name the trigger and the warning ID.
  • Where 00 gives a timer or limit, the owning document uses that number.

Document template. Each document starts with a header table (Status, Depends on, Decisions used, Owns), then a Scope section. It ends with "Security considerations", "Open questions" and "References", in that order.

Open questions. A question goes in the "Open questions" section of the document that raises it, and only if it needs the owner's decision. The lead merges these into OPEN-QUESTIONS.md. Section 1 holds questions for the owner; once answered, each becomes a decision in the log and the affected documents are updated. Section 2 holds narrow technical questions that the lead settles by recommendation, which the owner can reopen.