Browse Source

Upgrade the bouncycastle dependency to 1.61 (#40017)

This commit upgrades the bouncycastle dependency from 1.59 to 1.61.
Jason Tedor 6 years ago
parent
commit
2c8560141f

+ 6 - 0
buildSrc/version.properties

@@ -23,6 +23,12 @@ jna               = 4.5.1
 netty             = 4.1.32.Final
 joda              = 2.10.1
 
+# when updating this version, you need to ensure compatibility with:
+#  - plugins/ingest-attachment (transitive dependency, check the upstream POM)
+#  - distribution/tools/plugin-cli
+#  - x-pack/plugin/security
+bouncycastle      = 1.61
+
 # test dependencies
 randomizedrunner  = 2.7.1
 junit             = 4.12

+ 2 - 2
distribution/tools/plugin-cli/build.gradle

@@ -24,8 +24,8 @@ archivesBaseName = 'elasticsearch-plugin-cli'
 dependencies {
   compileOnly "org.elasticsearch:elasticsearch:${version}"
   compileOnly "org.elasticsearch:elasticsearch-cli:${version}"
-  compile "org.bouncycastle:bcpg-jdk15on:1.59"
-  compile "org.bouncycastle:bcprov-jdk15on:1.59"
+  compile "org.bouncycastle:bcpg-jdk15on:${versions.bouncycastle}"
+  compile "org.bouncycastle:bcprov-jdk15on:${versions.bouncycastle}"
   testCompile "org.elasticsearch.test:framework:${version}"
   testCompile 'com.google.jimfs:jimfs:1.1'
   testCompile 'com.google.guava:guava:18.0'

+ 0 - 1
distribution/tools/plugin-cli/licenses/bcpg-jdk15on-1.59.jar.sha1

@@ -1 +0,0 @@
-ee93e5376bb6cf0a15c027b5f5e4393f2738e709

+ 1 - 0
distribution/tools/plugin-cli/licenses/bcpg-jdk15on-1.61.jar.sha1

@@ -0,0 +1 @@
+422656435514ab8a28752b117d5d2646660a0ace

+ 0 - 1
distribution/tools/plugin-cli/licenses/bcprov-jdk15on-1.59.jar.sha1

@@ -1 +0,0 @@
-2507204241ab450456bdb8e8c0a8f986e418bd99

+ 1 - 0
distribution/tools/plugin-cli/licenses/bcprov-jdk15on-1.61.jar.sha1

@@ -0,0 +1 @@
+00df4b474e71be02c1349c3292d98886f888d1f7

+ 0 - 1
plugins/ingest-attachment/build.gradle

@@ -25,7 +25,6 @@ esplugin {
 versions << [
   'tika': '1.19.1',
   'pdfbox': '2.0.12',
-  'bouncycastle': '1.59',
   'poi': '4.0.0',
   'mime4j': '0.8.2'
 ]

+ 0 - 1
plugins/ingest-attachment/licenses/bcmail-jdk15on-1.59.jar.sha1

@@ -1 +0,0 @@
-db389ade95f48592908a84e7050a691c8834723c

+ 1 - 0
plugins/ingest-attachment/licenses/bcmail-jdk15on-1.61.jar.sha1

@@ -0,0 +1 @@
+69a1ea4bead1baadd1a1e00526de050c62ea7d82

+ 0 - 1
plugins/ingest-attachment/licenses/bcpkix-jdk15on-1.59.jar.sha1

@@ -1 +0,0 @@
-9cef0aab8a4bb849a8476c058ce3ff302aba3fff

+ 1 - 0
plugins/ingest-attachment/licenses/bcpkix-jdk15on-1.61.jar.sha1

@@ -0,0 +1 @@
+89bb3aa5b98b48e584eee2a7401b7682a46779b4

+ 0 - 1
plugins/ingest-attachment/licenses/bcprov-jdk15on-1.59.jar.sha1

@@ -1 +0,0 @@
-2507204241ab450456bdb8e8c0a8f986e418bd99

+ 1 - 0
plugins/ingest-attachment/licenses/bcprov-jdk15on-1.61.jar.sha1

@@ -0,0 +1 @@
+00df4b474e71be02c1349c3292d98886f888d1f7

+ 2 - 2
x-pack/plugin/security/cli/build.gradle

@@ -8,8 +8,8 @@ dependencies {
     compileOnly "org.elasticsearch:elasticsearch:${version}"
     // "org.elasticsearch.plugin:x-pack-core:${version}" doesn't work with idea because the testArtifacts are also here
     compileOnly project(path: xpackModule('core'), configuration: 'default')
-    compile 'org.bouncycastle:bcpkix-jdk15on:1.59'
-    compile 'org.bouncycastle:bcprov-jdk15on:1.59'
+    compile "org.bouncycastle:bcpkix-jdk15on:${versions.bouncycastle}"
+    compile "org.bouncycastle:bcprov-jdk15on:${versions.bouncycastle}"
     testImplementation 'com.google.jimfs:jimfs:1.1'
     testCompile "junit:junit:${versions.junit}"
     testCompile "org.hamcrest:hamcrest-all:${versions.hamcrest}"

+ 0 - 1
x-pack/plugin/security/cli/licenses/bcpkix-jdk15on-1.59.jar.sha1

@@ -1 +0,0 @@
-9cef0aab8a4bb849a8476c058ce3ff302aba3fff

+ 1 - 0
x-pack/plugin/security/cli/licenses/bcpkix-jdk15on-1.61.jar.sha1

@@ -0,0 +1 @@
+89bb3aa5b98b48e584eee2a7401b7682a46779b4

+ 0 - 1
x-pack/plugin/security/cli/licenses/bcprov-jdk15on-1.59.jar.sha1

@@ -1 +0,0 @@
-2507204241ab450456bdb8e8c0a8f986e418bd99

+ 1 - 0
x-pack/plugin/security/cli/licenses/bcprov-jdk15on-1.61.jar.sha1

@@ -0,0 +1 @@
+00df4b474e71be02c1349c3292d98886f888d1f7