Skip to content

feat: update PQ ciphersuites (draft v5) - #2118

Merged
boxdot merged 5 commits into
openmls:mainfrom
boxdot:dima/supported-air-pq-ciphersuite
Jul 16, 2026
Merged

boxdot merged 5 commits into
openmls:mainfrom
boxdot:dima/supported-air-pq-ciphersuite

Conversation

@boxdot

@boxdot boxdot commented Jul 15, 2026 •

Copy link
Copy Markdown
Contributor

The PQ ciphersuites draft added more ciphersuites. It also now supports the previously custom Air ciphersuite.

Add AIR PQ ciphersuite to the list of supported ciphersuites.
@boxdot
boxdot requested a review from a team as a code owner July 15, 2026 11:56
@boxdot boxdot changed the title feat: early detection of ciphersuite support (AIR pq ciphersuite) feat: early detection of ciphersuite support (Air PQ ciphersuite) Jul 15, 2026
@boxdot boxdot changed the title feat: early detection of ciphersuite support (Air PQ ciphersuite) feat: update PQ ciphersuites Jul 15, 2026
@boxdot boxdot changed the title feat: update PQ ciphersuites feat: update PQ ciphersuites (draft v5) Jul 15, 2026

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

I think this looks good (modulo the changes we need to make for #2104 later)

@boxdot
boxdot enabled auto-merge (squash) July 16, 2026 12:47
@boxdot
boxdot merged commit 9c76593 into openmls:main Jul 16, 2026
40 of 41 checks passed
kkohbrok added a commit that referenced this pull request Aug 4, 2026
PR #2118 added MLS_128_MLKEM768X25519_CHACHA20POLY1305_SHA384_MLDSA44
and MLS_128_MLKEM768_AES256GCM_SHA384_Ed25519 to the RustCrypto
provider without regenerating the storage stability test vectors, so
the nightly full-matrix run failed on the unwrap of the missing
entries. Add the two generated entries and keep the existing ones
unchanged, since the test exists to prove that storage written by
older code still loads.
kkohbrok added a commit that referenced this pull request Aug 5, 2026
* fix: reject ciphersuites with unsupported KEMs in libcrux provider

The libcrux crypto provider's supports() method checked the AEAD,
signature, hash, and HPKE AEAD algorithms but not the KEM. It returned
Ok for MLS_128_MLKEM768_AES256GCM_SHA384_Ed25519 even though the
hpke-rs libcrux backend cannot derive ML-KEM key pairs, so HPKE key
generation failed at runtime with CryptoLibraryError. Check the KEM
against the algorithms the backend implements.

* test: add storage stability KATs for new PQ ciphersuites

PR #2118 added MLS_128_MLKEM768X25519_CHACHA20POLY1305_SHA384_MLDSA44
and MLS_128_MLKEM768_AES256GCM_SHA384_Ed25519 to the RustCrypto
provider without regenerating the storage stability test vectors, so
the nightly full-matrix run failed on the unwrap of the missing
entries. Add the two generated entries and keep the existing ones
unchanged, since the test exists to prove that storage written by
older code still loads.
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.

2 participants