crypto icon indicating copy to clipboard operation
crypto copied to clipboard

Unhandled errors when trying to use crypto.

Open eko234 opened this issue 3 years ago • 3 comments

Hi, I got this error trying to use crypto:


crypto: EVP_CIPHER_CTX_new: internal error: unhandled error
 No such file or directory [system library:fopen:33558530]

crypto: EVP_CIPHER_CTX_new: internal error: unhandled error
 no such file [BIO routines:BIO_new_file:537317504]

crypto: EVP_CIPHER_CTX_new: internal error: unhandled error
 system lib [x509 certificate routines:X509_load_cert_crl_file:185090050]

And yet the operation I'm calling succeeds.

eko234 avatar Jun 15 '21 19:06 eko234

I think some libcrypto function is returning a success code but also adding to OpenSSL's error queue. The crypto Racket wrapper logs the errors when that occurs. I'm tempted to consider that an OpenSSL bug, but I'm not sure the OpenSSL developers feel the same way.

What operation(s) are you using?

rmculpepper avatar Jun 16 '21 08:06 rmculpepper

I'm encrypting. When decrypting I seem to get no errors.

eko234 avatar Jun 16 '21 15:06 eko234

Sorry, I'm also getting this error when decrypting :/

eko234 avatar Jun 16 '21 17:06 eko234