diff options
author | Thomas <> | 2023-02-21 17:43:06 +0100 |
---|---|---|
committer | Thomas <> | 2023-02-21 17:43:06 +0100 |
commit | 1771574e12c6fd4da59851d9e3bc2ed52530b364 (patch) | |
tree | f431d71f32009d60daa75f7654cb99b9084fb006 /eaaf_modules/eaaf_module_auth_sl20 | |
parent | 3cf7fe7b2e4aacb8db664e94d0a4fd46ac75cf19 (diff) | |
download | EAAF-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
Diffstat (limited to 'eaaf_modules/eaaf_module_auth_sl20')
-rw-r--r-- | eaaf_modules/eaaf_module_auth_sl20/src/test/java/at/gv/egiz/eaaf/modules/auth/sl20/utils/JsonSecurityUtilsHsmKeyTest.java | 2 |
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()); } |