From 340d1fb64d5722de22bb018a625f131ed83b8753 Mon Sep 17 00:00:00 2001 From: Jade Carino Date: Thu, 3 Oct 2024 13:10:07 +0100 Subject: [PATCH] Update temp password used by Linux Manager to be suitable for new reqs Signed-off-by: Jade Carino --- .../java/dev/galasa/linux/internal/shared/LinuxSharedImage.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/galasa-managers-parent/galasa-managers-unix-parent/dev.galasa.linux.manager/src/main/java/dev/galasa/linux/internal/shared/LinuxSharedImage.java b/galasa-managers-parent/galasa-managers-unix-parent/dev.galasa.linux.manager/src/main/java/dev/galasa/linux/internal/shared/LinuxSharedImage.java index 0ac86512a..0e54d218a 100644 --- a/galasa-managers-parent/galasa-managers-unix-parent/dev.galasa.linux.manager/src/main/java/dev/galasa/linux/internal/shared/LinuxSharedImage.java +++ b/galasa-managers-parent/galasa-managers-unix-parent/dev.galasa.linux.manager/src/main/java/dev/galasa/linux/internal/shared/LinuxSharedImage.java @@ -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)); }