[pkg-gnupg-maint] yubikey udev rules: ATTRS{} vs ATTR{}, lintian, and AppStream providers

NIIBE Yutaka gniibe at fsij.org
Fri Aug 24 09:48:29 BST 2018


Daniel Kahn Gillmor <dkg at fifthhorseman.net> wrote:
> Question 1 (for gniibe)
> -----------------------
>
>     Can you confirm whether udev needs to search "up the devpath" to
>     identify the Yubikey devices?

No, it's not needed to search up.  ATTR is OK for our use case of
scdaemon.  We can assume that Yubikey supports CCID interface.

Please note that a single Yubikey device supports multiple interfaces.

My guess is that the entries are originally written with its interface
(ATTR{bInterfaceClass}==11 to distinguish CCID device).  That is, the
original entries are specifically for device with CCID interface.

We don't need that.
-- 



More information about the pkg-gnupg-maint mailing list