Skip to content

Commit 9253f9d

Browse files
committed
tlshd: Fix priority string to allow PQC
Specifying either of the SECURE256 or SECURE128 keywords in the priority string results in the ML-DSA algorithms being disabled because the post-quantum algorithms do not map nicely to the security classifications based on "bits of security" used for traditional algorithms [1]. Use @System instead, which will allow PQC on systems with newer versions of GnuTLS. It will also allow users to disable PQC via a policy module (on systems with the crypto-policies package). [1] https://csrc.nist.gov/CSRC/media/Projects/Post-Quantum-Cryptography/documents/call-for-proposals-final-dec-2016.pdf#page=15 Link: #113 Signed-off-by: Scott Mayhew <[email protected]>
1 parent 6cea3a0 commit 9253f9d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tlshd/ktls.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -357,7 +357,7 @@ static int tlshd_gnutls_priority_init_list(const unsigned int *ciphers,
357357
const char *errpos;
358358
int ret, i;
359359

360-
pstring = strdup("SECURE256:+SECURE128:-COMP-ALL");
360+
pstring = strdup("@SYSTEM:-COMP-ALL");
361361
if (!pstring)
362362
return -ENOMEM;
363363

0 commit comments

Comments
 (0)