Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-12574

PGPDataFormat: java.lang.NoSuchMethodError: org.bouncycastle.openpgp.PGPPublicKeyRingCollection

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • 2.21.0
    • None
    • camel-crypto
    • Unknown

    Description

      Camel Version: 2.21.0 (Springboot)

      JDK version: 1.8.0_121

      unit test: camel_pgp.zip

      more details: on StackOverflow

      issue:

      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

      Attachments

        1. test.out
          217 kB
          Ronak Patel
        2. camel_pgp.zip
          29 kB
          Ronak Patel

        Activity

          People

            Unassigned Unassigned
            ronpatel Ronak Patel
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: