Page MenuHomeFreeBSD

Add u2f(4), a HID driver for FIDO/U2F security keys
Needs RevisionPublic

Authored by wulf on Aug 29 2023, 10:21 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Nov 26, 6:21 AM
Unknown Object (File)
Sat, Nov 11, 8:37 PM
Unknown Object (File)
Mon, Nov 6, 4:26 PM
Unknown Object (File)
Oct 15 2023, 1:44 AM
Unknown Object (File)
Oct 15 2023, 1:44 AM
Unknown Object (File)
Oct 12 2023, 1:01 AM
Unknown Object (File)
Sep 30 2023, 7:19 PM
Unknown Object (File)
Sep 10 2023, 7:09 AM

Details

Reviewers
grembo
andrew
manu
Summary

This driver is a stripped-down version of hidraw(4). It implements subset of commands required for FIDO/U2F keys only.

User-visible changes are:
It attaches to FIDO/U2F top level collection. So it can be automagically loaded with devd
It sets 660 root:u2f mode to device node. No need in special devd scripts
It emulates USB_GET_DEVICEINFO ioctl

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

wulf requested review of this revision.Aug 29 2023, 10:21 PM
manu requested changes to this revision.Fri, Nov 24, 9:31 AM

I guess this review should be splitted in multiple ones.
There is the addition of u2f(4) yes but a lot of stuff is changed in the hid code too.

This revision now requires changes to proceed.Fri, Nov 24, 9:31 AM