New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error parsing private key for Box Developer Edition. #168
Comments
@bgoldman might have a clue |
Same problem here on attempting to get a BoxDeveloperEditionAPIConnection: Unable to create OpenSSL PBDKF: PBKDF-OpenSSL SecretKeyFactory not available |
I was using the 1.53 versions (latest at the moment) of the BouncyCastle jars. When I switched to the prior version (1.52) this error disappeared. |
I was using 1.53 as well, changed to 1.52 and error went away. |
@majoely or @dwilcoxen ,How do you change the version? Are you using Maven? |
I'm not using Maven, just a library of jar files that I downloaded. |
The stack trace indicates the JcePEMDecryptorProviderBuilder has not been configured to use the BC provider. |
I am getting the error above when testing the CreateAppUser.java code.
I have downloaded both the pre-compiled jar from oss.sonatype.org and I have downloaded the source and compiled it and the error appears in both.
I followed the instructions for generation the public/private key pair and it looks fine.
When I googled parts of the stack trace "PBKDF-OpenSSL" it was suggesting that I should be searching for "PBKDF2-OpenSSL" but from what I could see that was part of the bouncycastle code.
I have been looking into this on and off for a couple of days now and have run out of options. Is this the right place to be bringing this up?
Here is the stacktrace:
The text was updated successfully, but these errors were encountered: