Skip to content

feat: add application PSK type - #2043

Merged
boxdot merged 16 commits into
openmls:mainfrom
boxdot:dima/application-psk-type
Jun 17, 2026
Merged

boxdot merged 16 commits into
openmls:mainfrom
boxdot:dima/application-psk-type

Conversation

@boxdot

@boxdot boxdot commented Jun 2, 2026

Copy link
Copy Markdown
Contributor

Add a new application PSK type and the corresponding proposal/staged
commit handling, allowing applications to inject their own pre-shared
keys into the key schedule.

See https://datatracker.ietf.org/doc/html/draft-ietf-mls-extensions-09#name-pre-shared-keys-psks.

Add a new application PSK type and the corresponding proposal/staged
commit handling, allowing applications to inject their own pre-shared
keys into the key schedule.

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

Can you add some tests for this?

@boxdot
boxdot requested a review from franziskuskiefer June 10, 2026 08:29

@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 looks good in general, just a few nits

Comment thread openmls/src/schedule/psk.rs Resolved
Comment thread openmls/src/schedule/psk.rs Resolved
Comment thread openmls/src/group/mls_group/proposal.rs Resolved

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

Since there are API changes, could you also make an entry in CHANGELOG.md?

@boxdot

boxdot commented Jun 15, 2026

Copy link
Copy Markdown
Contributor Author

Since there are API changes, could you also make an entry in CHANGELOG.md?

API changes are now in the changelog.

@boxdot
boxdot requested a review from raphaelrobert June 15, 2026 19:29
raphaelrobert
raphaelrobert previously approved these changes Jun 15, 2026
@raphaelrobert
raphaelrobert enabled auto-merge (squash) June 15, 2026 19:31

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

Thanks, lgtm. Just a nit on a comment and thoughts on the feature flag.

Comment thread openmls/src/schedule/psk.rs Resolved
Comment thread openmls/src/schedule/psk.rs Resolved
auto-merge was automatically disabled June 16, 2026 10:10

Head branch was pushed to by a user without write access

@boxdot
boxdot dismissed stale reviews from franziskuskiefer and raphaelrobert via 065ce3d June 16, 2026 10:10

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

:shipit:

@boxdot
boxdot merged commit f795cc6 into openmls:main Jun 17, 2026
39 of 40 checks passed
@boxdot
boxdot deleted the dima/application-psk-type branch June 17, 2026 06:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants