Devuan bug report logs - #328
libu2f-udev: rules are not functional, permissions not being set

version graph

Package: libu2f-udev; Maintainer for libu2f-udev is (unknown); Source for libu2f-udev is src:libu2f-host.

Reported by: Distributed Shenanigans <hyperspace.towel@googlemail.com>

Date: Sun, 2 Jun 2019 16:33:01 UTC

Severity: normal

Tags: debian, moreinfo

Fixed in version 1.1.10-2

Done: Mark Hindley <mark@hindley.org.uk>

Forwarded to https://bugs.debian.org/951201

Full log


🔗 View this message in rfc822 format

X-Loop: owner@bugs.devuan.org
Subject: bug#328: libu2f-udev: rules are not functional, permissions not being set
Reply-To: Distributed Shenanigans <hyperspace.towel@googlemail.com>, 328@bugs.devuan.org
Resent-From: Distributed Shenanigans <hyperspace.towel@googlemail.com>
Resent-To: devuan-bugs@lists.dyne.org
Resent-CC: owner@bugs.devuan.org
Resent-Date: Sun, 02 Jun 2019 16:33:01 UTC
Resent-Message-ID: <handler.328.B.15594930037991@bugs.devuan.org>
Resent-Sender: owner@bugs.devuan.org
X-Devuan-PR-Message: report 328
X-Devuan-PR-Package: libu2f-udev
X-Devuan-PR-Keywords: 
Received: via spool by submit@bugs.devuan.org id=B.15594930037991
          (code B ref -1); Sun, 02 Jun 2019 16:33:01 UTC
Received: (at submit) by bugs.devuan.org; 2 Jun 2019 16:30:03 +0000
Delivered-To: devuanbugs@dyne.org
Received: from tupac3.dyne.org [195.169.149.119]
	by fulcanelli with IMAP (fetchmail-6.3.26)
	for <debbugs@localhost> (single-drop); Sun, 02 Jun 2019 18:30:03 +0200 (CEST)
Received: from spam.moreofthesa.me.uk (moreofthesa.me.uk [178.238.159.109])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by vm6.ganeti.dyne.org (Postfix) with ESMTPS id D58D0F60AD5
	for <submit@bugs.devuan.org>; Sun,  2 Jun 2019 18:23:41 +0200 (CEST)
Authentication-Results: vm6.ganeti.dyne.org;
	dkim=pass (2048-bit key; unprotected) header.d=moreofthesa.me.uk header.i=@moreofthesa.me.uk header.b="LxmC4N/o";
	dkim-atps=neutral
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;
	d=moreofthesa.me.uk; s=201708; h=Content-Type:MIME-Version:Message-ID:Subject
	:To:From:Date:Sender:Reply-To:Cc:Content-Transfer-Encoding:Content-ID:
	Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc
	:Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe:
	List-Subscribe:List-Post:List-Owner:List-Archive;
	bh=1TqFCY3w2xXD4b8E1sq8qbi+xDI+9MNY866H+B15BN0=; b=LxmC4N/o4pYnxEKr+fUnd1lKQ3
	XsBVTsCtqc+7oXoL3UWMrPgWeCEaDggMzTQTMCs++/tcWU9AYjRNXFDYGKiFTHOjUSZGWEFdppXVb
	WXHLcED5FXdl0EYyvIdFhIz+gb4aL5ADWjyORCRUm/FosWTY8ZczLuordmTjCkZjtDHkRdgvgM1fN
	uHxqUXPgoa9WMS2aaL6CrY8YcjincgQbPOBqzuNJFKVs3Fld9fGHPGMIapS6w/gB8nRZsexA2b7oW
	RJU/LMp6PTKgOce7yGRdJTYVO4RFzcddRCxRM/iTH74125edt9E8JL700KtoCvNpiiPyau7sB2ZaS
	SpED+94Q==;
Received: from [2001:8b0:897:1650::2]
	by spam.moreofthesa.me.uk with esmtp (Exim 4.89)
	(envelope-from <hyperspace.towel@googlemail.com>)
	id 1hXTGl-0007pc-NE
	for submit@bugs.devuan.org; Sun, 02 Jun 2019 17:23:39 +0100
Date: Sun, 2 Jun 2019 17:23:39 +0100
From: Distributed Shenanigans <hyperspace.towel@googlemail.com>
To: submit@bugs.devuan.org
Message-ID: <mpro.pshc7f00u97s3073r.hyperspace.towel@googlemail.com>
Mail-Followup-To: submit@bugs.devuan.org, Distributed Shenanigans 
 <hyperspace.towel@googlemail.com>
User-Agent: Messenger-Pro/2.73.6.4250 (Qt/5.11.3) (Linux-x86_64)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-SA-Exim-Connect-IP: 2001:8b0:897:1650::2
X-SA-Exim-Mail-From: hyperspace.towel@googlemail.com
X-SA-Exim-Scanned: No (on spam.moreofthesa.me.uk); SAEximRunCond expanded to false
X-Spam-Status: No, score=-0.1 required=5.0 tests=DKIM_ADSP_CUSTOM_MED,
	DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,NML_ADSP_CUSTOM_MED,
	RCVD_IN_DNSWL_MED,SPF_HELO_PASS,SPF_SOFTFAIL autolearn=disabled
	version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on tupac3.dyne.org
Package: libu2f-udev
Version: 1.1.9-1
Severity: serious

The rules file contained in libu2f-udev is broken, at least when used with
eudev and Linux 5.x, in that appropriate permissions for FIDO U2F devices are
not being set. This effectively prevents them from being used.

If I replace every instance of

  KERNEL=="hidraw*", SUBSYSTEM="hidraw"

with

  SUBSYSTEM="usb"

it starts functioning as intended.


If hidraw is needed udev and/or older Linux kernels to allow the rules to
work, then the following replacement should be used instead:

  SUBSYSTEM="usb|hidraw"


Send a report that this bug log contains spam.


Devuan BTS -- Powered by Debian bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.

Devuan Bugs Owner <owner@bugs.devuan.org>.
Last modified: Thu Apr 25 19:51:33 2024;