Replies: 1 comment 5 replies
-
Using the low-level TLS API (e.g. subclassing AbstractTlsClient) one can override getEarlyKeyShareGroups for precise control (including multiple shares of course). Using BCJSSE, there's (to my knowledge) no JSSE API that can control this selection. Apart from fiddling around with the default selection logic, we would need to add BCJSSE extensions to help here. A first (simple) option is to add a BCSSLParameters method to simply set the list of groups to send shares for. A second (more complicated) option is a session-like mechanism that tracks what group was previously negotiated for a server (and/or supported_groups sent by the server). For repeated connections/sessions on a given server this adaptive selection should mostly predict "ideally". |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Are there any plans on supporting multiple key share entries in ClientHello for TLS 1.3 as OpenSSL has implemented [1]?
We can either use all the key share entries defined in the client or use some logic to select / prioritize which key share algorithms to be sent.
[1] openssl/openssl#21633
[2] #2052
Beta Was this translation helpful? Give feedback.
All reactions