Skip to content

Commit 594e39b

Browse files
committedFeb 10, 2025·
Revert "fix(Git): Work around a bug with JGit vs MINA"
This reverts commit 2d5e526 as it does not fully fix the issue [1], and installing support for hardware TRNGs is the better fix. [1]: #9856 (comment) Signed-off-by: Sebastian Schuberth <sebastian@doubleopen.org>
1 parent 0797f37 commit 594e39b

File tree

1 file changed

+0
-5
lines changed
  • plugins/version-control-systems/git/src/main/kotlin

1 file changed

+0
-5
lines changed
 

‎plugins/version-control-systems/git/src/main/kotlin/Git.kt

-5
Original file line numberDiff line numberDiff line change
@@ -102,11 +102,6 @@ class Git(
102102
) : VersionControlSystem() {
103103
companion object {
104104
init {
105-
if (Os.isLinux) {
106-
// Work around a bug in Apache MINA sshd, see https://github.com/eclipse-jgit/jgit/issues/135.
107-
System.setProperty("java.security.egd", "file:/dev/./urandom")
108-
}
109-
110105
// Make sure that JGit uses the exact same authentication information as ORT itself. This addresses
111106
// discrepancies in the way .netrc files are interpreted between JGit's and ORT's implementation.
112107
CredentialsProvider.setDefault(AuthenticatorCredentialsProvider)

0 commit comments

Comments
 (0)
Please sign in to comment.