We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3112d9d commit 2d5e526Copy full SHA for 2d5e526
plugins/version-control-systems/git/src/main/kotlin/Git.kt
@@ -104,6 +104,11 @@ class Git(
104
) : VersionControlSystem() {
105
companion object {
106
init {
107
+ if (Os.isLinux) {
108
+ // Work around a bug in Apache MINA sshd, see https://github.com/eclipse-jgit/jgit/issues/135.
109
+ System.setProperty("java.security.egd", "file:/dev/./urandom")
110
+ }
111
+
112
// Make sure that JGit uses the exact same authentication information as ORT itself. This addresses
113
// discrepancies in the way .netrc files are interpreted between JGit's and ORT's implementation.
114
CredentialsProvider.setDefault(AuthenticatorCredentialsProvider)
0 commit comments