java.security.NoSuchAlgorithmException: No such algorithm: IDEA/CFB/NoPadding

Solution Verified - Updated -

Issue

I am using Fuse 6.2.1 on EAP, I got java.security.NoSuchAlgorithmException: No such algorithm: IDEA/CFB/NoPadding exception during the PGP decryption.
Stacktrace:

org.bouncycastle.openpgp.PGPException: exception creating cipher
        at org.bouncycastle.openpgp.PGPPublicKeyEncryptedData.getDataStream(Unknown Source) [bcpg-jdk16-1.46.jar:1.46.0]
        at org.bouncycastle.openpgp.PGPPublicKeyEncryptedData.getDataStream(Unknown Source) [bcpg-jdk16-1.46.jar:1.46.0]
        at org.bouncycastle.openpgp.PGPPublicKeyEncryptedData.getDataStream(Unknown Source) [bcpg-jdk16-1.46.jar:1.46.0]
        at org.apache.camel.converter.crypto.PGPDataFormat.unmarshal(PGPDataFormat.java:114) [camel-crypto-2.10.0.jar:2.10.0]
        at org.apache.camel.processor.UnmarshalProcessor.process(UnmarshalProcessor.java:69) [camel-core-2.15.1.redhat-621177.jar:2.15.1.redhat-621177]
Caused by: java.security.NoSuchAlgorithmException: No such algorithm: IDEA/CFB/NoPadding
        at javax.crypto.Cipher.getInstance(Cipher.java:688) [jce.jar:1.8.0_60]
        ... 80 more

Environment

  • Red Hat JBoss Fuse 6.2.1

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.