Working project name, not final.

Trey Del Bonis 23c23b7ef4 test/framework: refactoring to make envs and factories more pluggable 4 hours ago
client bd714717be client, db, user: cleanup registering device, more logging 2 weeks ago
common 712dd0e3af added client and user modules, defined user RPCs, general reorganization 3 weeks ago
contrib 856f5f3682 sqldb, contrib: generate sqldb crate with `--lib` flag 2 months ago
core e25abbe823 db: added device-oriented message queue interface 2 weeks ago
db e25abbe823 db: added device-oriented message queue interface 2 weeks ago
docs 5962a6060a docs: added terms.md 2 months ago
homeserver 7ce86d9daf added improved logging and other changes around device key management 2 weeks ago
proto e25abbe823 db: added device-oriented message queue interface 2 weeks ago
rpc 11e0562cb5 added impls for user RPCs for querying devices 3 weeks ago
sqldb e8b2ae5d2b sqldb: added message queue migrations and entities 2 weeks ago
test 23c23b7ef4 test/framework: refactoring to make envs and factories more pluggable 4 hours ago
tools 5c7ba788d9 core, tools/cli: refactored datadir and cli tool to use new user-centric identity model 3 months ago
transport2 53325ff714 transport2, xport-rpc: added more logging, fixed warning when handling p2p calls 2 weeks ago
user bd714717be client, db, user: cleanup registering device, more logging 2 weeks ago
util 47251dce4d core, homeserver, proto, util: added protocol defs and server logic for user registration, added personal message signing 3 months ago
xport-rpc 7ce86d9daf added improved logging and other changes around device key management 2 weeks ago
.gitignore 8237d39ff4 test: mostly finished test harness 1 month ago
Cargo.lock 11e0562cb5 added impls for user RPCs for querying devices 3 weeks ago
Cargo.toml 712dd0e3af added client and user modules, defined user RPCs, general reorganization 3 weeks ago
README.md acd6ec6c08 meta: updated README again 2 weeks ago

README.md

aspect

A better messaging and chat protocol. Building it the right way.

rough design doc

Rough roadmap

These are handwavy milestones that I expect to change.

Phase 1

  • Prototype device identity system
  • Basic MLS group setup/teardown
  • Support adding/removing devices
  • ZMQ or AMQP channel message streams

Phase 2

  • Protocol cleanup
  • Properly authenticate user device identity graph
  • Proper device attestation for homeservers
  • Experiment with roaming identities?
  • Replace transport auth with better system
  • Homeserver push events to change group membership (use OpenMLS support for this)
  • More sophisticated message structure and local channel state
  • Prototype spaces?
  • More homeserver administrative actions

Phase 3

  • More thorough spaces impl
  • Invites
  • Persistent channel data store (for custom emotes, stickers, etc.)

Known issues

Keeping this list here so that I remember what I'm doing.

  • No transport encryption, homeserver user creds are in plaintext.
  • User authentication is shaky, should add some kind of session authentication to avoid resending creds and stuff.
  • No connection pooling or automatic reconnect to homeservers.
  • Password hashing round count is way too high for debug builds, takes 5+ seconds.
  • Lots of ORM queries have // TODOs on them because we query more columns than we need to, that could be reduced.
  • Lots of queries could be made into JOINs but I don't know how to express that to SeaORM correctly.
  • Lots of Codec serialization is "self-documenting" in the bad way (the source code is the only documentation), switch to using Stencil when it's mature enough.