nacx commented on issue #53: JCLOUDS-1526 - Update BouncyCastle dependency
URL: https://github.com/apache/jclouds/pull/53#issuecomment-554953337
@coheigea Looks like this dependency does not work in Oracle JDK, as it
fails to validate the signature. Can you have a look? We are not only
targetting OpenJDK, so we may have to revert this unless we find a workaround
that makes it work with other JDKs.
```bash
java.lang.SecurityException: JCE cannot authenticate the provider BC
at javax.crypto.JarVerifier.verifySingleJar(JarVerifier.java:462)
at javax.crypto.JarVerifier.verifyJars(JarVerifier.java:322)
at javax.crypto.JarVerifier.verify(JarVerifier.java:250)
at javax.crypto.JceSecurity.verifyProviderJar(JceSecurity.java:161)
at javax.crypto.JceSecurity.getVerificationResult(JceSecurity.java:187)
at javax.crypto.Cipher.getInstance(Cipher.java:643)
at org.jclouds.encryption.internal.JCECrypto.cipher(JCECrypto.java:81)
at
org.jclouds.encryption.bouncycastle.BouncyCastleCrypto.cipher(BouncyCastleCrypto.java:44)
at
org.jclouds.encryption.bouncycastle.BouncyCastlePasswordDecryptionTest.decryptAndVerify(BouncyCastlePasswordDecryptionTest.java:117)
at
org.jclouds.encryption.bouncycastle.BouncyCastlePasswordDecryptionTest.testDecryptStringWithBouncyCastle(BouncyCastlePasswordDecryptionTest.java:81)
```
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org
With regards,
Apache Git Services