From b126ec999f97219f5eb723fd5ffba55f2618f43f Mon Sep 17 00:00:00 2001 From: Sae126V Date: Wed, 6 Dec 2023 16:32:21 +0000 Subject: [PATCH] Update AES size for to fix timeout errors --- .../test/multi_factor_authentication/IamTotpMfaCommons.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/iam-login-service/src/test/java/it/infn/mw/iam/test/multi_factor_authentication/IamTotpMfaCommons.java b/iam-login-service/src/test/java/it/infn/mw/iam/test/multi_factor_authentication/IamTotpMfaCommons.java index 0cd5a9c97..9c6d6d508 100644 --- a/iam-login-service/src/test/java/it/infn/mw/iam/test/multi_factor_authentication/IamTotpMfaCommons.java +++ b/iam-login-service/src/test/java/it/infn/mw/iam/test/multi_factor_authentication/IamTotpMfaCommons.java @@ -19,11 +19,11 @@ public class IamTotpMfaCommons { public static final String KEY_TO_ENCRYPT_DECRYPT = "define_me_please"; public static final String TOTP_MFA_SECRET = "secret"; - public static final int DEFAULT_KEY_SIZE = 126; + public static final int DEFAULT_KEY_SIZE = 128; public static final int DEFAULT_ITERATIONS = 65536; public static final int DEFAULT_SALT_SIZE = 16; public static final int ANOTHER_KEY_SIZE = 192; public static final int ANOTHER_ITERATIONS = 6000; - public static final int ANOTHER_SALT_SIZE = 36; + public static final int ANOTHER_SALT_SIZE = 8; }