Skip to content

ssl: Support ECDHE-PSK Chacha20-Poly1305#11345

Open
hjianbo wants to merge 1 commit into
erlang:maintfrom
hjianbo:ssl/ecdhe-psk-chacha20-poly1305
Open

ssl: Support ECDHE-PSK Chacha20-Poly1305#11345
hjianbo wants to merge 1 commit into
erlang:maintfrom
hjianbo:ssl/ecdhe-psk-chacha20-poly1305

Conversation

@hjianbo

@hjianbo hjianbo commented Jul 8, 2026

Copy link
Copy Markdown

Support for TLS_ECDHE_PSK_WITH_CHACHA20_POLY1305_SHA256.

The codepoint already exists, and OTP already supports the required ecdhe_psk key exchange and chacha20_poly1305 AEAD cipher. The suite was only missing from the cipher suite map conversions and the TLS 1.2 anonymous PSK suite list.

This came up from DTLS users whose devices commonly use this PSK cipher suite with forward secrecy.

This PR adds the missing entries and a focused DTLS 1.2 PSK handshake regression test.

The issue also affects OTP 28, so please consider backporting it to maint-28.

The TLS_ECDHE_PSK_WITH_CHACHA20_POLY1305_SHA256 codepoint already exists and ssl already supports the required ecdhe_psk key exchange and chacha20_poly1305 AEAD cipher.

Add the missing binary/map conversions and include the suite in the TLS 1.2 anonymous PSK list so it can be selected explicitly. Add a DTLS 1.2 PSK handshake regression test.
@CLAassistant

Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

@github-actions

github-actions Bot commented Jul 8, 2026

Copy link
Copy Markdown
Contributor

CT Test Results

Tests are running... https://github.com/erlang/otp/actions/runs/28912401559

Results for commit f626b30

To speed up review, make sure that you have read Contributing to Erlang/OTP and that all checks pass.

See the TESTING and DEVELOPMENT HowTo guides for details about how to run test locally.

Artifacts

  • No CT logs found
  • No HTML docs found
  • No Windows Installer found

// Erlang/OTP Github Action Bot

@IngelaAndin IngelaAndin added the team:PS Assigned to OTP team PS label Jul 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

team:PS Assigned to OTP team PS

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants