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 #996 from galasa-dev/iss1995-linux-security
Browse files Browse the repository at this point in the history
Updated temporary password used for Linux Manager in line with securi…
  • Loading branch information
jadecarino authored Oct 3, 2024
2 parents bfa42a8 + b13b41c commit 1f673c7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ plugins {

description = 'Galasa Linux Manager'

version = '0.21.0'
version = '0.38.0'

dependencies {
api project(':galasa-managers-comms-parent:dev.galasa.ipnetwork.manager')
Expand Down
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"; //Not a secret but this raises a vulnerability on server side runs. Issue has been raised to correct this //pragma: allowlist secret
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
for(int i = 0; i < 4; i++) {
tempPassword = tempPassword + Integer.toString(this.random.nextInt(10));
}
Expand Down
2 changes: 1 addition & 1 deletion release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -448,7 +448,7 @@ managers:
codecoverage: false

- artifact: dev.galasa.linux.manager
version: 0.21.0
version: 0.38.0
obr: true
mvp: false
bom: true
Expand Down

0 comments on commit 1f673c7

Please sign in to comment.