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


##########
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 the response. :+1: 
   
   I just was thinking if this change could affect backward compatibility with 
existing HBase clients. But since we also have "P-384", "X25519", "P-256" there 
it should be good.
   
   > I think we should provide strong security out-of-the-box and not allow 
users to weaken it.
   
   Completely agree with this. Hopefully X25519MLKEM768 will not be considered 
as unsecure too soon. :sweat_smile: 



-- 
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