Skip to content

Commit

Permalink
Nye sårbarheiter i bouncycastle-biblioteket, omgår det ved å oppgrade…
Browse files Browse the repository at this point in the history
…re til nyaste patch-version (#249)
  • Loading branch information
madsop-nav authored Apr 25, 2024
1 parent 1d09cfb commit a4e5669
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions apps/etterlatte-proxy/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ dependencies {
implementation(libs.cxf.ws.security) {
exclude("com.google.guava:guava")
exclude("org.bouncycastle:bcpkix-jdk18on")
exclude("org.bouncycastle:bcprov-jdk18on")
exclude("org.eclipse.angus:angus-core")
exclude("org.eclipse.angus:angus-mail")
}
Expand All @@ -44,6 +45,7 @@ dependencies {
// Vi bør kunne ta bort alle disse og exclude-lista for neste CXF-versjon
implementation(libs.guava)
implementation(libs.bcpkix)
implementation(libs.bcprov)
implementation(libs.angus.core)
implementation(libs.angus.mail)
}
3 changes: 2 additions & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ navfelles-token-version = "4.1.4"
ktor-version = "2.3.9"
jupiter-version = "5.10.2"
cxf-version = "4.0.4" # Obs: Når vi oppgraderer denne, bør vi også kunne rydde bort guava og guava-workarounden
bcpkix-version = "1.74"
bcpkix-version = "1.78"
angus-version = "1.1.0"

[libraries]
Expand Down Expand Up @@ -69,5 +69,6 @@ cxf-ws-security = { module = "org.apache.cxf:cxf-rt-ws-security", version.ref =
#Cxf-workarounds
guava = { module = "com.google.guava:guava", version = "32.1.2-jre"} # workaround for å omgå https://github.com/google/guava/issues/6657
bcpkix = { module = "org.bouncycastle:bcpkix-jdk18on", version.ref = "bcpkix-version"}
bcprov = { module = "org.bouncycastle:bcprov-jdk18on", version.ref = "bcpkix-version"}
angus-core = { module = "org.eclipse.angus:angus-core", version.ref="angus-version"}
angus-mail = { module = "org.eclipse.angus:angus-mail", version.ref="angus-version"}

0 comments on commit a4e5669

Please sign in to comment.