Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 09 Sep 2022 14:04:06 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 266317] www/firefox 104.0.1 and firefox-esr 91.13.0 freezes when using WebAuthn security keys
Message-ID:  <bug-266317-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D266317

            Bug ID: 266317
           Summary: www/firefox 104.0.1 and firefox-esr 91.13.0 freezes
                    when using WebAuthn security keys
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: snakedoctr@gmail.com

OVERVIEW:
  Any WebAuthn site where a security key is required/configured (e.g., Goog=
le,
GitHub, etc.) isn't working properly.
  If Firefox is working properly, the security key should light up when log=
ging
in and you should be able to press it to authenticate (or register).
  Instead, it appears to work the first or second time as usual, but repeat=
ed
attempts (e.g., on a different site you're logging into) will not work (see
below) and/or Firefox will hang.

SYSTEM:
  FreeBSD hostname 13.1-RELEASE-p2 FreeBSD 13.1-RELEASE-p2 GENERIC amd64

FIREFOX VERSION:
  I've tried on www/firefox-104.0.1,2 and www/firefox-esr-91.13.0,1.
  Both have the same result.

STEPS TO REPRODUCE:
  As a test, visit the Yubikey WebAuthn demo page
(https://demo.yubico.com/webauthn-technical/registration).
  Click the "Next" button to perform a test registration.
  Firefox will prompt about demo.yubico.com requesting extended information
about the security key, I click "Anonymize anyway" and hit "Proceed".
  Your U2F key (Yuibkey, etc.) should start flashing and Firefox should pro=
mpt
with a "demo.yubico.com wants to register an account with one of your secur=
ity
keys."=20=20
  Touch the security key to authorize.
  The demo site should say "Regiration compelted!", and the next step is to
test the authentication.
  Click "Authenticate"
  Click the "Next" button to perform a test authentication.

  *This is where things may go one of a few different ways*

  1)=20
    Your U2F key (Yuibkey, etc.) should start flashing and Firefox should
prompt with a "demo.yubico.com wants to register an account with one of your
security keys."
    Touch the security key to authorize.
    The demo site will say "authentication successful!"
    *REPEAT the steps again and this time you will likely run into the seco=
nd
result below.

  2)
    Firefox should prompt with a "demo.yubico.com wants to register an acco=
unt
with one of your security keys."
    Your U2f key should start flashing, but doesn't.
    Click "Cancel".
    Firefox is now hung at what seems to be a network level -- open a new t=
ab
and try to pull up another website (any).
    Try to quit out of Firefox and it will not exit.  You'll need to force =
quit
the process.

EXPECTED RESULTS:
  When presented with the WebAuthn prompt from Firefox, the security key sh=
ould
light up and you should press it to register/authorize on the Yubikey demo
site.=20=20
  Firefox should not hang

ADDITIONAL INFORMATION/LOGS:
  I also tried www/chromium, but it doesn't even light up the security key,
even.

  The following logs are created when the security key either doesn't flash=
, or
when you do press it and authentication should proceed but doesn't:

  Firefox console error: JavaScript error:
resource://gre/modules/TelemetrySession.jsm, line 757: NS_ERROR_NOT_AVAILAB=
LE:
Component returned failure code: 0x80040111 (NS_ERROR_NOT_AVAILABLE)
[nsITelemetry.msSinceProcessStartExcludingSuspend]

  /var/log/messages: devd[1016]: check_clients:  dropping disconnected clie=
nt

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-266317-7788>