Ticket #27 (closed defect: fixed)

NB! Read about ReportingBugs before filing a ticket!

Opened 7 years ago

Last modified 7 years ago

PCSC: in shared mode another application can reset the card and this will make opensc fail up the highest layers

Reported by: martin Owned by: devel
Priority: normal Milestone:
Component: opensc Version: devel
Severity: critical Keywords: pcsc reset
Cc: Blocked By:
Blocking:

Description

On windows opensc pkcs11 module and esteid CSP are used together. the CSP implementation resets the card after each transaction (as SCardBeginTransaction) and this will make the opensc pkcs11 module fail with 'card reset' error up to the application layer. This is not reasonable and should be handled by opensc instead. Reasonable solution is to remove the pcsc specific error (card reset) from opensc headers, handle the reset with SCardReconnect in reader-pcsc.c and maybe reset some structures in card.c. Patch will be posted soon, fix available in  http://opensc.org/svn/ideelabor/trunk/mp/opensc/

Change History

comment:1 Changed 7 years ago by martin

  • Status changed from new to closed
  • Resolution set to fixed

Fixed in [2553]

Note: See TracTickets for help on using tickets.