From 1771574e12c6fd4da59851d9e3bc2ed52530b364 Mon Sep 17 00:00:00 2001 From: Thomas <> Date: Tue, 21 Feb 2023 17:43:06 +0100 Subject: test(hsm): fix broken test, because HSM-Facade change an error message --- .../egiz/eaaf/modules/auth/sl20/utils/JsonSecurityUtilsHsmKeyTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'eaaf_modules/eaaf_module_auth_sl20/src/test') diff --git a/eaaf_modules/eaaf_module_auth_sl20/src/test/java/at/gv/egiz/eaaf/modules/auth/sl20/utils/JsonSecurityUtilsHsmKeyTest.java b/eaaf_modules/eaaf_module_auth_sl20/src/test/java/at/gv/egiz/eaaf/modules/auth/sl20/utils/JsonSecurityUtilsHsmKeyTest.java index 29e0b565..28df67aa 100644 --- a/eaaf_modules/eaaf_module_auth_sl20/src/test/java/at/gv/egiz/eaaf/modules/auth/sl20/utils/JsonSecurityUtilsHsmKeyTest.java +++ b/eaaf_modules/eaaf_module_auth_sl20/src/test/java/at/gv/egiz/eaaf/modules/auth/sl20/utils/JsonSecurityUtilsHsmKeyTest.java @@ -104,7 +104,7 @@ public class JsonSecurityUtilsHsmKeyTest extends AbstractJsonSecurityUtilsTest { JoseException error = assertThrows("wrong exception", JoseException.class, () -> jweDecrypt.getPayload()); - assertEquals("wrong errorMsg", "javax.crypto.AEADBadTagException: mac check in GCM failed", error.getMessage()); + assertEquals("wrong errorMsg", "RSA-OAEP-256 key unwrap/decrypt failed.", error.getMessage()); } -- cgit v1.2.3