[ https://issues.apache.org/jira/browse/CAMEL-7938?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14219294#comment-14219294 ]
Willem Jiang commented on CAMEL-7938: ------------------------------------- It looks this issue is addressed by CAMEL-7052 and CAMEL-7192. [~yarddog] Could you try to run some test with Camel 2.13.2 or Camel 2.14.0 to verify the fix? > 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 > > 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)