Skip to content

Enable post-quantum crypto key exchange mainly in Apache#559

Merged
jonasbardino merged 3 commits into
nextfrom
add/httpd-post-quantum-crypto-key-exchange
May 26, 2026
Merged

Enable post-quantum crypto key exchange mainly in Apache#559
jonasbardino merged 3 commits into
nextfrom
add/httpd-post-quantum-crypto-key-exchange

Conversation

@jonasbardino
Copy link
Copy Markdown
Contributor

@jonasbardino jonasbardino commented May 21, 2026

Enable post-quantum crypto key exchange in Apache and prepare for the same in TLS network services once supported.

Based on Mozilla recommendations for Rocky 9 software stack as in
https://ssl-config.mozilla.org/#server=apache&version=2.4.62&config=modern&openssl=3.5.1&hsts&guideline=6.0

Can be tested e.g. with testssl.sh or Qualys SSL Labs which confirm it to work on Rocky 9 Apache.

Python support for selecting PQC curves / KEMs is not in yet so our other TLS-based network services will have to wait until Python 3.15+. Preliminary work on that started in the adjust/grid-x-post-quantum-crypto-key-exchange branch but it won't be ready for production deployments anytime soon.

…ported.

Can be tested e.g. with Qualys SSL Labs.
@jonasbardino jonasbardino self-assigned this May 21, 2026
@jonasbardino jonasbardino added the enhancement New feature or request label May 21, 2026
@jonasbardino
Copy link
Copy Markdown
Contributor Author

Example results where enabled:
Screenshot_2026-05-22_00-49-27

@jonasbardino jonasbardino added the WiP Work-in-Progress: any review requests do NOT mean it's ready for merge. label May 22, 2026
…to make

sure it is possible.
Rework cipher and curve selection in tlsserver module to use AUTO keyword by
default with automatic selection of strongest supported values.
Acknowledge that Python is not there yet regarding PQC support in the native
ssl module or pyopenssl. In effect limit PQC to Apache and only include TODOs
about extending support to Python later (3.15+).
Minor polish to clarify and sync structure between ssl and pyopenssl hardened
context helpers.
@jonasbardino jonasbardino force-pushed the add/httpd-post-quantum-crypto-key-exchange branch from 586c8dd to cf6b875 Compare May 22, 2026 14:16
@jonasbardino jonasbardino marked this pull request as ready for review May 22, 2026 14:24
@jonasbardino jonasbardino removed the WiP Work-in-Progress: any review requests do NOT mean it's ready for merge. label May 22, 2026
@jonasbardino jonasbardino changed the title Enable post-quantum crypto key exchange in Apache and services Enable post-quantum crypto key exchange mainly in Apache May 22, 2026
@jonasbardino jonasbardino added the battle-tested Code was tested to be fully functional in line with project code guidelines. label May 22, 2026
@jonasbardino jonasbardino requested a review from a team May 22, 2026 14:39
Comment thread mig/shared/tlsserver.py Outdated
Comment thread mig/shared/tlsserver.py Outdated
Copy link
Copy Markdown
Contributor

@Martin-Rehr Martin-Rehr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved

@jonasbardino jonasbardino added the follow-up pending Pending tasks to follow-up on after close label May 26, 2026
@jonasbardino
Copy link
Copy Markdown
Contributor Author

Added the follow-up tag for the python TLS service work and proceeding with the merge to get Apache support in.

@jonasbardino jonasbardino merged commit a9850a1 into next May 26, 2026
14 checks passed
@jonasbardino jonasbardino deleted the add/httpd-post-quantum-crypto-key-exchange branch May 26, 2026 09:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

battle-tested Code was tested to be fully functional in line with project code guidelines. enhancement New feature or request follow-up pending Pending tasks to follow-up on after close

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants