On 4/22/08, Douglas E. Engert <[EMAIL PROTECTED]> wrote:
> 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.

Please use my latest branch [1], it should fix this.

>  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:
>

First of all there are keys at HKEY_LOCAL_MACHINE.
I would have added the OpenSC bin directory to the path instead of
copying these.

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

I don't like to add new stuff into system32...

>  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 don't really get this...

>
>  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!

Sure!
I was trying to tell you, these are standard Windows executables.

Alon.

[1] http://www.opensc-project.org/svn/opensc/branches/alonbl/pnp
_______________________________________________
opensc-devel mailing list
[email protected]
http://www.opensc-project.org/mailman/listinfo/opensc-devel

Reply via email to