Ticket #27 (closed defect: fixed)
NB! Read about ReportingBugs before filing a ticket!
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
Note: See
TracTickets for help on using
tickets.

Fixed in [2553]