Skip to content

Add distributed Directory Service - #417

Draft
glpatcern wants to merge 2 commits into
developfrom
feat-ddir
Draft

glpatcern wants to merge 2 commits into
developfrom
feat-ddir

Conversation

@glpatcern

Copy link
Copy Markdown
Member

This PR evolves the Directory Service and makes it distributed, with two models:

  • A "peer-announced", eventually consistent model, where nodes notify each other
  • A MLS-based model, where membership to a federation is cryptographically guaranteed

In both cases, the concept is that a human administrator decides whether an OCM Server is member of a federation.

Technically, two new notifications are now defined, OCM_SERVER_ADDED and OCM_SERVER_REMOVED, which use notification as shareType. This is a deliberate choice so that federation refers both to a group of users spanning multiple servers - managed via MLS - and to a group of servers - managed via direct notification or via MLS.

This commit introduces two modes for a distributed directory,
one 'gossip-based' or peer-based and one MLS-based.
This change was produced with Claude and is still WIP.
@glpatcern
glpatcern marked this pull request as draft September 22, 2026 10:13

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant