Fluxer E2EE: Comprehensive Technical Report
Generated via Incremental Map-Reduce
Fluxer E2EE Infrastructure Technical Report
Executive Summary
This report consolidates deliberations on Fluxer's End-to-End Encryption (E2EE) infrastructure from multiple technical discussions. Key decisions include: E2EE as an opt-in feature with platform-wide implementation, MLS for group chats, hybrid media storage (server-side with expiry), and SSI-based federation. Critical unresolved tensions include moderation mechanisms and instance-level E2EE control.
1. E2EE Strategy and Prioritization
Problem/Concept
Balancing E2EE implementation timing against user experience (UX) and technical feasibility, while leveraging E2EE as a user acquisition strategy.
Deliberations & Considerations
- UX vs. Security Tradeoff: Premature E2EE implementation risks complex device verification (e.g., Matrix), causing user attrition. Speykious emphasized UX as "very, very, VERY important" and should precede E2EE.
- Architectural Compatibility: Rain argued E2EE must be architecturally supported early to avoid Matrix-like incompatibility, calling delayed implementation "the greatest rugpull of all time."
- User Acquisition Strategy: E2EE promises on the roadmap could attract users waiting for privacy features, positioning Fluxer as a Discord successor with "Discord-like UX, FOSS, federation, E2EE."
- Threat Model: Forward secrecy deemed "overkill" for Fluxer's scope; epoch secrets accepted for history access.
Final Conclusion
- E2EE Timing: Delay implementation until post-federation v2, but ensure architectural compatibility.
- User Acquisition: E2EE promises are a "power move" to centralize users on Fluxer.
- UX Priority: Opt-in E2EE to minimize friction for normie users.
Citations
- Speykious: [2026-03-19 18:04:46], [2026-03-19 20:44:35]
- Rain: [2026-03-19 20:08:34], [2026-03-19 20:18:10], [2026-03-19 20:24:21]
- Silkyren: [2026-03-20 10:57:27]
2. Federated E2EE Architecture
Problem/Concept
Designing E2EE within Fluxer's federated infrastructure, focusing on resilience, interoperability, and data storage models.
Deliberations & Considerations
- Resilience System: Matrix-like homeserver replication during outages improves uptime but compromises metadata privacy and moderation (e.g., CSAM liability across instances).
- Federation Models:
- Self-Sovereign Identity (SSI): Prioritized for user-controlled PKI, reducing server admin power.
- Full Federation: Risk of admin impersonation (e.g., Matrix gaps).
- Self-Sovereign Identity (SSI): Prioritized for user-controlled PKI, reducing server admin power.
- Data Storage Tradeoffs:
- Client-side replication: Ensures true E2EE but causes device bloat and migration complexity.
- Server-side storage: Simplifies sync but requires robust key management.
- Client-side replication: Ensures true E2EE but causes device bloat and migration complexity.
- Interoperability: Polyproto/MLS noted for federation support, but Matrix's implementation gaps suggest custom optimizations may be needed.
Final Conclusion
- Federation Baseline: SSI prioritized for cross-server E2EE.
- Resilience: Significant privacy/safety tradeoffs; deferred for future scope.
- Storage: Hybrid model adopted (server-side encrypted storage with optional client-side).
Citations
- Rain: [2026-03-19 20:31:34], [2026-03-19 20:33:36]
- Lilith: [2026-03-19 20:33:02], [2026-03-19 20:56:13]
- Silkyren: [2026-03-20 12:44:02]
- Meowergirl: [2026-03-25 02:39:07], [2026-03-25 11:10:02]
3. E2EE Protocol and Key Management
Problem/Concept
Selecting protocols for E2EE key management, focusing on scalability, forward secrecy, and client-side overhead.
Deliberations & Considerations
- MLS vs. Custom Solutions:
- MLS praised as "long-solved" for complex key management but requires epoch secret storage for history verification.
- Custom solutions risk fragmentation but allow Fluxer-specific optimizations.
- MLS praised as "long-solved" for complex key management but requires epoch secret storage for history verification.
- Key Storage Tradeoffs:
- Client-side caching causes "massive storage bloat" for group chats (per-channel keys, out-of-order messages).
- MLS mitigates via epoch secrets but increases verification overhead.
- Client-side caching causes "massive storage bloat" for group chats (per-channel keys, out-of-order messages).
- Forward Secrecy:
- Epoch secrets accepted for history access; true forward secrecy prioritized only for ephemeral chats.
- Epoch secrets accepted for history access; true forward secrecy prioritized only for ephemeral chats.
- Key Transparency: Fediverse research referenced but deemed non-directly applicable.
Final Conclusion
- Protocol: MLS for group chats; epoch secrets for history access.
- Key Storage: MLS to avoid indefinite key retention.
- Transparency: Research noted but not mandated.
Citations
- Silkyren: [2026-03-19 21:58:51], [2026-03-19 22:24:33]
- Rain: [2026-03-19 22:19:01]
- Sharon: [2026-03-19 23:35:48]
- Jce: [2026-03-20 02:02:21]
4. Media and Ephemeral Content in E2EE
Problem/Concept
Encrypting media attachments and ephemeral content while balancing performance, storage, and UX.
Deliberations & Considerations
- Media Encryption Approaches:
- MLS: Unified encryption but causes client slowdown for large files (500MB+).
- Room-derived keys: Server-side storage with rotation; breaks forward secrecy.
- Per-attachment encryption: Avoids bloat but requires downloading all media.
- MLS: Unified encryption but causes client slowdown for large files (500MB+).
- Storage Tradeoffs:
- Client-side replication: Prevents server exposure but causes bloat (WhatsApp-like).
- Server-side storage: Risk of exposure if keys compromised.
- Client-side replication: Prevents server exposure but causes bloat (WhatsApp-like).
- Ephemeral Chats:
- P2P (Iroh-like) model proposed for true ephemeral storage but deferred to avoid scope creep.
- Separate "secret chat" mode planned for temporary conversations.
- P2P (Iroh-like) model proposed for true ephemeral storage but deferred to avoid scope creep.
- UX Controls:
- Default expiry for server-stored media (configurable) with "keep" option for persistence.
- Ephemeral chats as a dedicated UI button (Telegram-like).
- Default expiry for server-stored media (configurable) with "keep" option for persistence.
Final Conclusion
- Media Encryption: Room-derived keys with rotation.
- Storage: Hybrid model (server-side with expiry + client-side option).
- Ephemeral: Deferred to dedicated feature; P2P noted for future.
Citations
- Silkyren: [2026-03-21 10:13:34]
- Sharon: [2026-03-21 10:32:54]
- Meowergirl: [2026-03-25 11:23:23]
- Lada: [2026-03-25 09:53:20]
5. Moderation and Metadata in E2EE
Problem/Concept
Moderating illegal content (e.g., CSAM) and handling metadata without compromising E2EE.
Deliberations & Considerations
- Moderation Dilemma:
- Decryption for moderation breaks E2EE; trusting reporters risks spoofed reports.
- Message franking (per-message keys) proposed as compromise but adds complexity.
- Decryption for moderation breaks E2EE; trusting reporters risks spoofed reports.
- Metadata Encryption:
- Full encryption prevents profiling but breaks moderation (e.g., CSAM reporting).
- Plaintext metadata enables reporting but exposes social graphs.
- Full encryption prevents profiling but breaks moderation (e.g., CSAM reporting).
- Instance Control:
- Optional E2EE demanded for legal compliance (e.g., aiding/abetting charges).
- E2EE reduces liability by making content unreadable but attracts scrutiny.
- Optional E2EE demanded for legal compliance (e.g., aiding/abetting charges).
- Legal Risks: Instance owners liable if "aware" of illegal content; E2EE absolves proactive moderation duties.
Final Conclusion
- Moderation: Message franking proposed; no platform >1M users uses "good faith moderation."
- Metadata: Remains unencrypted to prioritize moderation.
- Instance Control: Disagreement unresolved (legal vs. privacy tradeoffs).
Citations
- Lilith: [2026-03-19 20:33:02], [2026-03-19 20:47:11]
- Rain: [2026-03-19 20:42:08], [2026-03-19 21:12:28]
- Kaevel: [2026-03-19 20:51:17]
- Astromahdi: [2026-03-19 21:37:22]
6. User Experience and Defaults
Problem/Concept
Designing E2EE UX for multi-device support, defaults, and client-side plugins.
Deliberations & Considerations
- Multi-Device Support:
- Low-friction: Auto-add devices with notifications (QR code scan).
- High-friction: Manual approval for sensitive chats.
- Low-friction: Auto-add devices with notifications (QR code scan).
- Default Behavior:
- Opt-in favored for Discord-like UX; default E2EE rejected due to history-transfer complexity.
- Opt-in favored for Discord-like UX; default E2EE rejected due to history-transfer complexity.
- Client Plugins:
- Fragmentation risk (multiple encryption standards, unencrypted/media).
- "False sense of security" (Rain); discouraged but noted as fallback.
- Fragmentation risk (multiple encryption standards, unencrypted/media).
- Device Migration: Unresolved challenge for client-side media transfer.
Final Conclusion
- Multi-Device: Auto-add with notifications; high-friction mode optional.
- Defaults: E2EE opt-in.
- Plugins: Discouraged due to fragmentation.
Citations
- Sharon: [2026-03-21 09:20:04]
- Pilkey: [2026-03-20 14:04:07]
- Rain: [2026-03-20 13:31:05]
7. Governance and Authentication
Problem/Concept
Maintaining E2EE code and integrating advanced authentication methods.
Deliberations & Considerations
- Maintenance:
- Community PRs allowed only with maintainership guarantees.
- Risk of orphaned code if maintainers leave.
- Community PRs allowed only with maintainership guarantees.
- Authentication:
- Passkeys (WebAuthn) noted for phishing resistance but insufficient alone.
- Hardware keys secure but costly/frictional.
- Passkeys (WebAuthn) noted for phishing resistance but insufficient alone.
- Governance: Formal agreements required for community contributions.
Final Conclusion
- Maintenance: PRs require maintainership commitments; Fluxer may hire maintainers.
- Authentication: Passkeys supplementary; focus on standard E2EE libraries.
Citations
- Speykious: [2026-03-20 14:10:48]
- Rain: [2026-03-20 14:13:22]
- Saphire: [2026-03-20 22:29:14]
8. Trust and Verification of E2EE Platforms
Problem/Concept
Evaluating E2EE platforms based on technical merits vs. userbase size.
Deliberations & Considerations
- Platform Comparison:
- Signal: Gold standard for open-source transparency.
- WhatsApp: Untrustworthy (closed-source, metadata leaks).
- Simplex: Technically superior but criticized for single-file uploads.
- Signal: Gold standard for open-source transparency.
- Trust Metrics: Userbase size dismissed as irrelevant; cryptographic rigor prioritized.
- Usability Tradeoffs: Simplex's single-file upload limitation identified as critical UX flaw.
Final Conclusion
- Benchmark: Signal endorsed for reliability; userbase size irrelevant to technical quality.
- Simplex: Recognized for E2EE excellence but hampered by usability constraints.
Citations
- Corn: [2026-03-27 06:49:37]
- Jameskitt616: [2026-03-28 08:52:04]
- Rain: [2026-03-29 03:50:44]
Unresolved Tensions
- Instance-Level E2EE Control: Legal compliance vs. privacy guarantees.
- Moderation Mechanisms: Message franking complexity vs. E2EE integrity.
- Device Migration: Client-side media transfer during switching.
- Ephemeral Chats: P2P feasibility vs. federation complexity.
Key Decisions Summary
| Category | Decision |
|---|---|
| E2EE Scope | Platform-wide, opt-in, message/media encryption only (metadata excluded). |
| Protocol | MLS for text; room-derived keys for media with rotation. |
| Persistence | Epoch secrets accepted over forward secrecy for history access. |
| Governance | Community PRs allowed with maintainership guarantees. |
| Federation | SSI prioritized for cross-server E2EE. |
| Trust Benchmark | Signal as gold standard; userbase size irrelevant to technical quality. |