[JIRA] (JOIDC-122) Support jwk or jku in encrypted JWT headers

Philip Smart (Jira) jira at shibboleth.atlassian.net
Thu Aug 18 14:27:40 UTC 2022


Philip Smart ( https://shibboleth.atlassian.net/secure/ViewProfile.jspa?accountId=5afecdc1eb3ffa0c596652c4 ) *commented* on JOIDC-122 ( https://shibboleth.atlassian.net/browse/JOIDC-122?atlOrigin=eyJpIjoiZWZiYTg4YTZjMjIzNDYxNTllOGY0YTQ5YzYyOGUzZjciLCJwIjoiaiJ9 )

Re: Support jwk or jku in encrypted JWT headers ( https://shibboleth.atlassian.net/browse/JOIDC-122?atlOrigin=eyJpIjoiZWZiYTg4YTZjMjIzNDYxNTllOGY0YTQ5YzYyOGUzZjciLCJwIjoiaiJ9 )

I do not see any reason the EncryptTokenAction in the OP could not support Direct Encryption (even if it is not currently supported by the runtime) e.g:

else if ((JWEAlgorithm.Family.AES_KW.contains(encAlg) || JWEAlgorithm.Family.AES_GCM_KW.contains(encAlg)) 
                   && credential.getSecretKey() != null) {
               jweObject.encrypt(new AESEncrypter(credential.getSecretKey()));
           } else if (JWEAlgorithm.DIR.equals(encAlg) && credential.getSecretKey() != null){
               jweObject.encrypt(new DirectEncrypter(credential.getSecretKey()));
           }

( https://shibboleth.atlassian.net/browse/JOIDC-122#add-comment?atlOrigin=eyJpIjoiZWZiYTg4YTZjMjIzNDYxNTllOGY0YTQ5YzYyOGUzZjciLCJwIjoiaiJ9 ) Add Comment ( https://shibboleth.atlassian.net/browse/JOIDC-122#add-comment?atlOrigin=eyJpIjoiZWZiYTg4YTZjMjIzNDYxNTllOGY0YTQ5YzYyOGUzZjciLCJwIjoiaiJ9 )

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#100205- sha1:6417f3f )
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/commits/attachments/20220818/8c1ee991/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-static-comment-icon-b7db2dbd-0763-49f6-ad4e-66e2a318dcda
Type: image/png
Size: 1084 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20220818/8c1ee991/attachment-0003.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-avatar-e1eb13ef-6c33-440a-9b69-e3daa1f8f929
Type: image/png
Size: 457 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20220818/8c1ee991/attachment-0004.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-static-footer-desktop-logo-e629c96b-ac61-4078-a0fa-a440cc52a9f3
Type: image/png
Size: 10805 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20220818/8c1ee991/attachment-0005.png>


More information about the commits mailing list