Add --ssl-groups option for Post-Quantum TLS key exchange (X25519MLKEM768) #3003
Unanswered
netanmangal
asked this question in
Potential Issue
Replies: 1 comment
|
I'm happy to take up this issue and raise a PR. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
France's ANSSI will stop certifying security products without post-quantum cryptography starting in 2027. The US White House issued Executive Order 14409 mandating PQC for all federal systems - key establishment by 2030 and digital signatures by 2031, affecting every federal contractor and vendor.
Problem
Uvicorn is the default ASGI server for FastAPI (~99K stars). It handles TLS termination but provides no way to configure TLS key exchange groups. The hybrid post-quantum group
X25519MLKEM768cannot be configured through uvicorn's SSL options.Python's
ssl.SSLContext.set_ecdh_curve()cannot set PQC groups due to OpenSSL NID validation limitations.Proposal
Add
--ssl-groupsCLI option that configures TLS key exchange groups via OpenSSL'sSSL_CTX_set1_groups_list().Example:
uvicorn --ssl-groups "X25519MLKEM768:X25519:prime256v1" app:appReferences
All reactions