You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Willem Jiang (JIRA)" <ji...@apache.org> on 2014/11/20 12:42:34 UTC

[jira] [Resolved] (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:all-tabpanel ]

Willem Jiang resolved CAMEL-7938.
---------------------------------
       Resolution: Fixed
    Fix Version/s: 2.13.0

> 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)