1
0
mirror of https://github.com/systemd/systemd.git synced 2024-10-30 06:25:37 +03:00
systemd/test/fuzz/fuzz-fido-id-desc
Fabian Henneke d45ee2f31a udev: Add id program and rule for FIDO security tokens
Add a fido_id program meant to be run for devices in the hidraw
subsystem via an IMPORT directive. The program parses the HID report
descriptor and assigns the ID_SECURITY_TOKEN environment variable if a
declared usage matches the FIDO_CTAPHID_USAGE declared in the FIDO CTAP
specification. This replaces the previous approach of whitelisting all
known security token models manually.

This commit is accompanied by a test suite and a fuzzer target for the
descriptor parsing routine.

Fixes: #11996.
2019-09-07 02:23:58 +09:00
..
crash0 udev: Add id program and rule for FIDO security tokens 2019-09-07 02:23:58 +09:00
crash1 udev: Add id program and rule for FIDO security tokens 2019-09-07 02:23:58 +09:00
report0 udev: Add id program and rule for FIDO security tokens 2019-09-07 02:23:58 +09:00
report1 udev: Add id program and rule for FIDO security tokens 2019-09-07 02:23:58 +09:00