Skip to content

feat: http server based key package registry#124

Open
kaichaosun wants to merge 12 commits into
mainfrom
http-key-registry
Open

feat: http server based key package registry#124
kaichaosun wants to merge 12 commits into
mainfrom
http-key-registry

Conversation

@kaichaosun
Copy link
Copy Markdown
Contributor

@kaichaosun kaichaosun commented Jun 1, 2026

Changes:

  • Adds a standalone HTTP service bin/keypackage-registry that holds MLS KeyPackages so clients can add a contact by account_id without out-of-band bundle exchange.
  • Adds a matching HttpRegistry client in extensions/components and an opt-in --registry-url flag on chat-cli. Without the flag, behavior is unchanged.
  • Throwaway by design: scheduled to be replaced by λLEZ-based discovery in v0.3.

Fix #110.

@kaichaosun kaichaosun force-pushed the http-key-registry branch 4 times, most recently from 3705d27 to 3683ba5 Compare June 1, 2026 08:42
Comment thread extensions/components/src/lib.rs Outdated
Comment thread bin/keypackage-registry/README.md Outdated
Comment thread bin/keypackage-registry/README.md Outdated
Comment thread bin/keypackage-registry/README.md Outdated
Comment thread bin/keypackage-registry/README.md Outdated
Comment thread bin/keypackage-registry/README.md Outdated
Comment thread bin/keypackage-registry/README.md Outdated
Comment thread bin/keypackage-registry/Cargo.toml
Copy link
Copy Markdown
Collaborator

@jazzz jazzz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think these are good changes.

  • Great use of the extensions to store configurable service implementations.

High Level, for future PRs we'd like to see:

  • Chat-cli become leaner and simpler.
  • Developer Choice + Sensible defaults: Its good to give developers options to configure, but we should also have a default code path, that is simple and straight forward to use.

Once AccountId has been decoupled from DeviceIdentity, I'd be happy to merge.

Comment thread bin/chat-cli/src/main.rs
Comment thread bin/chat-cli/src/main.rs
@kaichaosun kaichaosun force-pushed the http-key-registry branch from 3683ba5 to ff0e001 Compare June 3, 2026 03:36
@kaichaosun kaichaosun force-pushed the http-key-registry branch from 32c2463 to ebe0ebf Compare June 3, 2026 04:54
@kaichaosun kaichaosun force-pushed the http-key-registry branch from ebe0ebf to 3f02564 Compare June 3, 2026 05:01
@kaichaosun kaichaosun force-pushed the http-key-registry branch from f4c74e3 to 83244d8 Compare June 3, 2026 05:29
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.

Testnet KeyPackage Registry

2 participants