Skip to content

Commit 94410e7

Browse files
authored
deps: Bump Bouncy Castle to 1.84 (#1917)
1 parent 5702769 commit 94410e7

2 files changed

Lines changed: 7 additions & 7 deletions

File tree

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -260,11 +260,11 @@ The Java SDK uses third-party libraries that are required for usage. Their licen
260260
2. [jose4j v0.9.4](https://bitbucket.org/b_c/jose4j/wiki/Home)
261261
Maven: `org.bitbucket.b_c:jose4j:0.9.4`
262262
Licence: [Apache 2.0](https://www.apache.org/licenses/LICENSE-2.0)
263-
3. [bouncycastle bcprov-jdk18on v1.82](https://mvnrepository.com/artifact/org.bouncycastle/bcprov-jdk18on/1.82)
264-
Maven: `org.bouncycastle:bcprov-jdk18on:1.82`
263+
3. [bouncycastle bcprov-jdk18on v1.84](https://mvnrepository.com/artifact/org.bouncycastle/bcprov-jdk18on/1.84)
264+
Maven: `org.bouncycastle:bcprov-jdk18on:1.84`
265265
Licence: [MIT](https://opensource.org/licenses/MIT)
266-
4. [bouncycastle bcpkix-jdk18on v1.82](https://mvnrepository.com/artifact/org.bouncycastle/bcpkix-jdk18on/1.82)
267-
Maven: `org.bouncycastle:bcpkix-jdk18on:1.82`
266+
4. [bouncycastle bcpkix-jdk18on v1.84](https://mvnrepository.com/artifact/org.bouncycastle/bcpkix-jdk18on/1.84)
267+
Maven: `org.bouncycastle:bcpkix-jdk18on:1.84`
268268
Licence: [MIT](https://opensource.org/licenses/MIT)
269269
5. [Java Cryptography Extension (JCE) Unlimited Strength Jurisdiction Policy Files 7](http://www.oracle.com/technetwork/java/javase/downloads/jce-7-download-432124.html)
270270
If you don't install this, you'll get an exception about key length or exception about parsing PKCS private key for Box Developer Edition. This is not a Box thing, this is a U.S. Government requirement concerning strong encryption.
@@ -305,7 +305,7 @@ If you are developing application for Android visit our [Android guide](./docs/a
305305
## FIPS 140-2 Compliance
306306

307307
To generate a Json Web Signature used for retrieving tokens in the JWT authentication method, the Box Java SDK decrypts an encrypted private key.
308-
For this purpose, Box Java SDK uses libraries (`org.bouncycastle:bcpkix-jdk18on:1.82` and `org.bouncycastle:bcprov-jdk18on:1.82`)
308+
For this purpose, Box Java SDK uses libraries (`org.bouncycastle:bcpkix-jdk18on:1.84` and `org.bouncycastle:bcprov-jdk18on:1.84`)
309309
that are NOT compatible with FIPS 140-2 validated cryptographic library (`org.bouncycastle:bc-fips`).
310310

311311
There are two ways of ensuring that decryption operation is FIPS-compiant.

build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,8 @@ dependencies {
5656
implementation "com.fasterxml.jackson.core:jackson-core:2.21.4"
5757
implementation "com.fasterxml.jackson.core:jackson-databind:2.21.4"
5858
implementation "org.bitbucket.b_c:jose4j:0.9.6"
59-
implementation "org.bouncycastle:bcprov-jdk18on:1.82"
60-
implementation "org.bouncycastle:bcpkix-jdk18on:1.82"
59+
implementation "org.bouncycastle:bcprov-jdk18on:1.84"
60+
implementation "org.bouncycastle:bcpkix-jdk18on:1.84"
6161
implementation "com.squareup.okhttp3:okhttp:4.12.0"
6262
implementation "com.github.luben:zstd-jni:1.5.7-2"
6363
testsCommonImplementation "junit:junit:4.13.2"

0 commit comments

Comments
 (0)