From nobody Sun Aug 17 21:03:17 2025 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 4c4pGZ2MRXz643Gd for ; Sun, 17 Aug 2025 21:03:18 +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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4c4pGY4ppzz3WwN for ; Sun, 17 Aug 2025 21:03:17 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1755464597; 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: in-reply-to:in-reply-to:references:references; bh=CsTqTOfOWfDiUJoWVzrGBqqeVGrm9oIb3fXg0nVnX1k=; b=l86kOwteYnbxAQGWhS3Pj3ZZLHT0OsK7aXCPjBL+chjOlcbJQmA44lEg5rBlIT9Qc3/uRC 1YZHpOBC7Y6b9+QdpHutdQnUDH9Olo3K95kTLhz4/+/QFiBzwQLcWvyXKQYH2xPHUZ1zKi N9QcaUTNa4LVHg2bSI96YQcokb5XzjWrcd7STEpjG312JFYl77eCU61ODm0e+Vfx/XVnZm 1Tb5VkDF9mSV0Ibm5qadxD1nwMm0AQdqAFWJLRRhqOj2zlN31dztdBvSODV64HnQTZSK8N bN7QZYVdZl8TYkiaJ8c59yKw0bwTSuOHb8ukrM7yT9frjABly47OKAztdHWxSw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1755464597; 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: in-reply-to:in-reply-to:references:references; bh=CsTqTOfOWfDiUJoWVzrGBqqeVGrm9oIb3fXg0nVnX1k=; b=biaB5BWelNBHHc0CUBpCvHL22z3OjEMzY1gp8tsjzrVV6TSq1dAt1yZnDFsoXRpHzfN8EN n3yOzF+rU6A6kFJuN82rMGj+c28RsJsURALZ2nSrzWu/tVbXmbmrnxmhRSIjsvo47M2pUb Up8OEMbvUCw8oTWwQWgE+Zd5nivk8wt85kEM1Lz56yXBwRAsAaE1eZZLqUkFe+ctbH+Rcx s2QjIdE5A97V1j64pkREm0afMT0f0Kmf9l/k84bSycCxQkJRu4XD3pohDdvxWX4TEYRRLt 5J4UEtxGlNRxsDO4kQPMcxt8KkNl96PIQnDuZv274KNzsUfbQDwnK3XG4DyYVA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1755464597; a=rsa-sha256; cv=none; b=XpbpGeUlEaI091jMq8V+k3k4zB1D7pwAHc/YnX2M/RoyJlgz+VG99QDPar13+hgomNhy55 he2fgqYfhk+RjPWI4G5N7BTru/WIfSSohEvpSLrXmkVtWpezlWJBEF9UMqHVj7qivLIJOa eYT0KBHp5Mmt+XBwOie8DFgwRAabF5C48G1jgzXenD129BQdvcP8cW9t0ltzg9yNk/4OOM JfmduGlQyAoPDs/CFUEgQMm5Dh/r3xTXi9qN18XUB9nTMoFhZIlTfyoHPoerN0JMg8p182 o0NJWBI+3tLQv8/DJch/fFMSIDj4Nols3QwEUDwoiTUA4RAV+JqMEXyxFRwkgg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none 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 4c4pGY4K30zBct for ; Sun, 17 Aug 2025 21:03:17 +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 57HL3H40031936 for ; Sun, 17 Aug 2025 21:03:17 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 57HL3H7E031934 for usb@FreeBSD.org; Sun, 17 Aug 2025 21:03:17 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: bugzilla 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, 17 Aug 2025 21:03:17 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed 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 Some People X-Bugzilla-Who: commit-hook@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: wulf@freebsd.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" 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: X-BeenThere: freebsd-usb@freebsd.org Sender: owner-freebsd-usb@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D265528 --- Comment #10 from commit-hook@FreeBSD.org --- A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3D4a04e0a6c703db9d2d9e6a0ef2b000644= 143b705 commit 4a04e0a6c703db9d2d9e6a0ef2b000644143b705 Author: Vladimir Kondratyev AuthorDate: 2025-08-17 21:00:45 +0000 Commit: Vladimir Kondratyev CommitDate: 2025-08-17 21:00:45 +0000 u2f(4): a HID driver for FIDO/U2F security keys While FIDO/U2F keys were already supported by the generic uhid(4) and hidraw(4) drivers, this driver adds some additional features an does steps to tighten the security of FIDO/U2F access. - It automatically loads through devd. - Automatically enables HQ_NO_READAHEAD for FIDO/U2F devices. - Implements only miminum set of features. - Do not requires external devfs configuration to set character device permissions. - Names character device as u2f/# to make possible capsicum or any other pledge()-style sandboxing. PR: 265528 Differential Revision: https://reviews.freebsd.org/D51612 share/man/man4/Makefile | 1 + share/man/man4/u2f.4 (new) | 93 ++++++ sys/amd64/conf/GENERIC | 1 + sys/arm/conf/GENERIC | 1 + sys/arm64/conf/std.dev | 1 + sys/conf/NOTES | 2 + sys/conf/files | 1 + sys/conf/options | 1 + sys/dev/hid/u2f.c (new) | 590 +++++++++++++++++++++++++++++++++= ++++ sys/i386/conf/GENERIC | 1 + sys/modules/hid/Makefile | 1 + sys/modules/hid/u2f/Makefile (new) | 8 + sys/powerpc/conf/GENERIC64 | 1 + sys/powerpc/conf/GENERIC64LE | 1 + sys/riscv/conf/GENERIC | 1 + 15 files changed, 704 insertions(+) --=20 You are receiving this mail because: You are on the CC list for the bug.=