This repository has been archived by the owner on Apr 5, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 84
Use Java 17 and upgrade Azure and web3j libraries #530
Merged
Merged
Changes from all commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
a3d9f2e
Upgrade Azure libraries to fix CVE-2023-36415
usmansaleem ea6f542
Upgrade web3j core version to 4.10.3
usmansaleem bee30ca
Upgrade web3j core version to 4.10.3
usmansaleem 11465b7
Use Java 17.
usmansaleem ec67606
Use Java 17 in trivy github action
usmansaleem f9f3897
Update codeql analysis github workflow
usmansaleem d4435d0
web3j 4.10.2
usmansaleem a29ad23
okhttp logging-interceptor override
usmansaleem fd89071
changelog
usmansaleem a7d4c9b
reverting core build.gradle
usmansaleem 7b83057
Add web3j in changelog
usmansaleem File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,6 +23,11 @@ dependencyManagement { | |
dependency 'com.google.guava:guava:32.0.1-jre' | ||
|
||
dependency 'com.squareup.okhttp3:okhttp:4.11.0' | ||
/* | ||
com.squareup.okhttp3:logging-interceptor:4.9.0 // CVE-2023-0833 | ||
\--- org.web3j:core:4.10.2 | ||
*/ | ||
dependency 'com.squareup.okhttp3:logging-interceptor:4.11.0' | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This is still necessary despite web3j upgrade? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. unfortunately yes ... the fixed version of this library is available as part of web3j latest version ... however, web3j latest version is not compatible with ethsigner anymore due to dependency on signers library. (one of the exception package has changed that signers module is using from web3j). There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. yes... |
||
|
||
dependency 'commons-io:commons-io:2.11.0' | ||
|
||
|
@@ -74,10 +79,11 @@ dependencyManagement { | |
entry 'mockito-junit-jupiter' | ||
} | ||
|
||
dependencySet(group: 'org.web3j', version: '4.9.4') { | ||
dependencySet(group: 'org.web3j', version: '4.10.2') { | ||
entry 'besu' | ||
entry ('core') { | ||
exclude group: 'com.github.jnr', name: 'jnr-unixsocket' | ||
exclude group: 'org.bouncycastle', name: 'bcprov-jdk15on' | ||
} | ||
entry ('crypto') { | ||
exclude group: 'org.bouncycastle', name: 'bcprov-jdk15on' | ||
|
@@ -129,6 +135,14 @@ dependencyManagement { | |
entry 'netty-resolver-dns' | ||
} | ||
|
||
//overriding Azure libraries dependencies as we don't update signers library anymore | ||
dependencySet(group: 'com.azure', version: '4.7.0') { | ||
entry 'azure-security-keyvault-secrets' | ||
entry 'azure-security-keyvault-keys' | ||
} | ||
dependency 'com.azure:azure-identity:1.10.3' | ||
dependency 'com.azure:azure-core-http-netty:1.13.8' | ||
|
||
/* | ||
io.projectreactor.netty:reactor-netty-core:1.0.15 // CVE-2022-31684 | ||
\--- io.projectreactor.netty:reactor-netty-http:1.0.15 | ||
|
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we need to mention web3j in here too?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we might mention web3j in "features added" ? as we are overriding logging-interceptor anyways ...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done