PDavid commented on code in PR #8959:
URL: https://github.com/apache/hbase/pull/8959#discussion_r4789868048


##########
hbase-common/src/main/java/org/apache/hadoop/hbase/io/crypto/tls/X509Util.java:
##########
@@ -280,6 +281,10 @@ public static SslContext 
createSslContextForClient(Configuration config)
       sslContextBuilder.ciphers(Arrays.asList(cipherSuites));
     }
 
+    // Override BoringSSL's default key exchange groups, to ensure 
post-quantum protection
+    sslContextBuilder.option(OpenSslContextOption.GROUPS,
+      new String[] { "X25519MLKEM768", "P-384", "X25519", "P-256" });

Review Comment:
   Many thanks for picking this up so quickly! 👍 
   
   Maybe a silly question: Would it make sense for us to have a config switch 
or allow overriding this list from config? 
   
   Also: Do we know how does this work with non-BoringSSL / JDK / older Netty 
providers?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to