Re-enable FIDO U2F in Chromium 98 +

1.9k views Asked by At

In recent versions of Chromium (98+), my Yubikey is broken / no longer working to authenticate / register with websites using the FIDO2 U2F standard.

For example this demo site: https://u2f.cloudentify.com/u2fdemo/

Simply nothing happens and this is written to the console:

Failed to execute 'postMessage' on 'DOMWindow': The target origin provided ('chrome-extension://kmendfapggjehodndflmmgagdbamhnfd') does not match the recipient window's origin ('null').

How can I get this working again?

1

There are 1 answers

3
Jonathan Cross On

It turns out that the way U2F was implemented in Chromium was a bit of a hack and has been deprecated since Chrome 95. Here is the Yubikey page. It should have been a smooth transition to WebAuthn, but this is not true for all websites.

How to re-enable U2F API:

  1. Go to this url: chrome://flags/#u2f-security-key-api
  2. Locate "Enable the U2F Security Key API" Enable the U2F Security Key API
  3. Change the dropdown from "Default" to "Enabled".
  4. Restart the browser.