aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-plugin-api-impl/src/main
diff options
context:
space:
mode:
authorDuarte Meneses <duarte.meneses@sonarsource.com>2020-08-11 15:08:01 -0500
committersonartech <sonartech@sonarsource.com>2020-08-14 20:16:19 +0000
commit4cd01804400e980415379551053374e2ee9694a5 (patch)
treef7be6a9a04e8681d843823e309c4056eaf562478 /sonar-plugin-api-impl/src/main
parent670f78693c7c0bdb780baa01c749df6c3fa19aa8 (diff)
downloadsonarqube-4cd01804400e980415379551053374e2ee9694a5.tar.gz
sonarqube-4cd01804400e980415379551053374e2ee9694a5.zip
SONAR-12841 Support AES 256 Settings Encryption
Diffstat (limited to 'sonar-plugin-api-impl/src/main')
-rw-r--r--sonar-plugin-api-impl/src/main/java/org/sonar/api/config/internal/AesCipher.java6
1 files changed, 1 insertions, 5 deletions
diff --git a/sonar-plugin-api-impl/src/main/java/org/sonar/api/config/internal/AesCipher.java b/sonar-plugin-api-impl/src/main/java/org/sonar/api/config/internal/AesCipher.java
index e6b14f3d9db..b67640a1e5f 100644
--- a/sonar-plugin-api-impl/src/main/java/org/sonar/api/config/internal/AesCipher.java
+++ b/sonar-plugin-api-impl/src/main/java/org/sonar/api/config/internal/AesCipher.java
@@ -36,11 +36,7 @@ import org.sonar.api.CoreProperties;
import static java.nio.charset.StandardCharsets.UTF_8;
final class AesCipher implements Cipher {
-
- // Can't be increased because of Java 6 policy files :
- // https://confluence.terena.org/display/~visser/No+256+bit+ciphers+for+Java+apps
- // http://java.sun.com/javase/6/webnotes/install/jre/README
- static final int KEY_SIZE_IN_BITS = 128;
+ static final int KEY_SIZE_IN_BITS = 256;
private static final String CRYPTO_KEY = "AES";