Details
-
Bug
-
Status: Closed
-
Blocker
-
Resolution: Fixed
-
3.3.4
-
None
-
Unknown
Description
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.