[Pcsclite-muscle] Possible regression with Schlumberger egate token

Tomaž Šolc tomaz.solc at tablix.org
Thu Feb 22 10:14:03 PST 2018


On 22. 02. 2018 09:06, Ludovic Rousseau wrote:
> 2018-02-22 6:37 GMT+01:00 Martin Paljak <martin at martinpaljak.net>:
>>> On 21 Feb 2018, at 22:58, Tomaž Šolc <tomaz.solc at tablix.org> wrote:
>>>  commit 8eb9ea1 (SCardControl() may return
>>> SCARD_E_INSUFFICIENT_BUFFER). Since there is no mention that this should
>>> remove any support for obsolete hardware, I suspect the problem I'm
>>> seeing is a bug introduced by this commit.
>> AFAIU - this might be a bug in OpenSC rather than pcsc-lite, where buffer length checks seem to be justified?
> It looks like a known OpenSC problem.
> I found it discussed in https://github.com/OpenSC/openct/pull/5
> The fix has been merged in OpenSC in December 2015. So updating OpenSC
> to a newer version should fix the problem.

Thanks for sharing that link. Indeed applying the patch from that pull
request to openct makes my tokens work again with the stock pcscd in

It didn't occur to me to look at the openct repo, since the last
upstream release was in 2010.

Best regards

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.infradead.org/pipermail/pcsclite-muscle/attachments/20180222/0c28036b/attachment.sig>

More information about the pcsclite-muscle mailing list