cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sergey Beryozkin (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CXF-6641) JWE elliptic curve error
Date Wed, 28 Oct 2015 12:08:27 GMT

    [ https://issues.apache.org/jira/browse/CXF-6641?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14978307#comment-14978307
] 

Sergey Beryozkin commented on CXF-6641:
---------------------------------------

Hi Colm, this algo can now also be configurable at runtime with a content-algo property. If
you had some local test in place - please add, otherwise I can add a system test to finalize,
closing it for now in preparation for the releases

> JWE elliptic curve error
> ------------------------
>
>                 Key: CXF-6641
>                 URL: https://issues.apache.org/jira/browse/CXF-6641
>             Project: CXF
>          Issue Type: Bug
>            Reporter: Colm O hEigeartaigh
>
> There's a bug I spotted in the elliptic curve encryption code in JOSE - I'm not sure
off hand what the correct behaviour is:
> EcdhDirectKeyJweEncryption.EcdhHelper takes a "String ctAlgo" as a parameter that is
later used as:
> ContentAlgorithm jwtAlgo = ContentAlgorithm.valueOf(ctAlgo);
> However, EcdhAesWrapKeyEncryptionAlgorithm which constructs EcdhHelper, passes through
the key algorithm, not the content algorithm - keyAlgo.getJwaName() leading to an error.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message