-
-
Notifications
You must be signed in to change notification settings - Fork 274
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
Strange behaviour with pamu2fcfg #216
Comments
In 2.3.0, a change in behavior for getting user consent was made. Previously, when the token got a request, it would block and wait for a button press until replying to the platform. But this causes premature timeout issues on some platforms (like you point out). The new behavior is to only wait about ~750ms and return an error that the button was not pressed, and it is up to the platform to poll the token repeatedly for the desired timeout duration. The periods in between polls account for the blinking period. About how long is the period for pam? |
I think it's about a second, you can see the timeouts it's using in the output above (in ms). The thing I don't understand is how Chromium for example is managing to not have the led blink if all applications have to do this polling now. |
With the current 2.3.0 firmware I'm seeing quite strange behaviour on when enrolling a token with pamu2fcfg. The LED will blink orange/green instead of going solid orange waiting for a click. Correspondingly a click will only register when the led is orange.
The 2.2.2 firmware does not exhibit this behaviour, but pamu2fcfg will time out after a couple of seconds which is also less than ideal.
With 2.2.2, no press:
With 2.3.0, no press:
The text was updated successfully, but these errors were encountered: