[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: yubikey udev rules: ATTRS{} vs ATTR{}, lintian, and AppStream providers



On Fri 2018-08-24 17:48:29 +0900, NIIBE Yutaka wrote:
> Daniel Kahn Gillmor <dkg@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.

thanks!  I've updated both the udev rules and the AppStream metadata.

> 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.

I don't see anything matching bInterfaceClass in udev rules or AppStream
(indeed, the only thing even mentioning bInterfaceClass in the source is
scd/ccid-driver.cc).  If you're suggesting any specific changes to the
debian packaging, i'd be happy to merge them, please propose them more
concretely :)

Regards,

        --dkg

Attachment: signature.asc
Description: PGP signature


Reply to: