-
Notifications
You must be signed in to change notification settings - Fork 711
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
opensc-explorer does not verify PIN on Windows 8.1 #1043
Comments
I can tell the reason for the bug (Windows and transactions being limited to 5 seconds, see the remark here: https://msdn.microsoft.com/en-us/library/windows/desktop/aa379469(v=vs.85).aspx), but the solution depends on several factors.
|
The solution to this problem is to lock the token only when needed. It's already implemented in |
Just tested the latest build (0.16.0.1294) available on Windows 8.1 and the same issue has occurred for
If PIN was not supplied within 5 seconds from tool's execution, |
Sure, because nobody implemented the fix above. Go ahead if you have some spare time! |
Related to #875 |
@frankmorgner |
* opensc-explorer: use explicit locking fixed #1043 * opensc-tool: use explicit locking * pkcs15-crypt: use explicit locking
Expected behaviour
PIN should be verified correctly while using opensc-explorer tool.
Actual behaviour
Error message is shown:
Issue is not occurring on Ubuntu 16.10 with OpenSC 0.16.
Steps to reproduce
Preconditions:
Admin PIN set to
12345678
OS: Windows 8.1 (also reported on Windows 10)
OpenSC build: latest development, No 0.16.0.1243
Nitrokey Pro v0.8
Steps
opensc-explorer
verify CHV3 3132333435363738
Logs
opensc-explorer_windows8.txt
opensc-explorer-issue-ubuntu16.10-working.txt
CC: @jans23
The text was updated successfully, but these errors were encountered: