On 22/09/06, Nils Larsch <[EMAIL PROTECTED]> wrote:
the reason for this patch was that afaik in your patch the protected DF file would never be parsed even after the pin has been verified. Did you perhaps test whether DF enumerations works after you've verified the pin ?
Even if I C_Login() with the correct PIN the protected DF will not be read again. In fact the VERIFY APDU is sent to the card, 90 00 comes back and then no more exchanges with the card. I have also discovered that login in slot 0 works but fails in slot 1 with CKR_USER_PIN_NOT_INITIALIZED even if "pkcs11-tool --list-slots" gives: Slot 0: token flags: login required, PIN initialized, token initialized Slot 1: token flags: PIN initialized, token initialized The returned error code comes from pkcs15_login() in pkcs11/framework-pkcs15.c Any idea why it fails? Should it really fail even if the token has the "PIN initialized" flag set? bye, -- Dr. Ludovic Rousseau _______________________________________________ opensc-devel mailing list opensc-devel@lists.opensc-project.org http://www.opensc-project.org/mailman/listinfo/opensc-devel