[java-idp-oidc] 02/02: JCOMOIDC-67 - Improve support for RSA* and ECDH-ES* JWE algorithms

Henri Mikkonen henri.mikkonen at iki.fi
Fri Mar 17 10:23:22 UTC 2023


This is an automated email from the git hooks/post-receive script.

hjmikkon pushed a commit to branch main
in repository java-idp-oidc.

View the commit online:
http://git.shibboleth.net/view/?p=java-idp-oidc.git;a=commit;h=c3435bdfc10d008e98ed83595c50234eca1d8881

commit c3435bdfc10d008e98ed83595c50234eca1d8881
Author: Henri Mikkonen <henri.mikkonen at iki.fi>
AuthorDate: Fri Mar 17 12:22:21 2023 +0200

    JCOMOIDC-67 - Improve support for RSA* and ECDH-ES* JWE algorithms
    
    https://shibboleth.atlassian.net/browse/JCOMOIDC-67
    
    Configuration flow now detects the newly enabled algorithms (java-idp-plugin-oidc-config)
---
 .../idp/plugin/oidc/op/profile/flow/ConfigurationFlowTest.java       | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/idp-oidc-extension-impl/src/test/java/net/shibboleth/idp/plugin/oidc/op/profile/flow/ConfigurationFlowTest.java b/idp-oidc-extension-impl/src/test/java/net/shibboleth/idp/plugin/oidc/op/profile/flow/ConfigurationFlowTest.java
index 372e924e..9665cc16 100644
--- a/idp-oidc-extension-impl/src/test/java/net/shibboleth/idp/plugin/oidc/op/profile/flow/ConfigurationFlowTest.java
+++ b/idp-oidc-extension-impl/src/test/java/net/shibboleth/idp/plugin/oidc/op/profile/flow/ConfigurationFlowTest.java
@@ -64,8 +64,9 @@ public class ConfigurationFlowTest extends AbstractOidcFlowTest {
         Assert.assertNull(originalMetadata.getUserInfoJWSAlgs());
         final OIDCProviderMetadata metadata = OIDCProviderMetadata.parse(response.toHTTPResponse().getContent());
         Assert.assertEquals(metadata.getIssuer(), new Issuer("https://op.example.org"));;
-        final List<String> jweAlgs = Arrays.asList("RSA1_5", "RSA-OAEP", "RSA-OAEP-256", "A128KW", "A192KW", "A256KW",
-                "A128GCMKW", "A192GCMKW", "A256GCMKW");
+        final List<String> jweAlgs = Arrays.asList("RSA1_5", "RSA-OAEP", "RSA-OAEP-256", "RSA-OAEP-384", "RSA-OAEP-512",
+                "A128KW", "A192KW", "A256KW", "A128GCMKW", "A192GCMKW", "A256GCMKW", "ECDH-ES", "ECDH-ES+A128KW",
+                "ECDH-ES+A192KW", "ECDH-ES+A256KW");
         final List<String> jweEncs = Arrays.asList("A128CBC-HS256", "A192CBC-HS384", "A256CBC-HS512", "A128GCM", 
                 "A192GCM", "A256GCM");
         final List<String> jwsAlgs = Arrays.asList("RS256", "RS384", "RS512", "ES256", "ES384", "ES512", "HS256",

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the commits mailing list