Skip to content

Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance

Upgraded BouncyCastle dependencies from jdk15:1.46 to jdk15on:1.60

luccioman982179a7ebea
diff --git a/.classpath b/.classpath
index 728ae087e..6574f9d80 100644
--- a/.classpath
+++ b/.classpath
@@ -37,8 +37,9 @@
<classpathentry kind="lib" path="lib/org.restlet.jar"/>
<classpathentry kind="lib" path="lib/fontbox-2.0.11.jar"/>
<classpathentry kind="lib" path="lib/pdfbox-2.0.11.jar"/>
- <classpathentry kind="lib" path="lib/bcmail-jdk15-1.46.jar"/>
- <classpathentry kind="lib" path="lib/bcprov-jdk15-1.46.jar"/>
+ <classpathentry kind="lib" path="lib/bcmail-jdk15on-1.60.jar"/>
+ <classpathentry kind="lib" path="lib/bcprov-jdk15on-1.60.jar"/>
+ <classpathentry kind="lib" path="lib/bcpkix-jdk15on-1.60.jar"/>
<classpathentry kind="lib" path="lib/poi-3.17.jar"/>
<classpathentry kind="lib" path="lib/poi-scratchpad-3.17.jar"/>
<classpathentry kind="lib" path="lib/commons-io-2.6.jar"/>
diff --git a/build.xml b/build.xml
index c48cf2eda..4ecc2fe57 100644
--- a/build.xml
+++ b/build.xml
@@ -171,8 +171,9 @@
<path id="project.class.path">
<pathelement location="${build}" />
<pathelement location="${lib}/apache-mime4j-0.6.jar" />
- <pathelement location="${lib}/bcmail-jdk15-1.46.jar" />
- <pathelement location="${lib}/bcprov-jdk15-1.46.jar" />
+ <pathelement location="${lib}/bcmail-jdk15on-1.60.jar" />
+ <pathelement location="${lib}/bcprov-jdk15on-1.60.jar" />
+ <pathelement location="${lib}/bcpkix-jdk15on-1.60.jar" />
<pathelement location="${lib}/chardet.jar" />
<pathelement location="${lib}/common-image-3.3.2.jar" />
<pathelement location="${lib}/common-io-3.3.2.jar" />
diff --git a/lib/bcmail-jdk15-1.46.jar b/lib/bcmail-jdk15-1.46.jar
deleted file mode 100644
index de560b515..000000000
Binary files a/lib/bcmail-jdk15-1.46.jar and /dev/null differ
diff --git a/lib/bcmail-jdk15-1.46.License b/lib/bcmail-jdk15on-1.60.License
similarity index 83%
rename from lib/bcmail-jdk15-1.46.License
rename to lib/bcmail-jdk15on-1.60.License
index 915568469..398ca734d 100644
--- a/lib/bcmail-jdk15-1.46.License
+++ b/lib/bcmail-jdk15on-1.60.License
@@ -3,12 +3,14 @@
The Legion of the Bouncy Castle
Please note this should be read in the same way as the MIT license.
+
+Please also note this licensing model is made possible through funding from donations and the sale of support contracts.
License
-Copyright (c) 2000 - 2013 The Legion of the Bouncy Castle Inc. (http://www.bouncycastle.org)
+Copyright (c) 2000 - 2018 The Legion of the Bouncy Castle Inc. (https://www.bouncycastle.org)
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
\ No newline at end of file
diff --git a/lib/bcmail-jdk15on-1.60.jar b/lib/bcmail-jdk15on-1.60.jar
new file mode 100644
index 000000000..215641b74
Binary files /dev/null and b/lib/bcmail-jdk15on-1.60.jar differ
diff --git a/lib/bcprov-jdk15-1.46.License b/lib/bcpkix-jdk15on-1.60.License
similarity index 83%
rename from lib/bcprov-jdk15-1.46.License
rename to lib/bcpkix-jdk15on-1.60.License
index 915568469..398ca734d 100644
--- a/lib/bcprov-jdk15-1.46.License
+++ b/lib/bcpkix-jdk15on-1.60.License
@@ -3,12 +3,14 @@
The Legion of the Bouncy Castle
Please note this should be read in the same way as the MIT license.
+
+Please also note this licensing model is made possible through funding from donations and the sale of support contracts.
License
-Copyright (c) 2000 - 2013 The Legion of the Bouncy Castle Inc. (http://www.bouncycastle.org)
+Copyright (c) 2000 - 2018 The Legion of the Bouncy Castle Inc. (https://www.bouncycastle.org)
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
\ No newline at end of file
diff --git a/lib/bcpkix-jdk15on-1.60.jar b/lib/bcpkix-jdk15on-1.60.jar
new file mode 100644
index 000000000..87ce8b473
Binary files /dev/null and b/lib/bcpkix-jdk15on-1.60.jar differ
diff --git a/lib/bcprov-jdk15-1.46.jar b/lib/bcprov-jdk15-1.46.jar
deleted file mode 100644
index daa0b54cc..000000000
Binary files a/lib/bcprov-jdk15-1.46.jar and /dev/null differ
diff --git a/lib/bcprov-jdk15on-1.60.License b/lib/bcprov-jdk15on-1.60.License
new file mode 100644
index 000000000..398ca734d
--- /dev/null
+++ b/lib/bcprov-jdk15on-1.60.License
@@ -0,0 +1,16 @@
+(taken from http://www.bouncycastle.org/licence.html)
+
+The Legion of the Bouncy Castle
+
+Please note this should be read in the same way as the MIT license.
+
+Please also note this licensing model is made possible through funding from donations and the sale of support contracts.
+License
+
+Copyright (c) 2000 - 2018 The Legion of the Bouncy Castle Inc. (https://www.bouncycastle.org)
+
+Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
\ No newline at end of file
diff --git a/lib/bcprov-jdk15on-1.60.jar b/lib/bcprov-jdk15on-1.60.jar
new file mode 100644
index 000000000..5be567cbb
Binary files /dev/null and b/lib/bcprov-jdk15on-1.60.jar differ
diff --git a/pom.xml b/pom.xml
index c1e2d582d..14d163e78 100644
--- a/pom.xml
+++ b/pom.xml
@@ -359,15 +359,24 @@
</dependency>
<dependency>
+ <!-- Optional dependency of pdfbox for Encrypting and signing PDFs
+ see https://pdfbox.apache.org/2.0/dependencies.html#encryption-and-signing-->
<groupId>org.bouncycastle</groupId>
- <artifactId>bcprov-jdk15</artifactId>
- <version>1.46</version>
+ <artifactId>bcprov-jdk15on</artifactId>
+ <version>1.60</version>
</dependency>
<dependency>
+ <!-- Optional dependency of pdfbox for Encrypting and signing PDFs -->
<groupId>org.bouncycastle</groupId>
- <artifactId>bcmail-jdk15</artifactId>
- <version>1.46</version>
- </dependency>
+ <artifactId>bcmail-jdk15on</artifactId>
+ <version>1.60</version>
+ </dependency>
+ <dependency>
+ <!-- Optional dependency of pdfbox for Encrypting and signing PDFs -->
+ <groupId>org.bouncycastle</groupId>
+ <artifactId>bcpkix-jdk15on</artifactId>
+ <version>1.60</version>
+ </dependency>
<dependency>
<groupId>commons-codec</groupId>
<artifactId>commons-codec</artifactId>