search for: ckf_

Displaying 1 result from an estimated 1 matches for "ckf_".

Did you mean: ckf
2016 Jun 17
2
ssh-pkcs11.c
...#39;: ", si->token.label); pin = read_passphrase(prompt, RP_ALLOW_EOF); if (pin == NULL) return (-1); /* bail out */ Actually a zero-length PIN will not cause a NULL to be returned, so it will still try to authenticate and fail the PIN login! Also, I think it would be great to support the CKF_* flags to provide some feedback to the user regarding PIN tries left remaining, something like this: if (info.flags & CKF_USER_PIN_COUNT_LOW) printf("WARNING: User PIN count low\n"); else if (info.flags & CKF_USER_PIN_FINAL_TRY) printf("WARNING: User PIN final try\n&qu...