[JIRA] (JCOMOIDC-67) Improve support for RSA* and ECDH-ES* JWE algorithms
Henri Mikkonen (Jira)
jira at shibboleth.atlassian.net
Mon Mar 13 12:11:59 UTC 2023
Henri Mikkonen ( https://shibboleth.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A1614c4a5-c89e-4edc-9421-990bd6ea85fd ) *created* an issue
Java Common OIDC Library ( https://shibboleth.atlassian.net/browse/JCOMOIDC?atlOrigin=eyJpIjoiMjM4NTllMWM3MjcyNDVlMjgxNGIwYjUzMmM1Yjc1ZDkiLCJwIjoiaiJ9 ) / Improvement ( https://shibboleth.atlassian.net/browse/JCOMOIDC-67?atlOrigin=eyJpIjoiMjM4NTllMWM3MjcyNDVlMjgxNGIwYjUzMmM1Yjc1ZDkiLCJwIjoiaiJ9 ) JCOMOIDC-67 ( https://shibboleth.atlassian.net/browse/JCOMOIDC-67?atlOrigin=eyJpIjoiMjM4NTllMWM3MjcyNDVlMjgxNGIwYjUzMmM1Yjc1ZDkiLCJwIjoiaiJ9 ) Improve support for RSA* and ECDH-ES* JWE algorithms ( https://shibboleth.atlassian.net/browse/JCOMOIDC-67?atlOrigin=eyJpIjoiMjM4NTllMWM3MjcyNDVlMjgxNGIwYjUzMmM1Yjc1ZDkiLCJwIjoiaiJ9 )
Issue Type: Improvement Assignee: Henri Mikkonen ( https://shibboleth.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A1614c4a5-c89e-4edc-9421-990bd6ea85fd ) Components: Security Created: 13/Mar/23 8:11 AM Fix Versions: 2.2.0 Priority: Trivial Reporter: Henri Mikkonen ( https://shibboleth.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A1614c4a5-c89e-4edc-9421-990bd6ea85fd )
The JWA spec [1] lists the following implementation requirements for RSA* and ECDH-ES* algorithms:
* RSA1_5 (Recommended-)
* RSA-OAEP (Recommended+)
* RSA-OAEP-256 (Optional)
* ECDH-ES (Recommended+)
* ECDH-ES+A128KW (Recommended)
* ECDH-ES+A192KW (Optional)
* ECDH-ES+A256KW (Recommended)
Regarding the RSA* algorithms, Nimbus has deprecated the first two to SHA-1 based hashing, and recommends using RSA-OAEP-256 instead [2]. Their current code also supports RSA-OAEP-384 and RSA-OAEP-512, even though those don’t seem to be included in any specs. It feels sensible to add support for those in our code too.
Regarding the ECDH-ES-* algorithms, we’ve previously only supported the ECDH-ES one. Nimbus supports the other three too, so it’s straightforward to add support in our code too. This has also already been requested by some deployers.
[1] https://www.rfc-editor.org/rfc/rfc7518.html#section-4.1 ( https://www.rfc-editor.org/rfc/rfc7518.html#section-4.1 )
[2] https://connect2id.com/blog/nimbus-jose-jwt-deprecates-use-of-sha-1 ( https://connect2id.com/blog/nimbus-jose-jwt-deprecates-use-of-sha-1 )
( https://shibboleth.atlassian.net/browse/JCOMOIDC-67#add-comment?atlOrigin=eyJpIjoiMjM4NTllMWM3MjcyNDVlMjgxNGIwYjUzMmM1Yjc1ZDkiLCJwIjoiaiJ9 ) Add Comment ( https://shibboleth.atlassian.net/browse/JCOMOIDC-67#add-comment?atlOrigin=eyJpIjoiMjM4NTllMWM3MjcyNDVlMjgxNGIwYjUzMmM1Yjc1ZDkiLCJwIjoiaiJ9 )
Get Jira notifications on your phone! Download the Jira Cloud app for Android ( https://play.google.com/store/apps/details?id=com.atlassian.android.jira.core&referrer=utm_source%3DNotificationLink%26utm_medium%3DEmail ) or iOS ( https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=EmailNotificationLink&mt=8 ) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100217- sha1:2199b34 )
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/commits/attachments/20230313/fc356e4c/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-static-comment-icon-be195feb-6569-4f7f-bed1-c3bc8f703182
Type: image/png
Size: 1084 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20230313/fc356e4c/attachment-0004.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-avatar-4d163bb1-b197-4e35-85ea-07de375ee886
Type: image/png
Size: 448 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20230313/fc356e4c/attachment-0005.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-static-trivial-a86a4b60-fc16-4ca9-87ad-c377a746d20a
Type: image/png
Size: 446 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20230313/fc356e4c/attachment-0006.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-static-footer-desktop-logo-98f8610a-c414-4ad2-8bd1-c2b1d0c6f9b9
Type: image/png
Size: 10805 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20230313/fc356e4c/attachment-0007.png>
More information about the commits
mailing list