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
F93393181: D41639.diff
Mon, Sep 9, 7:34 AM
Unknown Object (File)
Sat, Aug 31, 3:47 AM
Unknown Object (File)
Mon, Aug 19, 5:08 PM
Unknown Object (File)
Tue, Aug 13, 7:10 PM
Unknown Object (File)
Tue, Aug 13, 7:10 PM
Unknown Object (File)
Tue, Aug 13, 6:37 PM
Unknown Object (File)
Jul 28 2024, 10:25 AM
Unknown Object (File)
Jul 27 2024, 10:26 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.Nov 24 2023, 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.Nov 24 2023, 9:31 AM