Availability and configuration of BCFIPS/BCJSSE Provider for JDK11

Ioannis Kakavas <ikakavas-g/[email protected]> Tue, 16 Apr 2019 09:28:23 +0000
Newsgroups gmane.comp.encryption.bouncy-castle.devel
Message-ID <_VK3kTr-dL3AXKxt0uDOvOYUStvbgoZcFm4W0bNe2qZyN9Xb00QRbVHml2YxROrG6a0VxLyZ0vLaSNFlNaohyoxT_iih7YDrU2CMVZzK8BE=@protonmail.com>
Hi there folk,


Would you mind sharing your plans if any, regarding the availability of the BouncyCastleFipsProvider for JDK11 ?

I can see in the roadmap [1] that 1.0.2 which is the next release, is tested against JDK11, but I'm wondering if you plan to release the provider in a way that can be installed and used with JDK11 as there doesn't seem to currently be a way.


- >JDK9 removed the extension mechanism by which external jars could be placed in jre/lib/ext. This has been one of the common ways to configure the BouncyCastleFipsProvider statically. Would you plan to release the Provider as a module instead? Granted, this can be easily overcome by adding the bc-fips jar in the classpath of the application.

- Also, with JDK9 the ability to pass extra parameters to the Security Providers on load time was removed as well. (Related issue that refers to the behavior change: [2]). This, however, is the only available way to configure SunJSSE or BCJSSE to use the BCFIPS provider, and as such put the JSSE provider in FIPS Mode [3]. Would you plan to release a BCJSSE Procider that is pre-configured in FIPS mode?


Best Regards
Ioannis

[1] https://www.bouncycastle.org/fips_java_roadmap.html
[2] https://bugs.openjdk.java.net/browse/JDK-8217907
[3] https://downloads.bouncycastle.org/fips-java/BC-FJA-(D)TLSUserGuide-1.0.7.pdf