GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||
GeezerVison is showing github.com — GroupsConverter: fix the x25519mlkem768 group name by normanmaurer · Pull Request #17898 · netty/netty Conversation
Member
Motivation: GroupsConverter.toOpenSsl maps the lowercase JDK-style group name to the Modification:
Result: "x25519mlkem768" is converted to "X25519MLKEM768" like the other lowercase
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactionsMotivation: GroupsConverter.toOpenSsl maps the lowercase JDK-style group name to the BoringSSL name, but the case label for X25519MLKEM768 is misspelled as "x25519mlkem786". The correctly spelled "x25519mlkem768" is therefore passed to BoringSSL as is, which rejects it as group names are case-sensitive. Configuring it via OpenSslContextOption.GROUPS fails to build the context, via SSLParameters.setNamedGroups it throws an UnsupportedOperationException, and via -Djdk.tls.namedGroups the group is silently dropped, so a post-quantum capable peer negotiates X25519 instead. Modification: - Add the "x25519mlkem768" case label. - Keep "x25519mlkem786" as an alias so configurations that copied the typo continue to work. - Add GroupsConverterTest. Result: "x25519mlkem768" is converted to "X25519MLKEM768" like the other lowercase aliases, in all three ways of configuring groups.
|
There was an error while loading. Please reload this page.
✅ All tests passed ✅🏷️ Commit: c8ba3be Learn more about TestLens at testlens.app/docs. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
Could not create auto-port PR. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Auto-port PR for 5.0: #17906 |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
…7906) Auto-port of #17898 to 5.0 Cherry-picked commit: 3009c9a --- Motivation: GroupsConverter.toOpenSsl maps the lowercase JDK-style group name to the BoringSSL name, but the case label for X25519MLKEM768 is misspelled as "x25519mlkem786". The correctly spelled "x25519mlkem768" is therefore passed to BoringSSL as is, which rejects it as group names are case-sensitive. Configuring it via OpenSslContextOption.GROUPS fails to build the context, via SSLParameters.setNamedGroups it throws an UnsupportedOperationException, and via -Djdk.tls.namedGroups the group is silently dropped, so a post-quantum capable peer negotiates X25519 instead. Modification: - Add the "x25519mlkem768" case label. - Keep "x25519mlkem786" as an alias so configurations that copied the typo continue to work. - Add GroupsConverterTest. Result: "x25519mlkem768" is converted to "X25519MLKEM768" like the other lowercase aliases, in all three ways of configuring groups. Co-authored-by: Norman Maurer <[email protected]>
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.