[ 
https://issues.apache.org/jira/browse/CAMEL-12574?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ronak Patel updated CAMEL-12574:
--------------------------------
    Component/s:  camel-crypto

> PGPDataFormat: java.lang.NoSuchMethodError: 
> org.bouncycastle.openpgp.PGPPublicKeyRingCollection
> -----------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-12574
>                 URL: https://issues.apache.org/jira/browse/CAMEL-12574
>             Project: Camel
>          Issue Type: Bug
>          Components:  camel-crypto
>    Affects Versions: 2.21.0
>            Reporter: Ronak Patel
>            Priority: Major
>              Labels: pgp
>         Attachments: junitTest.zip
>
>
> *Camel Version:* 2.21.0 (Springboot)
> *JDK version:* 1.8.0_121
> *unit test:* [^junitTest.zip]
> *issue:*
> {code:java}
> Caused by: java.lang.NoSuchMethodError: 
> org.bouncycastle.openpgp.PGPPublicKeyRingCollection.<init>(Ljava/io/InputStream;Lorg/bouncycastle/openpgp/operator/KeyFingerPrintCalculator;)V
> at 
> org.apache.camel.converter.crypto.PGPDataFormatUtil.findPublicKeys(PGPDataFormatUtil.java:204)
> at 
> org.apache.camel.converter.crypto.PGPDataFormatUtil.findPublicKeys(PGPDataFormatUtil.java:96)
> at 
> org.apache.camel.converter.crypto.PGPDataFormat.getEncryptionKeys(PGPDataFormat.java:235)
> at 
> org.apache.camel.converter.crypto.PGPKeyAccessDataFormat.marshal(PGPKeyAccessDataFormat.java:222)
> at 
> org.apache.camel.processor.MarshalProcessor.process(MarshalProcessor.java:69)
> ... 17 common frames omitted{code}
>  
> *more details:* [on 
> StackOverflow|https://stackoverflow.com/questions/50610962/camel-2-21-0-pgp-encryption-not-working]



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to