You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2015/06/22 18:37:00 UTC

[jira] [Commented] (CAMEL-7938) Crypto won't decrypt message with multiple encrypted parts if "our" key isn't the first part

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

ASF GitHub Bot commented on CAMEL-7938:
---------------------------------------

Github user steveardis closed the pull request at:

    https://github.com/apache/camel/pull/305


> Crypto won't decrypt message with multiple encrypted parts if "our" key isn't the first part
> --------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-7938
>                 URL: https://issues.apache.org/jira/browse/CAMEL-7938
>             Project: Camel
>          Issue Type: Bug
>          Components:  camel-crypto
>    Affects Versions: 2.11.1
>            Reporter: Steve Ardis
>            Assignee: Willem Jiang
>             Fix For: 2.13.0
>
>
> If a message has multiple PGPPublicKeyEncryptedData (meaning, multiple recipients), PGPDataFormat fails to decrypt the message (unless our key is the first PGPPublicKeyEncryptedData element).
> Said differently, if a message is encrypted for recipient A and B (and the encrypted parts are in that order) and we are recipient B, the message fails to decrypt.
> This definitely affected version 2.11.1.  Looking at the latest version of the same files, this is most likely still an issue.  The fix in the patch that will be supplied is currently being used in our application, but unfortunately I do not have a test case available.
> I will create a pull-request on Github shortly.



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