Skip to content

Commit

Permalink
disable azure jar signature verification (as microsoft guidelines)
Browse files Browse the repository at this point in the history
  • Loading branch information
petretiandrea committed Nov 22, 2024
1 parent ead2400 commit ebe8d78
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
9 changes: 9 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -104,3 +104,12 @@ openApiGenerate {
"zoned-date-time" : "java.time.ZonedDateTime"
])
}

graalvmNative {
binaries {
main {
buildArgs.add("--initialize-at-build-time=org.slf4j.helpers")
jvmArgs.add("-Djava.security.properties=${file("${projectDir}/src/main/resources/custom.security").absolutePath}")
}
}
}
1 change: 1 addition & 0 deletions src/main/resources/custom.security
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
jdk.jar.disabledAlgorithms=MD2, MD5, RSA, DSA

0 comments on commit ebe8d78

Please sign in to comment.