Skip to content

feat: targeted messages - #2028

Merged
raphaelrobert merged 12 commits into
mainfrom
raphael/targeted-messages
Jul 7, 2026
Merged

raphaelrobert merged 12 commits into
mainfrom
raphael/targeted-messages

Conversation

@raphaelrobert

Copy link
Copy Markdown
Member

A first implementation of the targeted messages draft.

The implementation is gated with a feature flag for now (the draft is still evolving), but the overlap with RFC9420 in the code is almost non-existent. It comes with tests and KAT vectors.

@kkohbrok kkohbrok left a comment •

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Generally looks good, but I'm a bit wary of just throwing away underlying errors using map(|_| ...). Could you log an error in those places? That would make debugging easier.

EDIT: Another thing: Should groups allow decryption of targeted messages from past epochs within the configured window? Maybe for a follow-up.

Comment thread openmls/src/framing/message_in.rs Resolved
@raphaelrobert
raphaelrobert requested a review from a team as a code owner July 2, 2026 14:46
Comment thread openmls/src/ciphersuite/hpke.rs Resolved
Comment thread openmls/src/targeted_messages/mod.rs Resolved

@kkohbrok kkohbrok left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Looks good! Just a few suggestions.

Comment thread traits/src/crypto.rs Resolved
Comment thread openmls/src/ciphersuite/hpke.rs Resolved

@kkohbrok kkohbrok left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Sorry, that should have been a ✅ .

@raphaelrobert
raphaelrobert merged commit f3040aa into main Jul 7, 2026
41 checks passed
@raphaelrobert
raphaelrobert deleted the raphael/targeted-messages branch July 7, 2026 15:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants