You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In Keycloak we currently use bcpkix-jdk15on and bcprov-jdk15ondependencies. The Quarkus Platform BOM provides us with bcpkix-jdk18on and bcprov-jdk18on.
The difference is about APIs compatibility for JDK - 1.5 and up vs. 1.8 and up.
@mposolda@pedroigor are there any concerns when it comes to upgrading these two?
This turned out to be a bigger change after all, so moving the milestone.
I found out that adapters are using BC jdk15on dependencies through wildfly-feature-pack. AFAIK, they might clash with the jdk18on dependencies. At the same time, I'm not sure we can simply exclude the jdk15on alternatives. I tried it in #21543 but we'll need to run the full test pipelines with it.
I set the milestone to a micro release for now. One thing to consider is if we can just remove the jdk15on deps in a micro release. We might need to wait for 23.
@vmuzikar I think we can go with your changes in #21543. The adapters should be JDK 1.8+ compliant anyways even though not what is coming from the feature pack.
Since those bits need to be provided by users, we'd need to monitor any version changes and them document in migration guides. User action is required, so I'd avoid any version changes if absolutely not required.
Since we'd need to (manually) monitor the version changes to give users a heads-up in docs and migration guide, aligning with Quarkus BOM doesn't give us too much benefit, IMHO.
Activity
sschu commentedon Jun 30, 2023
Just as a note, there is also a current version for jdk15to18 but that's apparently not what Quarkus is using.
pedroigor commentedon Jul 3, 2023
@Pepo48 I don't think there is. See https://www.bouncycastle.org/latest_releases.html.
Now we are based on JDK 17 we should be able to support multi-release JARs.
vmuzikar commentedon Jul 10, 2023
This turned out to be a bigger change after all, so moving the milestone.
I found out that adapters are using BC
jdk15ondependencies throughwildfly-feature-pack. AFAIK, they might clash with thejdk18ondependencies. At the same time, I'm not sure we can simply exclude thejdk15onalternatives. I tried it in #21543 but we'll need to run the full test pipelines with it.I set the milestone to a micro release for now. One thing to consider is if we can just remove the
jdk15ondeps in a micro release. We might need to wait for 23.@pedroigor @sschu WDYT?
pedroigor commentedon Jul 10, 2023
@vmuzikar I think we can go with your changes in #21543. The adapters should be JDK 1.8+ compliant anyways even though not what is coming from the feature pack.
sschu commentedon Jul 11, 2023
@vmuzikar +1 to what Pedro said. I am also wondering whether we should do the same with the bc-fips dependencies, they are also in Quarkus?
vmuzikar commentedon Jul 11, 2023
@sschu I think we're not including the
bc-fipsdeps any way as we instruct users to "sideload" them.1 remaining item
pedroigor commentedon Jul 11, 2023
We do not distribute those. See https://www.keycloak.org/server/fips#_bouncycastle_fips_bits.
But I agree with you and those should be resolved from Quarkus, right?
vmuzikar commentedon Jul 11, 2023
-1 for resolving FIPS deps from Quarkus.
Since those bits need to be provided by users, we'd need to monitor any version changes and them document in migration guides. User action is required, so I'd avoid any version changes if absolutely not required.
pedroigor commentedon Jul 11, 2023
Isn't that a documentation issue? I mean, we are already referencing the BC version they should use.
But I'm not hard on resolving from Quarkus. I can see it as beneficial to manage this one on our side too.
vmuzikar commentedon Jul 11, 2023
Since we'd need to (manually) monitor the version changes to give users a heads-up in docs and migration guide, aligning with Quarkus BOM doesn't give us too much benefit, IMHO.
sschu commentedon Jul 11, 2023
Fine for me, I wasn't aware they are not actually shipped.
Update bcpkix and bcprov dependencies (#21543)
Update bcpkix and bcprov dependencies (keycloak#21543)
Update bcpkix and bcprov dependencies (#21543) (#21845)