From d66873a765018d5477c941cea091b4ac25b0abfe Mon Sep 17 00:00:00 2001 From: PJ Fanning Date: Thu, 21 Mar 2019 10:23:05 +0000 Subject: [PATCH] upgrade bouncycastle and curvesapi git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1855978 13f79535-47bb-0310-9956-ffa450edef68 --- .classpath | 6 ++--- build.gradle | 4 ++-- build.xml | 22 ++++++++++--------- maven/poi-ooxml.pom | 2 +- sonar/ooxml/pom.xml | 6 ++--- .../poi/poifs/crypt/dsig/SignatureInfo.java | 2 +- 6 files changed, 22 insertions(+), 20 deletions(-) diff --git a/.classpath b/.classpath index b953470841..6c3084ee23 100644 --- a/.classpath +++ b/.classpath @@ -21,15 +21,15 @@ - + - - + + diff --git a/build.gradle b/build.gradle index 04341a114f..2d574fed04 100644 --- a/build.gradle +++ b/build.gradle @@ -235,8 +235,8 @@ project('ooxml') { compile 'org.apache.commons:commons-math3:3.6.1' compile 'org.apache.commons:commons-compress:1.18' compile 'org.apache.santuario:xmlsec:2.1.0' - compile 'org.bouncycastle:bcpkix-jdk15on:1.60' - compile 'com.github.virtuald:curvesapi:1.05' + compile 'org.bouncycastle:bcpkix-jdk15on:1.61' + compile 'com.github.virtuald:curvesapi:1.06' // compile only, don't add it to our dist as it blows up the size compile 'org.apache.xmlgraphics:batik-all:1.10' diff --git a/build.xml b/build.xml index 72c79fb566..e794387d29 100644 --- a/build.xml +++ b/build.xml @@ -222,10 +222,10 @@ under the License. - - - - + + + + @@ -238,9 +238,9 @@ under the License. - + + value="${repository.m2}/maven2/com/github/virtuald/curvesapi/1.06/curvesapi-1.06.jar"/> @@ -322,10 +322,10 @@ under the License. - - - - + + + + @@ -705,6 +705,7 @@ under the License. + @@ -716,6 +717,7 @@ under the License. + diff --git a/maven/poi-ooxml.pom b/maven/poi-ooxml.pom index 5350148c13..3b41f89c83 100644 --- a/maven/poi-ooxml.pom +++ b/maven/poi-ooxml.pom @@ -77,7 +77,7 @@ com.github.virtuald curvesapi - 1.05 + 1.06 diff --git a/sonar/ooxml/pom.xml b/sonar/ooxml/pom.xml index 7de88404cc..41267d0d9e 100644 --- a/sonar/ooxml/pom.xml +++ b/sonar/ooxml/pom.xml @@ -137,12 +137,12 @@ org.bouncycastle bcpkix-jdk15on - 1.60 + 1.61 org.bouncycastle bcprov-jdk15on - 1.60 + 1.61 org.apache.santuario @@ -157,7 +157,7 @@ com.github.virtuald curvesapi - 1.05 + 1.06 diff --git a/src/ooxml/java/org/apache/poi/poifs/crypt/dsig/SignatureInfo.java b/src/ooxml/java/org/apache/poi/poifs/crypt/dsig/SignatureInfo.java index 1cb6e3ca1d..006dd94051 100644 --- a/src/ooxml/java/org/apache/poi/poifs/crypt/dsig/SignatureInfo.java +++ b/src/ooxml/java/org/apache/poi/poifs/crypt/dsig/SignatureInfo.java @@ -149,7 +149,7 @@ import org.w3c.dom.events.EventTarget; *

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.60)
  • + *
  • BouncyCastle bcpkix and bcprov (tested against 1.61)
  • *
  • Apache Santuario "xmlsec" (tested against 2.1.0)
  • *
  • and slf4j-api (tested against 1.7.25)
  • *
-- 2.39.5