On Mon, Aug 06, 2007 at 03:32:45PM -0700, Siddhartha Kasivajhula wrote: > On 8/6/07, Eddy Nigg (StartCom Ltd.) <[EMAIL PROTECTED]> wrote: > > This might be an issue, specially since I suspect that your > > opensc was compiled with a different openssl version. > > Yes, it looks like that was the problem! I'd used OpenSSL 0.9.8 to > compile OpenSC (I didn't realize there were two versions on disk). > I changed the PATH to use 0.9.8, but now I get a different error: > > OpenSSL> engine dynamic -pre > SO_PATH:/opt/ITsmartcard/lib/engines/engine_pkcs11.so -pre ID:pkcs11 -pre > LIST_ADD:1 -pre LOAD -pre MODULE_PATH:/opt/ITsmartcard/lib/opensc-pkcs11.so > 9658:error:2606A074:engine routines:ENGINE_by_id:no such > engine:/export/builds/onnv_68/usr/src/common/openssl/crypto/engine/eng_list.c:415:id=dynamic > OpenSSL> > > The version of OpenSSL I'm using now is: > OpenSSL 0.9.8a 11 Oct 2005 (+ security patches to 2006-09-29)
Unfortunately it doesn't seem to support dynamic loading of engines. What does engine -v say? Still only pkcs11? Can you build your own openssl 0.9.8 that does in fact support engine dynamic? You can also try loading opensc-pkcs11.so directly as a pkcs11 engine again, but I don't know if opensc-pkcs11.so works that way. > Here's the ldd output: This confirms Eddy's suspicion - engine_pkcs11.so and opensc-pkcs11.so were both built against 0.9.8. //Peter _______________________________________________ opensc-devel mailing list opensc-devel@lists.opensc-project.org http://www.opensc-project.org/mailman/listinfo/opensc-devel