Andreas Jellinghaus wrote:


Douglas, you experimented with the ID Ally CSP and got it
working with opensc, right? If so, could you tell me:
a) the CSP documentation states that not only the CSP but also
   all dll's used by the CSP need to be signed by microsoft. I think
   that is wrong, and our DLLs - OpenSC-pkcs11.dll, libopensc.dll,
   libltdl.dll, openssl.dll etc. - are all unsigned and it still works.
   Can you confirm this?
b) do you know of any way to get the ID Ally CSP to work without our
   libraries installed in system32? if we can get an CSP to work without
   (and putty, mozilla thunderbird and firefox still work too), we might
   change our installation stuff to only install them in some program
   directory.


I can do part of this. I can take pkcs11-spy.dll, and opensc-pkcs11.dll
out of Win32, and change the registry where needed to point at
c:\Program Files\smart card bundle\ for these and it it works.

But as soon as I take opensc.dll out it does not. Spy fails when trying
to load opensc-pkcs11.dll.  I would suspect that Windows
is trying to load the additional dlls needed by opensc-pkcs11.dll and it
will not use the directory in which the opensc-pkcs11.dll was found.
See:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dllproc/base/dynamic-link_library_search_order.asp

It might be possible to use the LoadLibraryEx with alternalte search order
from Spy to pass in the path. But if you don't use Spy, then
the IDAlly would be calling the LoadLibrary not LoadLibraryEx
and this would not work.


--

 Douglas E. Engert  <[EMAIL PROTECTED]>
 Argonne National Laboratory
 9700 South Cass Avenue
 Argonne, Illinois  60439
 (630) 252-5444
_______________________________________________
opensc-devel mailing list
opensc-devel@lists.opensc-project.org
http://www.opensc-project.org/mailman/listinfo/opensc-devel

Reply via email to