Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for exporting TLS Keying Material #12479

Open
sanjerai opened this issue Nov 5, 2024 · 3 comments
Open

Add support for exporting TLS Keying Material #12479

sanjerai opened this issue Nov 5, 2024 · 3 comments

Comments

@sanjerai
Copy link

sanjerai commented Nov 5, 2024

Jetty version(s)
Jetty 11.0.20+

Enhancement Description
RFC5705 defines and RFC8446 updates keying material exporters for TLS:

Many other TLS implementations already support it:

5G mobile specs mandate the use of TLS session at app level for JWE:

We have a Spring + jetty client code base communicating over TLS1.3 and HTTP2. We have a use case to export TLS keying material or the master secret. We need this information to further derive keys for JWE tokens ciphering.

@sbordet
Copy link
Contributor

sbordet commented Nov 5, 2024

@sanjerai OpenJDK does not provide any API to access the TLS exporters, so there is nothing that Jetty can do.

You may want to open an OpenJDK issue, and I would gladly support this, since it is required also for QUIC+TLS, which is currently not possible to implement using OpenJDK APIs.

@sanjerai
Copy link
Author

sanjerai commented Nov 5, 2024

@sbordet enhancement has been raised for open jdk https://bugs.openjdk.org/browse/JDK-8341346.
Once complete we can track jetty changes with this current issue.

@sbordet
Copy link
Contributor

sbordet commented Nov 5, 2024

@sanjerai thanks for the link to the OpenJDK bug.

Just to set expectations, realize that that issue will be fixed in Java 25 or later, and it will take a while (years) before adoption widespreads, so do not hold your breath 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants