java.security.NoSuchAlgorithmException: Cannot find any provider supporting McElieceFujisakiWithSHA256 at javax.crypto.Cipher.getInstance(Cipher.java:524) at org.bouncycastle.pqc.jcajce.provider.test.McElieceFujisakiCipherTest.setUp(McElieceFujisakiCipherTest.java:20) at junit.framework.TestCase.runBare(TestCase.java:132) at junit.framework.TestResult$1.protect(TestResult.java:110) at junit.framework.TestResult.runProtected(TestResult.java:128) at junit.framework.TestResult.run(TestResult.java:113) at junit.framework.TestCase.run(TestCase.java:124) at junit.framework.TestSuite.runTest(TestSuite.java:243) at junit.framework.TestSuite.run(TestSuite.java:238) at junit.framework.TestSuite.runTest(TestSuite.java:243) at junit.framework.TestSuite.run(TestSuite.java:238) at junit.textui.TestRunner.doRun(TestRunner.java:116) at junit.textui.TestRunner.doRun(TestRunner.java:109) at junit.textui.TestRunner.run(TestRunner.java:77) at org.bouncycastle.pqc.jcajce.provider.test.AllTests.main(AllTests.java:15)
Description above is for bcprov, there are failures for bcpkix as well: ParseTest(org.bouncycastle.tsp.test.ParseTest)java.lang.ExceptionInInitializerError at org.bouncycastle.tsp.test.ParseTest.requestParse(ParseTest.java:265) at org.bouncycastle.tsp.test.ParseTest.testParsing(ParseTest.java:369) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at org.bouncycastle.tsp.test.AllTests.main(AllTests.java:15) Caused by: java.lang.RuntimeException: java.security.NoSuchProviderException: JCE cannot authenticate the provider BC at org.bouncycastle.tsp.test.TSPTestUtil.<clinit>(TSPTestUtil.java:86) No idea if there are failures for bcmail, it has a rather minimal amount of tests.
Let's remove the blocker: we can stabilise the package regardless.
Affected version =dev-java/bcprov-1.49 has gone