I'm finding that a few commands (for now dig and nslookup) that fail no matter what with the following output:
19-Jan-2016 15:01:50.219 ENGINE_by_id failed (crypto failure) 19-Jan-2016 15:01:50.219 error:2606A074:engine routines:ENGINE_by_id:no such engine:eng_list.c:389:id=gost dig: dst_lib_init: crypto failure Even stuff like dig -h results in this, so I guess this happens before the actual command execution starts
I remember these commands used to work, but they're not something I used very often, so I can't exactly pinpoint the origin
I can, however, say that I have messed with ssl options recently. Particularly, I was having problems handling GPG keys, and had to run export OPENSSL_CONF=/etc/ssl/openssl.cnf in order to make it work I also found this issue, which seems to be similar. But that project has nothing to do with what I'm doing, and their solution (unsetting OPENSSL_CONF) did not work for me
EDIT: I'm running Arch Linux. The only change I did regarding OpenSSL configurations was running export OPENSSL_CONF=/etc/ssl/openssl.cnf which I needed to use gpg, but I already tried unsetting that
Running unset OPENSSL_CONF; dig -h results in the same output
strace -ffF -s200 dig 2>&1 | fgrep gost; it should try to load it from somewhere like/usr/lib/i386-linux-gnu/openssl-1.0.2/engines/libgost.sobut it's probably not there.[pid 5688] write(2, "25-Jan-2016 09:19:18.075 error:2606A074:engine routines:ENGINE_by_id:no such engine:eng_list.c:389:id=gost\n", 10725-Jan-2016 09:19:18.075 error:2606A074:engine routines:ENGINE_by_id:no such engine:eng_list.c:389:id=gostI looked for alibgost.soand I found it in both/usr/lib/engines/libgost.soand/usr/lib32/engines/libgost.so. @vik I'll update the post with the info you requested[pid 15583] open("/usr/lib/x86_64-linux-gnu/openssl-1.0.2/engines/libgost.so", O_RDONLY|O_CLOEXEC) = 6-- so for some reason it doesn't even try to load the library on your system. Just out of curiosity, what happens if you doLD_PRELOAD=/usr/lib/engines/libgost.so dig?