You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The window.u2f object in Firefox is now a native browser API which is read-only which is why it now triggers this error when the U2F polyfill tries to override the global u2f here:
I'm hitting this error too on a website on which I've installed two-factor, however in my case it does impact functionality and I can't log in using a yubikey. I have to use one of the backup codes I generated to log in.
Here's a screen capture of Firefox's console after pressing the yubikey button:
It is likely worth specifying that in this case Firefox is really the Tor Browser 8.0.8 (based on Mozilla Firefox 60.6.1esr) (64-bit) (with security settings set at "standard" and security.webauth.u2f set to true manually).
error 4 is kinda weird. 4 generally means that the key is
already registered (on regeister)
not registered (on login)
which in this case is certainly a weird error as that means that the Yubi got a proper U2F request, but just that maybe the keyhandle could for example be borked (for example doing base64 to it) or whatever
Source: https://developers.yubico.com/U2F/Libraries/Client_error_codes.html
If you want I can gladly take a look. just contact me using the form on website in my profile
U2F is deprecated and no longer works in Chrome, so the provider is being removed in #439 . Given that, there's probably no reason to keep this open anymore.
The
window.u2f
object in Firefox is now a native browser API which is read-only which is why it now triggers this error when the U2F polyfill tries to override the globalu2f
here:https://github.com/georgestephanis/two-factor/blob/ebbdaf3692deff5794d181e21944679f2dd3fd2c/includes/Google/u2f-api.js#L17
This is error doesn't impact the functionality and the U2F process still works as expected.
The text was updated successfully, but these errors were encountered: