JCE cannot authenticate the provider BC - KeyStore

luizurias <[email protected]> Mon, 15 Jul 2019 14:57:46 -0500 (CDT)
Newsgroups gmane.comp.encryption.bouncy-castle.devel
Message-ID <[email protected]>
Hello,

After i updated BC from 1.60 to 1.61 (occurs in 1.62 too) i am getting this
error. It only occurs with KeyStore, when i use the BC provider for others
operations (such as Cipher, etc..) i dont get this error. And in version
1.60 works fine.

I already tried to add the bc-*.jar in the jre/lib/ext but the error
continues

Of course this dont happen when i use OpenJDK. I am using Oracle JDK 1.6_45.

Has anyone ever had anything like it or know what is going on?

Caused by: java.io.IOException: error constructing MAC:
java.lang.SecurityException: JCE cannot authenticate the provider BC
	at
org.bouncycastle.jcajce.provider.keystore.pkcs12.PKCS12KeyStoreSpi.engineLoad(Unknown
Source)
	at java.security.KeyStore.load(Unknown Source)



--
Sent from: http://bouncy-castle.1462172.n4.nabble.com/Bouncy-Castle-Dev-f1462173.html