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 — Update getSigAlgs to handle algorithms without combined NID by eager-signal · Pull Request #1019 · netty/netty-tcnative

Conversation

@eager-signal

@eager-signal eager-signal commented Oct 1, 2026 •
edited
Loading

Uh oh!

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

Copy link
Copy Markdown
Contributor

Motivation:

Some algorithms, such as Ed25519, have no combined signature and hash NID, causing them to be returned as NID_undef, and thus unusable to callers.

Modifications:

Fall back to psign if psignhash is undefined

Result:

Code point TLS name Before After
0x0807 ed25519 undefined ED25519
0x0808 ed448 undefined ED448
0x0804 rsa_pss_rsae_sha256 undefined rsassaPss
0x0805 rsa_pss_rsae_sha384 undefined rsassaPss
0x0806 rsa_pss_rsae_sha512 undefined rsassaPss
0x0809 rsa_pss_pss_sha256 undefined rsassaPss
0x080a rsa_pss_pss_sha384 undefined rsassaPss
0x080b rsa_pss_pss_sha512 undefined rsassaPss
0x0302 dsa_sha224 undefined dsaEncryption
0x0502 dsa_sha384 undefined dsaEncryption
0x0602 dsa_sha512 undefined dsaEncryption

Sorry, something went wrong.

Uh oh!

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

All reactions
@eager-signal eager-signal mentioned this pull request Oct 1, 2026
Handle ed25519 and ed448 names in SignatureAlgorithmConverter netty/netty#17689
Merged
@eager-signal

eager-signal commented Oct 1, 2026

Copy link
Copy Markdown
Contributor Author

I‘m not sure if the duplicated/indistinguishable rsassaPss and dsaEncryption are acceptable.

All reactions

Sorry, something went wrong.

Uh oh!

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

@normanmaurer normanmaurer added this to the 2.0.85.Final milestone Oct 1, 2026
@normanmaurer
normanmaurer requested a review from chrisvest October 1, 2026 15:20
@normanmaurer

normanmaurer commented Oct 1, 2026

Copy link
Copy Markdown
Member

@davidben WDYT ?

All reactions

Sorry, something went wrong.

Uh oh!

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

@eager-signal
Update getSigAlgs to handle algorithms without combined NID
071bc6e
Motivation:

Some algorithms, such as Ed25519, have no combined signature and hash NID, causing them
to be returned as NID_undef, and thus unusable to callers.

Modifications:

Fall back to `psign` if `psignhash` is undefined

Result:

| Code point | TLS name              | Before      | After           |
|------------|-----------------------|-------------|-----------------|
| `0x0807`   | `ed25519`             | `undefined` | `ED25519`       |
| `0x0808`   | `ed448`               | `undefined` | `ED448`         |
| `0x0804`   | `rsa_pss_rsae_sha256` | `undefined` | `rsassaPss`     |
| `0x0805`   | `rsa_pss_rsae_sha384` | `undefined` | `rsassaPss`     |
| `0x0806`   | `rsa_pss_rsae_sha512` | `undefined` | `rsassaPss`     |
| `0x0809`   | `rsa_pss_pss_sha256`  | `undefined` | `rsassaPss`     |
| `0x080a`   | `rsa_pss_pss_sha384`  | `undefined` | `rsassaPss`     |
| `0x080b`   | `rsa_pss_pss_sha512`  | `undefined` | `rsassaPss`     |
| `0x0302`   | `dsa_sha224`          | `undefined` | `dsaEncryption` |
| `0x0502`   | `dsa_sha384`          | `undefined` | `dsaEncryption` |
| `0x0602`   | `dsa_sha512`          | `undefined` | `dsaEncryption` |
@eager-signal
eager-signal force-pushed the sigalgs-ed25519 branch from 78a626c to 071bc6e Compare October 1, 2026 15:30
@eager-signal

eager-signal commented Oct 1, 2026

Copy link
Copy Markdown
Contributor Author

I‘m not sure if the duplicated/indistinguishable rsassaPss and dsaEncryption are acceptable.

To clarify; upstream, they would be a no-op, because SignatureAlgorithmConverter still wouldn’t parse them, but they might affect other library users.

All reactions

Sorry, something went wrong.

Uh oh!

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

@eager-signal eager-signal mentioned this pull request Oct 5, 2026
Choose server key types from client's signature algorithms for TLS 1.3 netty/netty#17764
Merged
chrisvest
chrisvest approved these changes Oct 23, 2026
View reviewed changes
@chrisvest

chrisvest commented Oct 23, 2026

Copy link
Copy Markdown
Member

I think this looks good. I don't there's any harm in getting the correct names for these algorithms.

All reactions

Sorry, something went wrong.

Uh oh!

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

@normanmaurer
normanmaurer merged commit 7698de8 into netty:main Oct 23, 2026
17 checks passed

Uh oh!

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

@eager-signal
eager-signal deleted the sigalgs-ed25519 branch October 23, 2026 13:19
@normanmaurer normanmaurer mentioned this pull request Oct 30, 2026
jni util 0.0.12 #1039
Closed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@chrisvest chrisvest chrisvest approved these changes

Uh oh!

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

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

2.0.85.Final

Development

Successfully merging this pull request may close these issues.

Uh oh!

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

3 participants

@eager-signal @normanmaurer @chrisvest
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.