aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPJ Fanning <fanningpj@apache.org>2023-06-21 17:03:09 +0000
committerPJ Fanning <fanningpj@apache.org>2023-06-21 17:03:09 +0000
commitc3d8586079f3156c1784765e701f2431b4c86ec3 (patch)
treeffaa35e2f6645742a048ef40c27a44d5a386fb57
parente30571e9ecbb849a44e61da1c1e413de15e863e0 (diff)
downloadpoi-c3d8586079f3156c1784765e701f2431b4c86ec3.tar.gz
poi-c3d8586079f3156c1784765e701f2431b4c86ec3.zip
bouncycastle 1.75
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1910543 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--build.gradle2
-rw-r--r--build.xml8
-rw-r--r--osgi/README.md2
-rw-r--r--poi-ooxml/src/main/java/org/apache/poi/poifs/crypt/dsig/SignatureInfo.java2
4 files changed, 7 insertions, 7 deletions
diff --git a/build.gradle b/build.gradle
index 7af144acff..76ac74f730 100644
--- a/build.gradle
+++ b/build.gradle
@@ -117,7 +117,7 @@ subprojects {
apply plugin: 'com.adarshr.test-logger'
ext {
- bouncyCastleVersion = '1.74'
+ bouncyCastleVersion = '1.75'
commonsCodecVersion = '1.15'
commonsCompressVersion = '1.23.0'
commonsIoVersion = '2.13.0'
diff --git a/build.xml b/build.xml
index fe55d8b263..dbc3f6a164 100644
--- a/build.xml
+++ b/build.xml
@@ -296,11 +296,11 @@ under the License.
<!-- xml signature libs - not part of the distribution -->
<dependency prefix="dsig.xmlsec" artifact="org.apache.santuario:xmlsec:3.0.2" usage="ooxml-provided"/>
- <dependency prefix="dsig.bouncycastle-prov" artifact="org.bouncycastle:bcprov-jdk18on:1.74" usage="ooxml-provided"/>
- <dependency prefix="dsig.bouncycastle-pkix" artifact="org.bouncycastle:bcpkix-jdk18on:1.74" usage="ooxml-provided"/>
- <dependency prefix="dsig.bouncycastle-util" artifact="org.bouncycastle:bcutil-jdk18on:1.74" usage="ooxml-provided"/>
+ <dependency prefix="dsig.bouncycastle-prov" artifact="org.bouncycastle:bcprov-jdk18on:1.75" usage="ooxml-provided"/>
+ <dependency prefix="dsig.bouncycastle-pkix" artifact="org.bouncycastle:bcpkix-jdk18on:1.75" usage="ooxml-provided"/>
+ <dependency prefix="dsig.bouncycastle-util" artifact="org.bouncycastle:bcutil-jdk18on:1.75" usage="ooxml-provided"/>
<!-- only used for signing the release - not used with the ooxml signatures -->
- <dependency prefix="dsig.bouncycastle-bcpg" artifact="org.bouncycastle:bcpg-jdk18on:1.74" usage="util"/>
+ <dependency prefix="dsig.bouncycastle-bcpg" artifact="org.bouncycastle:bcpg-jdk18on:1.75" usage="util"/>
<dependency prefix="ooxml.test.stax2" artifact="org.codehaus.woodstox:stax2-api:4.2.1" usage="ooxml-provided"/>
<!-- svg/batik/pdf libs - not part of the distribution - move batik to its own directory because of JPMS module-path issues -->
diff --git a/osgi/README.md b/osgi/README.md
index a77066c717..69dd8c077f 100644
--- a/osgi/README.md
+++ b/osgi/README.md
@@ -29,7 +29,7 @@ These are required to sign or validate signed Office documents. The OSGi bundles
- XML Commons Resolver: https://mvnrepository.com/artifact/xml-resolver/xml-resolver/1.2-osgi
- - Bouncy Castle: https://mvnrepository.com/artifact/org.bouncycastle/bcprov-ext-jdk18on/1.74, https://mvnrepository.com/artifact/org.bouncycastle/bcpkix-jdk18on/1.74
+ - Bouncy Castle: https://mvnrepository.com/artifact/org.bouncycastle/bcprov-ext-jdk18on/1.75, https://mvnrepository.com/artifact/org.bouncycastle/bcpkix-jdk18on/1.75
4. PDFBox and PDFBox Graphics2D
Required to render to PDF documents.
The required jars can be downloaded from:
diff --git a/poi-ooxml/src/main/java/org/apache/poi/poifs/crypt/dsig/SignatureInfo.java b/poi-ooxml/src/main/java/org/apache/poi/poifs/crypt/dsig/SignatureInfo.java
index cc919b3e6b..1f8ec84516 100644
--- a/poi-ooxml/src/main/java/org/apache/poi/poifs/crypt/dsig/SignatureInfo.java
+++ b/poi-ooxml/src/main/java/org/apache/poi/poifs/crypt/dsig/SignatureInfo.java
@@ -153,7 +153,7 @@ import org.w3c.dom.events.MutationEvent;
* <p>To use SignatureInfo and its sibling classes, you'll need to have the following libs
* in the classpath:</p>
* <ul>
- * <li>BouncyCastle bcpkix and bcprov (tested against 1.74)</li>
+ * <li>BouncyCastle bcpkix and bcprov (tested against 1.75)</li>
* <li>Apache Santuario "xmlsec" (tested against 3.0.2)</li>
* <li>and log4j-api (tested against 2.20.x)</li>
* </ul>