Skip to content

Enable and prioritize post quantum EC groups#147

Open
leo9800 wants to merge 2 commits intooracle:mainfrom
leo9800:post-quantum-ec-groups
Open

Enable and prioritize post quantum EC groups#147
leo9800 wants to merge 2 commits intooracle:mainfrom
leo9800:post-quantum-ec-groups

Conversation

@leo9800
Copy link
Copy Markdown

@leo9800 leo9800 commented May 4, 2026

this patch enables and prioritizes post-quantum elliptic curve groups. (i.e. those which suffixed with -MLKEM768 or -MLKEM1024)

"store-now-decrypt-later" attack conducted by adversaries who have access to quantum computers could be mitigated by enable quantum-safe key exchange algorithms, which strengthened security for RPC-TLS.

Signed-off-by: Leo <i@hardrain980.com>
@chucklever
Copy link
Copy Markdown
Member

Generally speaking, the priority lists are supposed to be configured by the system (ie, the TLS library and the system's security policies). I'll try to get other reviewers to have a look at this proposal.

@leo9800
Copy link
Copy Markdown
Author

leo9800 commented May 4, 2026

@chucklever actually i tried adding something like

[priorities]
SYSTEM = SYSTEM = NORMAL:-GROUP-ALL:+GROUP-X25519-MLKEM768:+GROUP-X25519:+GROUP-SECP256R1:+GROUP-SECP384R1

to /etc/gnutls/config but it does not work, probably the global config has been overrided by tlshd's application config applied by gnutls_* function calls...

besides, none of the post-quantum kex groups were enabled by default as of gnutls 3.8.13, which is a fairly recent version and supports PQ indeed, while this patch enables them out-of-box.

@leo9800 leo9800 force-pushed the post-quantum-ec-groups branch from dd8d53d to 8dcbd1e Compare May 4, 2026 17:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants