mirror of
https://github.com/corda/corda.git
synced 2024-12-18 20:47:57 +00:00
ENT-10273: Upgrade BC to 1.75. (#7422)
* ENT-10273: Upgrade BC to 1.75. * Use BC 1.70 for core-deterministic avoid issue with primality checking done in 1.70+ which uses random numbers --------- Co-authored-by: Shams Asari <shams.asari@r3.com>
This commit is contained in:
parent
6ec8855c6e
commit
106ccd7fe8
@ -24,7 +24,7 @@ jdkClassifier11=jdk11
|
||||
dockerJavaVersion=3.2.5
|
||||
proguardVersion=6.1.1
|
||||
// bouncy castle version must not be changed on a patch release. Needs a full release test cycle to flush out any issues.
|
||||
bouncycastleVersion=1.70
|
||||
bouncycastleVersion=1.75
|
||||
classgraphVersion=4.8.135
|
||||
disruptorVersion=3.4.2
|
||||
typesafeConfigVersion=1.3.4
|
||||
|
@ -49,9 +49,10 @@ dependencies {
|
||||
|
||||
// These dependencies will become "runtime" scoped in our published POM.
|
||||
// See publish.dependenciesFrom.defaultScope.
|
||||
deterministicLibraries "org.bouncycastle:bcprov-jdk15on:$bouncycastle_version"
|
||||
deterministicLibraries "org.bouncycastle:bcpkix-jdk15on:$bouncycastle_version"
|
||||
deterministicLibraries "net.i2p.crypto:eddsa:$eddsa_version"
|
||||
// From 1.71 BC validates the RSA modulus is prime using random numbers, which is not supported inside the DJVM
|
||||
deterministicLibraries "org.bouncycastle:bcprov-jdk15on:1.70"
|
||||
deterministicLibraries "org.bouncycastle:bcpkix-jdk15on:1.70"
|
||||
}
|
||||
|
||||
tasks.named('jar', Jar) {
|
||||
|
@ -73,8 +73,8 @@ dependencies {
|
||||
compile "net.i2p.crypto:eddsa:$eddsa_version"
|
||||
|
||||
// Bouncy castle support needed for X509 certificate manipulation
|
||||
compile "org.bouncycastle:bcprov-jdk15on:${bouncycastle_version}"
|
||||
compile "org.bouncycastle:bcpkix-jdk15on:${bouncycastle_version}"
|
||||
compile "org.bouncycastle:bcprov-jdk18on:${bouncycastle_version}"
|
||||
compile "org.bouncycastle:bcpkix-jdk18on:${bouncycastle_version}"
|
||||
|
||||
// JPA 2.2 annotations.
|
||||
compile "javax.persistence:javax.persistence-api:2.2"
|
||||
|
Loading…
Reference in New Issue
Block a user