Skip to content

merge origin/main into hpqmls branch - #1991

Merged
kkohbrok merged 120 commits into
openmls:konrad/hpqmls_dep_branchfrom
boxdot:konrad/hpqmls_dep_branch
Apr 9, 2026
Merged

kkohbrok merged 120 commits into
openmls:konrad/hpqmls_dep_branchfrom
boxdot:konrad/hpqmls_dep_branch

Conversation

@boxdot

@boxdot boxdot commented Apr 9, 2026

Copy link
Copy Markdown
Contributor

Merge origin/main into the branch

raphaelrobert and others added 30 commits September 25, 2025 14:05
* prepare v0.7.1 release

* Improve changelogs

* Use -rc. instead of -pre.

---------

Co-authored-by: Konrad Kohbrok <[email protected]>
* readd api

A simple re-add API that allows removing and adding the same members.
This may help with recovering from bad group states.

* address PR feedback

* readd fixes

* clippy

* clippy tests

* rename to swap_members

* Apply suggestions from code review

Co-authored-by: raphaelrobert <[email protected]>

* fmt

---------

Co-authored-by: Jan Winkelmann (keks) <[email protected]>
Co-authored-by: Jan Winkelmann <[email protected]>
Co-authored-by: raphaelrobert <[email protected]>
…s#1831)

* test adding an ApplicationIdExtension to the leaf node extensions

* check leaf node extensions with `is_valid_in_leaf_node()`

* improve comments

* update doc comment

* update comment

* validate extensions on `LeafNodeParametersBuilder`

* validate leaf node extension types

* update test

* add tests

* move validation logic to method

* add note to `LeafNode::validate_locally()` about extension type validation

* improve comment

* remove unneeded flag

* improve comment

* improve comment

* fix link

* add validation check references and update comment

* update note about extension type validation

* improve comment
* update test names

* add references to validation checks
Fixes parts of openmls#1122.

- Only reinit and branch resumption PSKs in Welcomes
- Only one reinit or branch resumption PSK in Welcomes
- Check PSK nonce length in Welcomes
…rovider dependencies (openmls#1876)

* in `extensions-draft-08` feature, selectively enable optional dependency features
* add `extensions-draft-08` feature to libcrux crypto provider
Updates the requirements on [criterion](https://github.com/bheisler/criterion.rs) to permit the latest version.
- [Changelog](https://github.com/bheisler/criterion.rs/blob/master/CHANGELOG.md)
- [Commits](bheisler/criterion.rs@0.5.0...0.7.0)

---
updated-dependencies:
- dependency-name: criterion
  dependency-version: 0.7.0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
…on-tw-0.7

chore(deps): update criterion requirement from ^0.5 to ^0.7
…0.26

chore(deps): update rstest requirement from 0.24 to 0.26
…y-0.9

chore(deps): update refinery requirement from 0.8 to 0.9
…plify `openmls` crate feature build combinations (openmls#1894)

* group all developer options in `cargo hack` command

* test `extensions-draft-08` feature in workspace
keks and others added 24 commits February 2, 2026 17:21
…it (openmls#1936)

* Allow accessing info about next epoch from StagedCommit

* add tests

* fix clippy

* fmt

* add better error handling
* update libcrux and hpke-rs depdencenies
* drop unused wasm ci job
* expose TreeSync for MlsGroup and PublicGroup

* expose TreeSync struct

* add missing import

* clippy

* add integration test

* publish ParentNodeIndex::32 and add check to test

* expose API to get blank nodes and a test that accesses it

* expose ParentNodeIndex
…penmls#1973)

## Summary

Replaces `private: Vec<u8>` with `private: SecretVLBytes` in `SignatureKeyPair`, ensuring Ed25519/P-256 private key bytes are automatically zeroed when the struct is dropped.

This follows the same pattern established in openmls#1369 for `HpkePrivateKey` and `ExporterSecret`.

## Changes

- `basic_credential/src/lib.rs`: `private` field type changed from `Vec<u8>` to `SecretVLBytes`
- Construction sites updated to use `From<&[u8]>` / `From<Vec<u8>>` conversions
- `private()` test-utils accessor updated to use `as_slice()`
- No API changes — `from_raw()` still accepts `Vec<u8>` (converted internally)

## Testing

- `cargo check -p openmls -p openmls_basic_credential -p openmls_rust_crypto --features test-utils` — clean
- `cargo test -p openmls --lib --features test-utils` — 1732 passed, 0 failed

Closes openmls#1969
* add new APIs

* improve documentation

* Minor refactor and add optional `max_past_epochs` to new APIs

Includes a small refactor of how the `MessageSecrets` struct is stored
alongside its timestamp.

* add new tests and update existing tests

* improve documentation

* update documentation

* update tests to ensure start time is always before epoch timestamps

* make timestamp optional

* implement compatible deserialization and add tests

* use policies for past epoch deletion

* documentation

* alias for previous name of storage field

* add test data

* remove unused API and make timestamp optional

* reorganize tests

* ensure compatible deserialization of policy

* fix documentation

* fix argument

* use correct argument name

* wip

* simplify past epoch secret deletion APIs

* add book page and update book text

* add book code anchors and reorganize test

* simplify past epoch deletion policy enum

* update all new APIs to take policy as argument

* update documentation

* update tests and documentation

* more info on the epoch secret deletion APIs and policy

* remove duplicate markdown file

* clean up tests and documentation

* documentation

* update docs and add documentation TODOs

* formatting

* reorganize tests

* clear the past secrets if no time filter provided

* clean up tests and documentation

* clean up comments/TODOs

* configure test methods for `test` only

* simplify `cfg`

* use past epoch deletion policy in group builder in `MlsGroup::reboot()`

* fix lints

* use RustCrypto provider in storage compat test

* disable sqlite storage test for wasm32

* fix typo

Co-authored-by: Franziskus Kiefer <[email protected]>

* remove out of date docs

* add note about deprecation

* update docs

Co-authored-by: Franziskus Kiefer <[email protected]>

* move `max_past_epochs` logic to `if` clause

* delete past epoch secrets from storage

* handle a mixture of `Some` and `None` timestamps and add initial tests

* check persistence of deletion in tests

* check loaded group

* add API to group for setting policy, and add test

* documentation updates

* add doc comments

* load testing SQL statements from file at runtime

* more documentation of `PastEpochDeletionPolicy`

* address doc TODOs

* cleaner retrieval of matching index

* API for deleting all past secrets without timestamps

* add comment

* remove TODO

* more documentation

* rename method to resize store

* set and persist the join config

* add API to get a group's past epoch deletion policy

* update tests to ensure policy is updated

* update phrasing

* update changelog

* add test for policy persistence on group

---------

Co-authored-by: Franziskus Kiefer <[email protected]>
According to [draft-ietf-mls-extensions-09], section 4.6, key packages
can contain an application data dictionary extension.

Also fix missing error handling in `apply_app_data_update_proposals`.
@boxdot
boxdot requested a review from a team as a code owner April 9, 2026 14:19
@boxdot boxdot changed the title merge origin/main merge origin/main into hpqmls branch Apr 9, 2026
@kkohbrok
kkohbrok merged commit 72a86be into openmls:konrad/hpqmls_dep_branch Apr 9, 2026
43 of 83 checks passed
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.