Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add code to prevent locking the token by mistake
For tokens that properly report the status of the PIN authentication counter via token flags, check them out and refuse to attempt login if the token is on its last try. A token should never be on its last try and finding this flags set is an indication that someone may have hardocded an in correct pin in the configuration or an URI. Proceeding would have a high chance of ending up blocking the token. Fixes: latchset#455 Signed-off-by: Simo Sorce <[email protected]>
- Loading branch information