Skip to content

Allow proposing a self update that includes a new signer - #2010

Merged
kkohbrok merged 10 commits into
openmls:mainfrom
aidantwoods-1p:propose-self-update-new-signer
Apr 27, 2026
Merged

kkohbrok merged 10 commits into
openmls:mainfrom
aidantwoods-1p:propose-self-update-new-signer

Conversation

@aidantwoods-1p

Copy link
Copy Markdown
Contributor

Resolves #2008

Adds propose_self_update_with_new_signer. I opted to refactor the internals of propose_self_update to plumb in an optional new signer. The new public function and the existing propose now defer to the same internal helper (which differs only by an optional signer).

This clarifies that the role of this function is to create the proposal (not complete all duties of a self update),
… optional new signer.

Pull the latter func to non-pub as an internal helper.
…ew_signer which plumbs

the new signer through to internal functions.

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

Thanks for the PR! Just a few nits and then this is good to merge.

Comment thread openmls/src/group/mls_group/updates.rs Resolved
Comment thread openmls/src/group/mls_group/updates.rs Resolved
Comment thread openmls/src/group/mls_group/updates.rs Resolved
@aidantwoods-1p

Copy link
Copy Markdown
Contributor Author

Ready for re-review!

@aidantwoods-1p
aidantwoods-1p requested a review from kkohbrok April 24, 2026 16:41
kkohbrok
kkohbrok previously approved these changes Apr 27, 2026

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

Thanks for making those additional changes! Let's get this merged.

@kkohbrok
kkohbrok enabled auto-merge (squash) April 27, 2026 07:06
auto-merge was automatically disabled April 27, 2026 08:33

Head branch was pushed to by a user without write access

@aidantwoods-1p

Copy link
Copy Markdown
Contributor Author

Apologies, I forgot to format before the last push. Pipelines should be happy now!

@kkohbrok
kkohbrok enabled auto-merge (squash) April 27, 2026 11:33
@kkohbrok
kkohbrok merged commit 195f841 into openmls:main Apr 27, 2026
83 checks passed
lekevicius added a commit to silent-app/openmls that referenced this pull request Jun 6, 2026
* upstream/main: (23 commits)
  Also publish getters on PrivateMessageIn (openmls#2048)
  Expose public information of PrivateMessage and PublicMessage through getters (openmls#2042)
  Virtual clients: Allow processing of own commits (openmls#2017)
  feat: Implement Safe AAD capabilities from extensions doc (openmls#2037)
  Add methods to access nodes in RatchetTree and RatchetTreeIn (openmls#2036)
  allow creating an `AddProposal` from a `KeyPackage` (openmls#2035)
  feat: add virtual-clients feature flag and confirmable app messages (openmls#1963)
  make the CI leaner (openmls#2029)
  Migrate to web-time. (openmls#2016)
  chore(deps): bump the cargo-dependencies group across 1 directory with 13 updates (openmls#2014)
  chore(deps): bump codecov/codecov-action from 5 to 6 (openmls#1985)
  chore(deps): bump rustls-webpki from 0.103.12 to 0.103.13 (openmls#2011)
  Fix backward incompatible changes (openmls#1990)
  Don't explicitly include `openmls_sqlite_storage` in `extensions-draft-08` feature (openmls#2012)
  dependabot: group PRs
  feat: Allow proposing a self update that includes a new signer (openmls#2010)
  chore(deps): bump actix-http from 3.12.0 to 3.12.1 (openmls#2007)
  fix: replace `rand` with `rand_core` (openmls#2000)
  chore: remove debug asserts (openmls#2001)
  chore: fix warnings and clippy for not-enabled features (openmls#1992)
  ...

# Conflicts:
#	basic_credential/src/lib.rs
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.

[Bug] Not possible to propose self update with new signer

2 participants