Please help, I am facing the same issue, I am using
Maven 2.0 to build my application jar and I put the bouncy castle jars in my project dependencies, while making the final jar, the bouncy castle jars get extracted and they loose the signatures... (I assume this is what happens)
becaue I get the same error.... while decryption....
JCE cannot authenticate the provider BC
javax.crypto.Cipher.getInstance(DashoA12275),
org.bouncycastle.openpgp.PGPSecretKey.extractKeyData(Unknown Source), org.bouncycastle.openpgp.PGPSecretKey.extractPrivateKey(........
I use this code to see if BC gets installed and it does->
Output
Please help how do I pact the signed jar into my application jar without extracting the bouncy castle jars. : (
Thanks a lot in advance... !