I'm facing the same issue in pysqlcipher.

I found a workaround, in:
https://github.com/sqlcipher/sqlcipher/pull/195/commits/37efb6a9e9995c21a3c9e632bb86b3ba6f613f79#diff-c2495c7f2211a99fba2bfb98a19a1916

They key to avoid the segfault is this line in the sqlcipher_openssl_cipher 
function:

+  EVP_CipherInit_ex(ectx, NULL, NULL, key, iv, mode);
-  EVP_CipherInit(ectx, NULL, key, iv, mode);

Note that it just uses the _ex version. I'm not familiar enough with openssl to 
know if this is a bad usage on the side of sqlcipher, or it's just a bug in 
openssl.

Already sent the patch to sqlcipher, but they replied that a new release with 
openssl 1.1 support will be released soon.

Reply via email to