Subject: bug#328: libu2f-udev: rules are not functional, permissions not being set

From: Distributed Shenanigans <[email-masked]>
Date: Sun, 2 Jun 2019 17:23:39 +0100

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"