[ 
https://issues.apache.org/jira/browse/CXF-8185?focusedWorklogId=361737&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-361737
 ]

ASF GitHub Bot logged work on CXF-8185:
---------------------------------------

                Author: ASF GitHub Bot
            Created on: 20/Dec/19 17:08
            Start Date: 20/Dec/19 17:08
    Worklog Time Spent: 10m 
      Work Description: frelibert commented on pull request #617: CXF-8185 
Generated Ephemeral Public Key missing in JWE Headers when J…
URL: https://github.com/apache/cxf/pull/617
 
 
   …son Serialization is used
   
   Fixed JsonSerialization.
   JWE Headers created during encryption for recipient(s) are now added to the 
unprotected "header" of the recipient(s).
   This also fixes the "alg" header missing in some tests (for direct 
encryption) which is also mandatory according to the spec.
   
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Issue Time Tracking
-------------------

            Worklog Id:     (was: 361737)
    Remaining Estimate: 0h
            Time Spent: 10m

> Generated Ephemeral Public Key missing in JWE Headers when Json Serialization 
> is used
> -------------------------------------------------------------------------------------
>
>                 Key: CXF-8185
>                 URL: https://issues.apache.org/jira/browse/CXF-8185
>             Project: CXF
>          Issue Type: Bug
>          Components: JAX-RS Security
>    Affects Versions: 3.3.4
>            Reporter: Frederik Libert
>            Priority: Blocker
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> When using Key Agreement with Elliptic Curve Diffie-Hellman Ephemeral Static 
> (ECDH-ES), the 
> JWA Specification says that an Ephemeral Public Key MUST be set as "epk" 
> Header Parameter (
> https://tools.ietf.org/html/rfc7518#page-16).
> The key is generated during the encryption process.
> However, it is only added to the jwe output when using compact serialization.
> When using Json serialization, the header gets lost somewhere along the way.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to