Skip to content

feat: new app data update processing for PublicGroups - #2098

Merged
kkohbrok merged 12 commits into
mainfrom
konrad/public_group_app_data_update_processing
Jul 8, 2026
Merged

kkohbrok merged 12 commits into
mainfrom
konrad/public_group_app_data_update_processing

Conversation

@kkohbrok

@kkohbrok kkohbrok commented Jul 7, 2026 •

Copy link
Copy Markdown
Member

Based on #2092. Adds the same pattern of AppDataUpdate processing for PublicGroups.

@github-actions github-actions Bot added the size/l label Jul 7, 2026
@kkohbrok
kkohbrok marked this pull request as ready for review July 7, 2026 16:20
@kkohbrok
kkohbrok requested a review from a team as a code owner July 7, 2026 16:20

@raphaelrobert raphaelrobert 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.

This makes sense and looks good. It's probably best to wait to merge this once the review of #2092 is complete.

kkohbrok and others added 6 commits July 8, 2026 06:16
Commits covering AppDataUpdate proposals are now staged via
stage_app_data_commit, which returns a bare StagedCommit. Callers that
derive secrets from the new epoch before merging (e.g. the APQ PSK fed
from the PQ group's commit into the T group's key schedule) previously
went through ProcessedMessage::safe_export_secret, which is unreachable
for unresolved app data commits.
Stages an UnresolvedAppDataCommit and returns the same ProcessedMessage
with regular StagedCommitMessage content, preserving the envelope
(sender, credential, authenticated data, Safe AAD state). This lets
callers keep a single ProcessedMessage-based code path for commits with
and without AppDataUpdate proposals, and keeps post-staging APIs like
ProcessedMessage::safe_export_secret usable for such commits.
@github-actions github-actions Bot added size/xl and removed size/l labels Jul 8, 2026
Base automatically changed from raphael/better-appdata-processing to main July 8, 2026 14:54
@raphaelrobert raphaelrobert changed the title new app data update processing for PublicGroups feat: new app data update processing for PublicGroups Jul 8, 2026
kkohbrok added 2 commits July 8, 2026 16:39
…pp_data_update_processing

# Conflicts:
#	CHANGELOG.md
#	openmls-wasm/Cargo.toml
#	openmls/src/framing/validation.rs
#	openmls/src/group/mls_group/processing.rs
#	openmls/src/group/public_group/process.rs
#	openmls/tests/app_data_update.rs
#	openmls_rust_crypto/Cargo.toml
@kkohbrok
kkohbrok enabled auto-merge (squash) July 8, 2026 16:52
@kkohbrok
kkohbrok merged commit 09e9277 into main Jul 8, 2026
41 checks passed
@kkohbrok
kkohbrok deleted the konrad/public_group_app_data_update_processing branch July 8, 2026 16:54
dukeh3 pushed a commit to DarkWebDivingClub/openmls that referenced this pull request Jul 18, 2026
Based on openmls#2092. Adds the same pattern of AppDataUpdate processing for PublicGroups.
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.

2 participants