Camel PGP unmarshalling fails with "java.io.IOException: unknown object in stream: 47"
Issue
- Camel PGP unmarshalling fails with the following exception:
java.io.IOException: unknown object in stream: 47
at org.bouncycastle.openpgp.PGPObjectFactory.nextObject(Unknown Source)
at org.apache.camel.converter.crypto.PGPKeyAccessDataFormat.getDecryptedData(PGPKeyAccessDataFormat.java:431)
at org.apache.camel.converter.crypto.PGPKeyAccessDataFormat.unmarshal(PGPKeyAccessDataFormat.java:372)
at org.apache.camel.processor.UnmarshalProcessor.process(UnmarshalProcessor.java:69)
at org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:548)
at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:201)
Environment
- Red Hat Fuse (Fuse)
- 7
- Apache Camel (Camel)
camel-pgp
unmarshaller
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.