I got the SCB built on Ubuntu and can now run it on XP. The command
line programs work.

It works with FireFox 2.0.0.14. and IE 7.

With both, when I try an use the Windows "Safely Remove Hardware" icon
with the smartcard still in the reader, I get the message "Problem
Ejecting GemPC Card Reader" "The service 'Smart Card' is preventing this
device from being stopped. Try stopping this service and then try to stop
the device again."

If I remove the card first, both FireFox and IE let me safely remove
the reader.

When I reinsert the reader and card , IE is able to use it again.
FireFox is not. I had to restart Firefox to get this to work.


I got it working with the IdAlly CSP and can use it to login to the Domain.

But this required some changes. When a CSP is run from Windows login,
there is no stdout or stderr, no special environment variables, no
HKEY_CURRENT_USER in the registry, and no path. The dlls must be in
the system path, like: windows\system32 which is where the IDACSP.dll
is, so I had to copy to system32:

  pkcs11-spy.dll
  opensc-pkcs11.dll
  libpkcs15init-2.dll
  libopensc-2.dll
  libscconf-2.dll
  ssleay32.dll
  libeay32.dll
  libltdl-3.dll

There may be issues with ssleay32 and libeay32 in system32 if
other applications also require their own versions of these dlls.


I also removed any paths for dlls in the registry:
rather then using what was in sbin\opensc-install.bat
I used:

  Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\PKCS11-Spy]
"Output"="c:\\temp\\pkcs11-spy.output.txt"
"Module"="opensc-pkcs11.dll"

I am still playing around with the opensc.conf
with debug, debug_file and error_file.

But I am pleasantly surprised to see that the Mingw cross
complied dlls can be called from a CSP during winlogin!



-- 

  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