Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@rsith71
Copy link

@rsith71 rsith71 commented Jul 17, 2025

Updating H2O to use the new ML_KEM algorithms provided by PicoTLS.

I wrote up a automation test. Though I could not get it to run on the Docker CI container since it did not have OpenSSL 3.5+. Therefore I ran the tests on my development machine.

@rsith71
Copy link
Author

rsith71 commented Jul 17, 2025

@[email protected] -- Vinny here is the change for H2O to use ML-KEM algorithms.

@vparla
Copy link

vparla commented Jul 17, 2025

@kazuho - Let us know if you need anything modified here. Also, is there a way in h2o configuration to select what algorithm to use as the preferred algorithm on the Server? E.g. if I want ML-KEM 1024 to be the preferred algo in a set of capabilities.

@rsith71
Copy link
Author

rsith71 commented Jul 18, 2025

@kazuho @vparla

Question: If you want to configure an H2O server to only allow a specific Group/KEM or a list of Group/KEMs it is configured via the config file's SSL section under the parameter: key-exchange-tls1.3
and the values should be from here: https://www.iana.org/assignments/tls-parameters/tls-parameters.xhtml#tls-parameters-8

Is that correct?

@kazuho
Copy link
Member

kazuho commented Aug 22, 2025

Thank you for the pull request.

@rsith71 That is correct.

By using the key-exchange-tls1.3 attribute, it is possible to select any KEM available in ptls_openssl_key_exchanges_all. The names used for specifying the KEMs can be found in picotls.h, I believe they are consistent with the names defined in the IANA registry.

Regarding this pull request, my understanding is that it enables the use of hybrid KEM by default, but I'm not sure if we are already at the moment to do so. To paraphrase, I'm leaning towards keeping this pull request as parked, until it support for hybrid by default becomes necessary.

WDYT?

@rsith71
Copy link
Author

rsith71 commented Aug 22, 2025

I can see this waiting. It just means that it is a configuration change in your H2O.conf file right now.

By the way I was doing some testing and saw this issue. #3505

I just created it and didn't have time to look into it. Let me know if you have seen this before or need more information.

Thank you.

@kazuho kazuho added the parked label Aug 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants