Skip to content

From<KeyPackage> implementation for AddProposal - #2035

Merged
wysiwys merged 2 commits into
mainfrom
wysiwys/add-proposal-from-key-package
May 21, 2026
Merged

wysiwys merged 2 commits into
mainfrom
wysiwys/add-proposal-from-key-package

Conversation

@wysiwys

@wysiwys wysiwys commented May 21, 2026 •

Copy link
Copy Markdown
Contributor

This pull request implements From<KeyPackage> for the AddProposal type, to allow initializing it directly from a KeyPackage.

The AddProposal instantiated in this way can then be provided to the CommitBuilder as part of a list of proposals of different types, as an alternative to using the CommitBuilder::propose_adds() API.

@wysiwys wysiwys self-assigned this May 21, 2026
@wysiwys
wysiwys requested a review from a team as a code owner May 21, 2026 11:21
@wysiwys
wysiwys enabled auto-merge (squash) May 21, 2026 12:25
@wysiwys
wysiwys merged commit 5dcd8cb into main May 21, 2026
37 checks passed
@wysiwys
wysiwys deleted the wysiwys/add-proposal-from-key-package branch May 21, 2026 12:43
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

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants