Edit Mozilla MLS Explainer. - #2
Open
cindylindeed wants to merge 1 commit into
Open
Conversation
cindylindeed
commented
Aug 31, 2026
| A client first creates a local MLS identity, which includes the credential and public key package used to participate in groups. The application stores or publishes this identity through its own service so other clients can add this client to a group. | ||
|
|
||
| ```js | ||
| const identity = await mls.createIdentity("alice@example"); |
Author
There was a problem hiding this comment.
Some questions:
- It's not 100% clear to me whether
createIdentity()also generates the key package. - Is
alice@examplethe credential in this case? - Are Alice's private keys generated at this step too?
cindylindeed
commented
Aug 31, 2026
| ### Exporting an application secret | ||
|
|
||
| Some applications need group-derived secret material for application-specific cryptographic operations. For example, a file sharing application might use an exported secret to encrypt a file. Bytes exported from the group are converted to a WebCrypto API AES-256-GCM key. | ||
| Some applications need group-derived secret material for cryptographic operations external to MLS. For example, a file sharing application might use an exported secret to encrypt a file. Bytes exported from the group are converted to a WebCrypto API AES-256-GCM key. |
Author
There was a problem hiding this comment.
Is it conventional to hard-code the key type instead of using a more generic container?
cindylindeed
commented
Aug 31, 2026
| ### Preparing a client | ||
|
|
||
| A client first creates a local MLS identity, which includes the credential and key package needed to participate in groups. The application can then store or publish this identity through its own service so that another client can add this client to a group. | ||
| A client first creates a local MLS identity, which includes the credential and public key package used to participate in groups. The application stores or publishes this identity through its own service so other clients can add this client to a group. |
Author
There was a problem hiding this comment.
Any plans to bake in key rotation from the get-go? 😁
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Reviewed as requested by @Frosne.