camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Willem Jiang (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CAMEL-5475) Can't unmarshal pgp messages encrypted with ElGamal.
Date Tue, 31 Jul 2012 08:38:35 GMT

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

Willem Jiang commented on CAMEL-5475:
-------------------------------------

@Bryan, 
Can you provide a test patch which shows the issue of looking up the ElGamal keys?

                
> 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

        

Mime
View raw message