From nobody Sun Jul 31 06:33:28 2022 X-Original-To: usb@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4LwWfc5xhZz4X0Yf for ; Sun, 31 Jul 2022 06:33:28 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4LwWfc2Nrkz40Np for ; Sun, 31 Jul 2022 06:33:28 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4LwWfc1RP0zkbb for ; Sun, 31 Jul 2022 06:33:28 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 26V6XS12090343 for ; Sun, 31 Jul 2022 06:33:28 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 26V6XSpt090342 for usb@FreeBSD.org; Sun, 31 Jul 2022 06:33:28 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: usb@FreeBSD.org Subject: [Bug 265528] webauth u2f doesn't seem to work when hw.usb.usbhid.enable=1 is set (no uhid dev entries) Date: Sun, 31 Jul 2022 06:33:28 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: usb X-Bugzilla-Version: 13.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: trueos@norwegianrockcat.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: usb@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-usb List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-usb@freebsd.org X-BeenThere: freebsd-usb@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1659249208; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=IQo8xKLgED1fwinPYjAqjIneesgI1N5Jc/J1D8MK8Yg=; b=ayP1USTJj54Asi5A026rd6R8QbkDV5rvAPpU2BgCuwFe+n84qZVwSOKtsAbHg55jQ4xOAO WkStPDew4VQbTpcMfzHnZTSk4DuOJpCTN+f8MX5spsrRCsfibTnrLY8JrtWwDR7S+7l5jL Ixp+vtQu+5+JHXqBttUsieK59aGgIb/KYehdgTiyFY79EMacue3yp8lcw3cENbt2WdNpxM T2EaYpRWxZIcpYD31tOc+57h/5mQtPrn6Hv6W/qxBS8j4sHXc89hcJ/H+eqDFgISimumX9 COUwoUAtdUlIsZuMWGoV6L4HvMVs4XXtgbiRZohb++U8s05OyoMDDIq4R6pssw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1659249208; a=rsa-sha256; cv=none; b=gl3BdYkwCgkBU0RTa7asbqMP2SW/vCqVNcqZuPYwSAV9uc0RYEPpsNCi7QrFFzI92UHBW2 9v7tvDvWBzXq7RKwNg0T7gB5L4l6chjvSEeKBugBHdm+n+cO+KWUbo9eUGryKDmRaNtA5P SEq05Lr9hGxuaT/Btal5OxUzXbs++MlrKQ8nC/C1yaoy+k+48q4A56sl4CzKMuIo/14wsj sa6i6aYFEN+hRbioBEaXOa6qLWKHcatyV5lDLomiWMOxUuuo0jhJF9124vtP2l1axRhNKy Z3XxjK0XFiWcBDgpK7OnYtvM+CIP2HKqtdzi1EjOdgyYqejSNAoS2tMnTBqJsg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D265528 Bug ID: 265528 Summary: webauth u2f doesn't seem to work when hw.usb.usbhid.enable=3D1 is set (no uhid dev entries) Product: Base System Version: 13.1-RELEASE Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: usb Assignee: usb@FreeBSD.org Reporter: trueos@norwegianrockcat.com There seems to be an issue when running a YubiKey with hw.usb.usbhid.enable= set in /boot/loader.conf The browser presents the prompt for pressing the YubiKey, but the press is never registered in the browser. Steps to reproduce: 0. Have access to a YubiKey 1. Boot 13.1-RELEASE with hw.usb.usbhid.enable=3D1 in /boot/loader.conf 2. Install www/firefox and sysutils/u2f-devd 2a. Ensure the user is in the u2f group and restart devd for the key to get proper permissions 3. Go to https://demo.yubico.com/webauthn-technical/registration and click next. 4. You will get a prompt to press the YubiKey, but the press will never register, and the only way out is to cancel. Booting without hw.usb.usbhid.enable=3D0 (or not set) does work. The only difference I can see in /dev between the two boots is that there are entries for uhid* when hw.usb.usbhid.enable=3D0, but none when enable=3D1. From loo= king at u2f-devd, web browsers use uhid for webauth. --=20 You are receiving this mail because: You are the assignee for the bug.=