GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Choose server key types from client's signature algorithms for TLS 1.3 by eager-signal · Pull Request #17764 · netty/netty

Conversation

@eager-signal

@eager-signal eager-signal commented Oct 5, 2026

Copy link
Copy Markdown
Contributor

Motivation:

With the OpenSSL provider, servers only chose the key type from cipher suite "auth methods". Auth methods don't apply in TLS 1.3, causing EdDSA keys to never be used, even when available.

Modifications:

For TLS 1.3, follow the JDK provider's model to select keys from the client's signature algorithms, in its preferred order, before falling back to cipher suite auth methods.

Result:

TLS 1.3 connections can use EdDSA (e.g. Ed25519) keys.

Fixes #17690, improves #10916

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@eager-signal

eager-signal commented Oct 5, 2026

Copy link
Copy Markdown
Contributor Author

Hmm, taking a look at these failures

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@eager-signal

eager-signal commented Oct 5, 2026

Copy link
Copy Markdown
Contributor Author

Hmm, taking a look at these failures

Ah, right. OpenSSL (vs BoringSSL) would need netty/netty-tcnative#1019

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@eager-signal
eager-signal force-pushed the tls13-key-manager branch from d4c6476 to 05e1845 Compare October 5, 2026 16:06
@eager-signal
Choose server key types from client's signature algorithms for TLS 1.3
b3081ab
Motivation:

With the OpenSSL provider, servers only chose the key type from cipher
suite "auth methods". Auth methods don't apply in TLS 1.3, causing EdDSA
keys to never be used, even when available.

Modifications:

For TLS 1.3, follow the JDK provider's model to select keys from the
client's signature algorithms, in its preferred order, before falling
back to cipher suite auth methods.

Result:

TLS 1.3 connections can use EdDSA (e.g. Ed25519) keys with BoringSSL.

Fixes netty#17690
@eager-signal
eager-signal force-pushed the tls13-key-manager branch from 05e1845 to b3081ab Compare October 5, 2026 16:22
normanmaurer
normanmaurer requested changes Oct 14, 2026
View reviewed changes
Comment thread handler/src/main/java/io/netty/handler/ssl/OpenSslKeyMaterialManager.java Resolved

Uh oh!

There was an error while loading. Please reload this page.

@normanmaurer normanmaurer added this to the 4.2.20.Final milestone Oct 14, 2026
@normanmaurer normanmaurer added needs-cherry-pick-4.1 This PR should be cherry-picked to 4.1 once merged. needs-cherry-pick-5.0 This PR should be cherry-picked to 5.0 once merged. labels Oct 14, 2026
@normanmaurer
Update handler/src/main/java/io/netty/handler/ssl/OpenSslKeyMaterialM…
8a4dd8d
…anager.java
normanmaurer
normanmaurer reviewed Oct 14, 2026
View reviewed changes
Comment thread handler/src/main/java/io/netty/handler/ssl/OpenSslKeyMaterialManager.java Resolved

Uh oh!

There was an error while loading. Please reload this page.

@normanmaurer
Apply suggestion from @normanmaurer
79fdbdb
@testlens-app

testlens-app Bot commented Oct 14, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown

🚨 All tests passed but jobs failed 🚨

Failed Jobs without Test Failures

❌ Verify native library loading on musl / musl-verify-alpine-aarch64-gcompat
❌ Verify native library loading on musl / musl-verify-alpine-aarch64
❌ Verify native library loading on musl / musl-verify-alpine-x86_64-gcompat
❌ Verify native library loading on musl / musl-verify-alpine-x86_64
❌ Verify native library loading on musl / musl-verify-glibc-control-x86_64

🏷️ Commit: 79fdbdb
▶️ Tests: 137328 executed
🟡 Checks: 25/26 completed

Rerun Controls

Click the checkbox to trigger a rerun:

🔲 Rerun jobs


Learn more about TestLens at testlens.app/docs.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@normanmaurer
normanmaurer merged commit 84c167e into netty:4.2 Oct 14, 2026
22 of 27 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@normanmaurer

normanmaurer commented Oct 14, 2026

Copy link
Copy Markdown
Member

@eager-signal thanks!

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@netty-project-bot

netty-project-bot commented Oct 14, 2026

Copy link
Copy Markdown
Contributor

Could not create auto-port PR.
Got conflicts when cherry-picking onto 5.0.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@netty-project-bot

netty-project-bot commented Oct 14, 2026

Copy link
Copy Markdown
Contributor

Could not create auto-port PR.
Got conflicts when cherry-picking onto 4.1.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@normanmaurer

