summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas <>2023-02-21 17:43:06 +0100
committerThomas <>2023-02-21 17:43:06 +0100
commit1771574e12c6fd4da59851d9e3bc2ed52530b364 (patch)
treef431d71f32009d60daa75f7654cb99b9084fb006
parent3cf7fe7b2e4aacb8db664e94d0a4fd46ac75cf19 (diff)
downloadEAAF-Components-1771574e12c6fd4da59851d9e3bc2ed52530b364.tar.gz
EAAF-Components-1771574e12c6fd4da59851d9e3bc2ed52530b364.tar.bz2
EAAF-Components-1771574e12c6fd4da59851d9e3bc2ed52530b364.zip
test(hsm): fix broken test, because HSM-Facade change an error message
-rw-r--r--eaaf_modules/eaaf_module_auth_sl20/src/test/java/at/gv/egiz/eaaf/modules/auth/sl20/utils/JsonSecurityUtilsHsmKeyTest.java2
1 files changed, 1 insertions, 1 deletions
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());
}