Simon/feat/decrypt targeted message - #2425
Draft
SimonThormeyer wants to merge 17 commits into
Draft
Conversation
Instead of using an enum type like openmls does, we use a struct, which implements its own instance (in the future, instances) as constants, as seen in mls-rs. This is a pattern that looks cleaner and also has a technical advantage, it uses less memory, because it doesn't need a discriminant.
We need to map it to our conversation error when signing a core crypto message payload.
When encrypting targeted messages, we're going to use it if the recipient client id isn't present in the current epoch.
We need that method to find the encryption key of a client id.
We need to be able to increment the sender nonce in the closure.
SimonThormeyer
force-pushed
the
simon/feat/decrypt-targeted-message
branch
2 times, most recently
from
August 3, 2026 14:44
b46c530 to
1fb2154
Compare
…licationMessage`
…`ApplicationMessage`
SimonThormeyer
force-pushed
the
simon/feat/decrypt-targeted-message
branch
from
August 3, 2026 15:08
1fb2154 to
3ce3db2
Compare
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.
No description provided.