Ticket #148 (new defect)
Opened 17 months ago
Clear PIN cache after card unbind/disconnect
| Reported by: | marcoppc | Owned by: | opensc-devel@… |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | opensc | Version: | 0.11.2 |
| Severity: | major | Keywords: | |
| Cc: |
Description
When you are done accessing a card and close the session with:
sc_pkcs15init_unbind(profile); sc_pkcs15_unbind(p15card); sc_unlock(card); sc_disconnect_card(card, 0);
and then open a new session, opensc uses the pin cached in the first session. Insted the cache should be deleted after an unbind so that it is not reused afterwards.
Note: See
TracTickets for help on using
tickets.
