From: Douglas E E. <dee...@gm...> - 2015-12-13 21:26:21
|
<html> <head> <meta content="text/html; charset=windows-1252" http-equiv="Content-Type"> </head> <body bgcolor="#FFFFFF" text="#000000"> Sounds like a call to SCardStatus resets the 5 second timer. Could a thread be added with a 2 second timer to to keep the transaction alive? May not help with debugging.<br> <br> <br> <br> <div class="moz-cite-prefix">On 12/13/2015 12:42 PM, Jaroslav Imrich wrote:<br> </div> <blockquote cite="mid:CAB...@ma..." type="cite"> <div dir="ltr">As a result there are also commercial middleware solutions available out there which display their own PIN dialog during the signing operation and you need to enter your PIN in less then 5 seconds otherwise signing operation fails :)<br> <div class="gmail_extra"><br> </div> <div class="gmail_extra">Regards, Jaroslav<br> <br> </div> <div class="gmail_extra"><br> <div class="gmail_quote">On Sun, Dec 13, 2015 at 7:09 PM, Vincent Le Toux <span dir="ltr"><<a moz-do-not-send="true" href="mailto:vin...@my..." target="_blank"><a class="moz-txt-link-abbreviated" href="mailto:vin...@my...">vin...@my...</a></a>></span> wrote:<br> <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> <div dir="ltr"> <div> <div> <div>Hi,<br> <br> </div> I just want to share something on which I've lost my day before finding this:<br> </div> Since Windows 10 (8?) the card is reset if a smart card transaction is inactive for 5 seconds.<br> <br> </div> Quote: "If a transaction is held on the card for more than five seconds with no operations happening on that card, then the card is reset. Calling any of the Smart Card and Reader Access Functions or Direct Card Access Functions on the card that is transacted results in the timer being reset to continue allowing the transaction to be used." <div> <div> <div> <div> <div>source: <a moz-do-not-send="true" href="https://msdn.microsoft.com/en-us/library/windows/desktop/aa379469%28v=vs.85%29.aspx" target="_blank">https://msdn.microsoft.com/en-us/library/windows/desktop/aa379469%28v=vs.85%29.aspx</a><br> <br> </div> <div>This timeout was not active on Windows 7.<br> </div> <div>Not easy to attach a debugger to debug OpenSC with that ...<br> </div> <div><br> </div> <div>regards,<span class="HOEnZb"><font color="#888888"><br> -- <br> </font></span></div> <span class="HOEnZb"><font color="#888888"> <div> <div>--<br> Vincent Le Toux<br> <br> My Smart Logon<br> <a moz-do-not-send="true" href="http://www.mysmartlogon.com/" target="_blank">www.mysmartlogon.com</a></div> </div> </font></span></div> </div> </div> </div> </div> <br> ------------------------------------------------------------------------------<br> <br> _______________________________________________<br> Opensc-devel mailing list<br> <a moz-do-not-send="true" href="mailto:Ope...@li...">Ope...@li...</a><br> <a moz-do-not-send="true" href="https://lists.sourceforge.net/lists/listinfo/opensc-devel" rel="noreferrer" target="_blank">https://lists.sourceforge.net/lists/listinfo/opensc-devel</a><br> <br> </blockquote> </div> </div> </div> <br> <fieldset class="mimeAttachmentHeader"></fieldset> <br> <pre wrap="">------------------------------------------------------------------------------ </pre> <br> <fieldset class="mimeAttachmentHeader"></fieldset> <br> <pre wrap="">_______________________________________________ Opensc-devel mailing list <a class="moz-txt-link-abbreviated" href="mailto:Ope...@li...">Ope...@li...</a> <a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/opensc-devel">https://lists.sourceforge.net/lists/listinfo/opensc-devel</a> </pre> </blockquote> <br> <pre class="moz-signature" cols="200">-- Douglas E. Engert <a class="moz-txt-link-rfc2396E" href="mailto:DEE...@gm..."><DEE...@gm...></a> </pre> </body> </html> |