normanmaurer commented Oct 14, 2026

Copy link
Copy Markdown
Member

Port for 5.0: #17808

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@normanmaurer

normanmaurer commented Oct 14, 2026

Copy link
Copy Markdown
Member

Port for 4.1: #17809

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@normanmaurer normanmaurer removed needs-cherry-pick-4.1 This PR should be cherry-picked to 4.1 once merged. needs-cherry-pick-5.0 This PR should be cherry-picked to 5.0 once merged. labels Oct 14, 2026
normanmaurer added a commit that referenced this pull request Oct 14, 2026
@eager-signal @normanmaurer
Choose server key types from client's signature algorithms for TLS 1.3 (
50ee2df
#17764)

Motivation:

With the OpenSSL provider, servers only chose the key type from cipher
suite "auth methods". Auth methods don't apply in TLS 1.3, causing EdDSA
keys to never be used, even when available.

Modifications:

For TLS 1.3, follow the JDK provider's model to select keys from the
client's signature algorithms, in its preferred order, before falling
back to cipher suite auth methods.

Result:

TLS 1.3 connections can use EdDSA (e.g. Ed25519) keys.

Fixes #17690, improves #10916

---------

Co-authored-by: Norman Maurer <[email protected]>
normanmaurer added a commit that referenced this pull request Oct 14, 2026
@normanmaurer @eager-signal
Port 5.0: Choose server key types from client's signature algorithms …
78072db
…for TLS 1.3 (#17764) (#17808)

Motivation:

With the OpenSSL provider, servers only chose the key type from cipher
suite "auth methods". Auth methods don't apply in TLS 1.3, causing EdDSA
keys to never be used, even when available.

Modifications:

For TLS 1.3, follow the JDK provider's model to select keys from the
client's signature algorithms, in its preferred order, before falling
back to cipher suite auth methods.

Result:

TLS 1.3 connections can use EdDSA (e.g. Ed25519) keys.

Fixes #17690, improves #10916

---------

Co-authored-by: Norman Maurer <[email protected]>

---------

Co-authored-by: Chris Eager <[email protected]>
normanmaurer added a commit that referenced this pull request Oct 14, 2026
@normanmaurer @eager-signal
Port 4.1: Choose server key types from client's signature algorithms …
8892fe7
…for TLS 1.3 (#17764) (#17809)

Motivation:

With the OpenSSL provider, servers only chose the key type from cipher
suite "auth methods". Auth methods don't apply in TLS 1.3, causing EdDSA
keys to never be used, even when available.

Modifications:

For TLS 1.3, follow the JDK provider's model to select keys from the
client's signature algorithms, in its preferred order, before falling
back to cipher suite auth methods.

Result:

TLS 1.3 connections can use EdDSA (e.g. Ed25519) keys.

Fixes #17690, improves #10916

---------

Co-authored-by: Norman Maurer <[email protected]>

---------

Co-authored-by: Chris Eager <[email protected]>
@eager-signal
eager-signal deleted the tls13-key-manager branch October 23, 2026 13:19
lltopk pushed a commit to lltopk/netty that referenced this pull request Oct 24, 2026
@normanmaurer @eager-signal @lltopk
Port 4.1: Choose server key types from client's signature algorithms …
66e13b2
…for TLS 1.3 (netty#17764) (netty#17809)

Motivation:

With the OpenSSL provider, servers only chose the key type from cipher
suite "auth methods". Auth methods don't apply in TLS 1.3, causing EdDSA
keys to never be used, even when available.

Modifications:

For TLS 1.3, follow the JDK provider's model to select keys from the
client's signature algorithms, in its preferred order, before falling
back to cipher suite auth methods.

Result:

TLS 1.3 connections can use EdDSA (e.g. Ed25519) keys.

Fixes netty#17690, improves netty#10916

---------

Co-authored-by: Norman Maurer <[email protected]>

---------

Co-authored-by: Chris Eager <[email protected]>
@lhotari lhotari mentioned this pull request Nov 2, 2026
[fix][sec] Upgrade Netty to 4.2.20 and netty-tcnative to 2.0.85 to address several CVEs and bugs apache/pulsar#27310
Merged
1 of 11 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@normanmaurer normanmaurer normanmaurer requested changes

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

4.2.20.Final

Development

Successfully merging this pull request may close these issues.

OpenSSL provider can't serve Ed25519 certificates over TLS 1.3

Uh oh!

There was an error while loading. Please reload this page.

3 participants

@eager-signal @normanmaurer @netty-project-bot
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.