Skip to content

KeyPackage Unification#147

Merged
jazzz merged 1 commit into
mainfrom
jazzz/keypkg_unification
Jun 24, 2026
Merged

KeyPackage Unification#147
jazzz merged 1 commit into
mainfrom
jazzz/keypkg_unification

Conversation

@jazzz

@jazzz jazzz commented Jun 23, 2026

Copy link
Copy Markdown
Collaborator

Problem

De-MLS used to own KeyPackage generation for its own Conversations. This was because the MLS parameters were defined within the library and it needed to be sure that the configuration matched its needs.

With MlsProvider being passed in externally, creating KeyPackages unique to this conversation type creates friction, and duplication which makes debugging more difficult.

Solution

Complete remove the local Keypackage generation and rely on InboxV2 to create and register the required KeyPacakges.

  • Remove Registration
  • Combine GroupV2Convo::new_pending and GroupV2Convo::accept_welcome into a single constructor GroupV2Convo::new_from_welcome
  • Remove infra required to support pending conversations

@jazzz jazzz requested review from a team and seemenkina June 23, 2026 21:13
Remove GroupV2Convo::new_pending

Flatten types
@jazzz jazzz force-pushed the jazzz/keypkg_unification branch from 0f9604e to 2b8c231 Compare June 24, 2026 13:52
@jazzz jazzz merged commit 7f3da12 into main Jun 24, 2026
5 checks passed
@jazzz jazzz deleted the jazzz/keypkg_unification branch June 24, 2026 14:34
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.

3 participants