diff --git a/build.gradle b/build.gradle
index 51a5701aef..8eb7823c6f 100644
--- a/build.gradle
+++ b/build.gradle
@@ -118,7 +118,7 @@ subprojects {
apply plugin: 'com.adarshr.test-logger'
ext {
- bouncyCastleVersion = '1.76'
+ bouncyCastleVersion = '1.77'
commonsCodecVersion = '1.16.0'
commonsCompressVersion = '1.24.0'
commonsIoVersion = '2.15.0'
diff --git a/build.xml b/build.xml
index 886ced93ea..80d8a80649 100644
--- a/build.xml
+++ b/build.xml
@@ -296,11 +296,11 @@ under the License.
-
-
-
+
+
+
-
+
diff --git a/osgi/README.md b/osgi/README.md
index 58aa228ce6..09fc05234b 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.76, https://mvnrepository.com/artifact/org.bouncycastle/bcpkix-jdk18on/1.76
+ - Bouncy Castle: https://mvnrepository.com/artifact/org.bouncycastle/bcprov-ext-jdk18on/1.77, https://mvnrepository.com/artifact/org.bouncycastle/bcpkix-jdk18on/1.77
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 88938a93b8..9d9cccac01 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;
*
To use SignatureInfo and its sibling classes, you'll need to have the following libs
* in the classpath:
*
- * - BouncyCastle bcpkix and bcprov (tested against 1.76)
+ * - BouncyCastle bcpkix and bcprov (tested against 1.77)
* - Apache Santuario "xmlsec" (tested against 4.0.0)
* - and log4j-api (tested against 2.21.x)
*