I recall that Bouncy Castle has some crypto export implications. If it's in the distro then I think we'd have to update https://www.apache.org/licenses/exports/ to reflect that Bouncy Castle is again included in the product. But that's doable. Just have to recall how one updates that.
On Thu, Apr 29, 2021 at 1:08 PM Holden Karau <hol...@pigscanfly.ca> wrote: > Hi Folks, > > I've deployed a new version of K3s locally and I ran into an issue > with the key format not being supported out of the box. We delegate to > fabric8 which has bouncy castle EC as an optional dependency. Adding > it would add ~6mb to the Kube jars. What do folks think? > > Cheers, > > Holden > > P.S. > > If you're running K3s in your lab as well and get "Exception in thread > "main" io.fabric8.kubernetes.client.KubernetesClientException: > JcaPEMKeyConverter is provided by BouncyCastle, an optional > dependency. To use support for EC Keys you must explicitly add this > dependency to classpath." I worked around it by adding > > https://repo1.maven.org/maven2/org/bouncycastle/bcpkix-jdk15on/1.68/bcpkix-jdk15on-1.68.jar > & > <https://repo1.maven.org/maven2/org/bouncycastle/bcpkix-jdk15on/1.68/bcpkix-jdk15on-1.68.jar&> > https://repo1.maven.org/maven2/org/bouncycastle/bcprov-jdk15on/1.68/bcprov-jdk15on-1.68.jar > to my class path. > > > > > -- > Twitter: https://twitter.com/holdenkarau > Books (Learning Spark, High Performance Spark, etc.): > https://amzn.to/2MaRAG9 > YouTube Live Streams: https://www.youtube.com/user/holdenkarau > > --------------------------------------------------------------------- > To unsubscribe e-mail: dev-unsubscr...@spark.apache.org > >