drone29a / clj-oauth

OAuth Consumer support for Clojure
BSD 2-Clause "Simplified" License
273 stars 52 forks source link

org.bouncycastle.jce.provider.BouncyCastleProvider #31

Closed danielsz closed 10 years ago

danielsz commented 10 years ago

Out of the blue, I started seeing ClassNotFoundExceptions for org.bouncycastle.jce.provider.BouncyCastleProvider.

I read that it is not part of the standard Java distribution, which left me very confused because I don't remember ever installing BouncyCastleProvider separately.

Could a recent upgrade of the JRE on my system (Mac OS X 10.7.5, Sun Java version "1.7.0_45") have anything to do with this?

Anyway, I've downloaded the jar from the BouncyCastle website, put it in jre/lib/ext and added a line to $JAVA_HOME/jre/lib/security/java.security. Now I get a java.lang.ClassNotFoundException: org.bouncycastle.openssl.PEMReader.

I'm utterly confused.

drone29a commented 10 years ago

Don't be confused, it was a regression. Update to [clj-oauth "1.5.1"].

I also thought the dep was unnecessary and had removed it. Sorry for the confusion!

danielsz commented 10 years ago

Oops. Yeah, I just figured out and issued a PR. Feel free to discard.