Skip to content
This repository has been archived by the owner on Nov 4, 2024. It is now read-only.

Commit

Permalink
Merge pull request #997 from galasa-dev/iss1995-linux-security
Browse files Browse the repository at this point in the history
Update temp password used by Linux Manager to be suitable for new reqs
  • Loading branch information
jadecarino authored Oct 3, 2024
2 parents 1f673c7 + 340d1fb commit 6183a5c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ public LinuxSharedImage(LinuxManagerImpl manager, String tag, String hostid, Str
throw new LinuxManagerException("useradd of username " + this.username + " failed:-\n" + response);
}

String tempPassword = "ThisIsTheFutureOfTesting_123"; //Not a secret but this raises a vulnerability on server side runs. Issue has been raised to correct this //pragma: allowlist secret
String tempPassword = "Galasa_Future_0f_Test1ng!"; //Not a secret but this raises a vulnerability on server side runs. Issue has been raised to correct this //pragma: allowlist secret
for(int i = 0; i < 4; i++) {
tempPassword = tempPassword + Integer.toString(this.random.nextInt(10));
}
Expand Down

0 comments on commit 6183a5c

Please sign in to comment.