This is an automated email from the ASF dual-hosted git repository.
cgivre pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/drill.git
The following commit(s) were added to refs/heads/master by this push:
new 6d8cec0018 [MINOR UPDATE] Potential fix for code scanning alert no.
41: Use of a cryptographic algorithm with insufficient key size (#3089)
6d8cec0018 is described below
commit 6d8cec00186a7ce56d3c37ea2c07fc0bc3a4805a
Author: Charles S. Givre <[email protected]>
AuthorDate: Mon Oct 5 00:56:54 2026 -0400
[MINOR UPDATE] Potential fix for code scanning alert no. 41: Use of a
cryptographic algorithm with insufficient key size (#3089)
Co-authored-by: Copilot Autofix powered by AI
<62310815+github-advanced-security[bot]@users.noreply.github.com>
---
.../drill/exec/server/rest/ssl/SslContextFactoryConfigurator.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/exec/java-exec/src/main/java/org/apache/drill/exec/server/rest/ssl/SslContextFactoryConfigurator.java
b/exec/java-exec/src/main/java/org/apache/drill/exec/server/rest/ssl/SslContextFactoryConfigurator.java
index bbd6897a0c..ec7eebdd7d 100644
---
a/exec/java-exec/src/main/java/org/apache/drill/exec/server/rest/ssl/SslContextFactoryConfigurator.java
+++
b/exec/java-exec/src/main/java/org/apache/drill/exec/server/rest/ssl/SslContextFactoryConfigurator.java
@@ -165,7 +165,7 @@ public class SslContextFactoryConfigurator {
// Generate a private-public key pair
final KeyPairGenerator keyPairGenerator =
KeyPairGenerator.getInstance("RSA");
- keyPairGenerator.initialize(1024, random);
+ keyPairGenerator.initialize(2048, random);
final KeyPair keyPair = keyPairGenerator.generateKeyPair();