• Resolved Jan B-Punkt

    (@janbpunkt)


    When I first installed the plugin-in long time ago, everything worked well, but then, I suddenly wasn’t able to log in using my good old NitroKey.
    It said “Device not supported”, when I tried to re-register the key for the user.

    So I bought a new (updated) NitroKey and was able to sucessfully register it for the user, BUT still was not able to log in with it.

    Is there some kind of log file where I can have a look for possible reasons? Browser console is empty.
    I’m using the current Chrome on Windows 10 64-bit.

    Thanks ??

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Kaspars

    (@kasparsd)

    Hi! I’m sorry to hear about the issues with NitroKey.

    Could you please try re-adding the keys to your own profile and testing the login functionality for your own account first?

    Adding U2F keys for other users was fixed just a few weeks ago in version 0.5.2. Maybe there is still a bug with the implementation, although I did confirm it working with a Somu key.

    Thread Starter Jan B-Punkt

    (@janbpunkt)

    Hey Kaspars,

    maybe there’s some misunderstanding.
    It all affects the same user (my profile).

    So in short

    • User A (me, admin) was able to use old NitroKey
    • Suddenly that key was not recognized anymore
    • Removed old key
    • Bought new key and was able to register it for User A (me, admin)
    • Not able to authenticate with new key
    • Removing new key and adding it back works fine, but does not solve problem

    Cheers
    Jan

    • This reply was modified 4 years, 6 months ago by Jan B-Punkt.
    Plugin Author Kaspars

    (@kasparsd)

    Thanks for confirming the exact steps to replicate this @janbpunkt!

    Could you please elaborate on this step “Not able to authenticate with new key”. There must be something in the browser console as you login and press the button on the key. Here is the relevant Javascript logic:

    https://github.com/WordPress/two-factor/blob/529c973deb4677e45cc243b1336dd718aa472611/providers/js/fido-u2f-login.js

    so there should be a “Registration Failed” message if the key authentication failed.

    Thread Starter Jan B-Punkt

    (@janbpunkt)

    Seems as looking at the console (and wondering why nothing appears there) again was a good point.
    Turns out, one of the other plugins surpressed all js-code on the login page.

    After deactivation of said plugin, everything works as before.

    Shame on me and thank you so much!

    • This reply was modified 4 years, 6 months ago by Jan B-Punkt.
    Plugin Author Kaspars

    (@kasparsd)

    Great news, thanks for confirming!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Logging in with NitroKey not working’ is closed to new replies.