Menu

#124 Wrong assumptions about slots returned by PKCS11 library

1.4.1
closed-fixed
nobody
None
5
2018-03-04
2018-02-06
No

When using PKCS11 library to manage smart cards the code assumes that all slots returned by the library call are not empty. In some cases Gemalto's library returns list of slots in which the first one is empty and the second is ocupied by the smart card, this causes xca to report error and isn't able to use the smart card. Attached patches fixes this issue as records only non-empty slots.

2 Attachments

Discussion

  • Christian Hohnstaedt

    • status: open --> closed-fixed
     
  • Christian Hohnstaedt

    Integrated into XCA 1.4.1

    commit b0d131e79a060c89a9d7e3ade020caf7bd67bd8b
    Author: Dancho Penev dpslavov@users.sourceforge.net
    Date: Wed Feb 7 11:04:32 2018 +0100

    SF bug #124 Wrong assumptions about slots returned by PKCS11 library
    
    When using PKCS11 library to manage smart cards the code assumes
    that all slots returned by the library call are not empty.
    In some cases Gemalto's library returns list of slots in which the
    first one is empty and the second one is occupied by the smart card,
    this causes xca to report an error and isn't able to use the smart card.