commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "kim (JIRA)" <>
Subject [jira] [Created] (CRYPTO-138) failed to run on openssl 1.1.0g
Date Thu, 01 Feb 2018 20:55:00 GMT
kim created CRYPTO-138:

             Summary: failed to run on openssl 1.1.0g
                 Key: CRYPTO-138
             Project: Commons Crypto
          Issue Type: Bug
          Components: Cipher
    Affects Versions: 1.0.0
         Environment: uname -a
Linux 4.14.14-300.fc27.x86_64 #1 SMP Fri Jan 19 13:19:54 UTC 2018 x86_64 x86_64
x86_64 GNU/Linux
openssl version 
OpenSSL 1.1.0g-fips  2 Nov 2017
java -version
openjdk version "1.8.0_161"
OpenJDK Runtime Environment (build 1.8.0_161-b14)
OpenJDK 64-Bit Server VM (build 25.161-b14, mixed mode)


            Reporter: kim

running sample code from :


failed with this error message:


Caused by: CryptoCipher \{org.apache.commons.crypto.cipher.OpenSslCipher}
is not available or transformation AES/CBC/PKCS5Padding is not supported.
    at org.apache.commons.crypto.cipher.CryptoCipherFactory.getCryptoCipher(
    at org.apache.commons.crypto.utils.Utils.getCipherInstance(
    ... 10 more
Caused by: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
    at org.apache.commons.crypto.utils.ReflectionUtils.newInstance(
    at org.apache.commons.crypto.cipher.CryptoCipherFactory.getCryptoCipher(
    ... 11 more
Caused by: java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(
    at java.lang.reflect.Constructor.newInstance(
    at org.apache.commons.crypto.utils.ReflectionUtils.newInstance(
    ... 12 more
Caused by: java.lang.RuntimeException: java.lang.UnsatisfiedLinkError: EVP_CIPHER_CTX_cleanup
    at org.apache.commons.crypto.cipher.OpenSslCipher.<init>(
    ... 17 more
Caused by: java.lang.UnsatisfiedLinkError: EVP_CIPHER_CTX_cleanup
    at org.apache.commons.crypto.cipher.OpenSslNative.initIDs(Native Method)
    at org.apache.commons.crypto.cipher.OpenSsl.<clinit>(
    at org.apache.commons.crypto.cipher.OpenSslCipher.<init>(
    ... 17 more

Process finished with exit code 1




i guess it has something to do with changes of openssl from 1.0 -> 1.1






This message was sent by Atlassian JIRA

View raw message