From: Jakub J. <jj...@re...> - 2016-11-08 13:38:30
|
Hello all, The source of the pkcs11-global.c [1] says that the blocking call does not work in some pcsc-lite versions. From the git/svn history [2], the versions are before pcsc-lite 1.5.3, the changelog points more to the version 1.5.4 fixing various use cases of the SCardGetStatusChange() calls. I tested with current pcsc-lite and with the condition removed and basic use case with waiting for slot status change from PKCS#11 in single thread worked flawlessly. Is there something more needed than adding a check for pcsc-lite 1.6 in the configure scripts to allow this functionality again? Are there any test cases to make sure it works fine with Firefox for example? [1] https://github.com/OpenSC/OpenSC/blob/master/src/pkcs11/pkcs11-global.c#L645 [2] https://github.com/OpenSC/OpenSC/commit/8af1b60afdad95f569279528ff96dda9d1d4e9f8 [3] https://alioth.debian.org/plugins/scmgit/cgi-bin/gitweb.cgi?p=pcsclite/PCSC.git;a=blob;f=ChangeLog;hb=HEAD#l535 Kind regards, -- Jakub Jelen Software Engineer Security Technologies Red Hat |