Skip to content

Commit

Permalink
fix: Bumped org.bouncycastle:bcprov-jdk18on:1.78.1 and `org.bouncyc…
Browse files Browse the repository at this point in the history
…astle:bcpkix-jdk18on:1.78.1` (#1246)
  • Loading branch information
congminh1254 authored May 20, 2024
1 parent d94c818 commit 0557bed
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,10 @@ If you are developing application for Android visit our [Android guide](doc/andr
Maven: `com.eclipsesource.minimal-json:minimal-json:0.9.5`
2. [jose4j v0.9.4](https://bitbucket.org/b_c/jose4j/wiki/Home)
Maven: `org.bitbucket.b_c:jose4j:0.9.4`
3. [bouncycastle bcprov-jdk18on v1.77](https://mvnrepository.com/artifact/org.bouncycastle/bcprov-jdk18on/1.77)
Maven: `org.bouncycastle:bcprov-jdk18on:1.77`
4. [bouncycastle bcpkix-jdk18on v1.77](https://mvnrepository.com/artifact/org.bouncycastle/bcprov-jdk18on/1.77)
Maven: `org.bouncycastle:bcpkix-jdk18on:1.77`
3. [bouncycastle bcprov-jdk18on v1.78.1](https://mvnrepository.com/artifact/org.bouncycastle/bcprov-jdk18on/1.78.1)
Maven: `org.bouncycastle:bcprov-jdk18on:1.78.1`
4. [bouncycastle bcpkix-jdk18on v1.78.1](https://mvnrepository.com/artifact/org.bouncycastle/bcpkix-jdk18on/1.78.1)
Maven: `org.bouncycastle:bcpkix-jdk18on:1.78.1`
5. [Java Cryptography Extension (JCE) Unlimited Strength Jurisdiction Policy Files 7](http://www.oracle.com/technetwork/java/javase/downloads/jce-7-download-432124.html)
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.
The listed jar is for Oracle JRE. There might be other similar JARs for different JRE versions like the one below for IBM JDK
Expand Down
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ configurations {
dependencies {
implementation "com.eclipsesource.minimal-json:minimal-json:0.9.5"
implementation "org.bitbucket.b_c:jose4j:0.9.4"
implementation "org.bouncycastle:bcprov-jdk18on:1.77"
implementation "org.bouncycastle:bcpkix-jdk18on:1.77"
implementation "org.bouncycastle:bcprov-jdk18on:1.78.1"
implementation "org.bouncycastle:bcpkix-jdk18on:1.78.1"
implementation "com.squareup.okhttp3:okhttp:4.12.0"
testsCommonImplementation "junit:junit:4.13.2"
testsCommonImplementation "org.hamcrest:hamcrest-library:2.2"
Expand Down

0 comments on commit 0557bed

Please sign in to comment.