Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Set uaccess tag for U2F/FIDO2 keys #11996
Is your feature request related to a problem? Please describe.
The first is tedious for the user, the second tedious for the vendor.
Describe the solution you'd like
Describe alternatives you've considered
Since I need a generic udev rule such as the one provided by u2f-hidraw-policy for a personal project, I would be willing to supply the patch.
Even though so far all available security tokens have used USB transport, all implementations I know of accept any kind of HID device with the right usage and usage page. Would it also be acceptable to go with the original proposal and add a hidraw_id module instead of integrating into usb_id?
The security concerns could potentially be alleviated by adding a libfuzz target for the HID descriptor parser. I could make the required modifications.