[ https://issues.apache.org/jira/browse/CAMEL-5475?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Willem Jiang reassigned CAMEL-5475: ----------------------------------- Assignee: Willem Jiang > Can't unmarshal pgp messages encrypted with ElGamal. > ---------------------------------------------------- > > Key: CAMEL-5475 > URL: https://issues.apache.org/jira/browse/CAMEL-5475 > Project: Camel > Issue Type: Bug > Components: camel-crypto > Affects Versions: 2.10.0, 2.11.0, Future > Environment: All environments > Reporter: Bryan McGuire > Assignee: Willem Jiang > Attachments: patch.txt > > Original Estimate: 4h > Remaining Estimate: 4h > > Current strategy for finding the private key is to iterate the secret > keychain and matching on the configured email address. This is incorrect; > the secret key chain should be searched by the key id found in the public key > encrypted message. What happens now is the DSA signing key is matched instead > of the ElGamal decryption key, and this throws > java.security.InvalidKeyException. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira