summaryrefslogtreecommitdiff
path: root/rules.d/60-fido-id.rules
blob: 48c259ee04e2af55d825570eb2acd6f1e6314bd3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# do not edit this file, it will be overwritten on update

ACTION=="remove", GOTO="fido_id_end"

SUBSYSTEM=="hidraw", IMPORT{program}="fido_id"

# Tag any form of security token as such
ENV{ID_SECURITY_TOKEN}=="1", TAG+="security-device"

SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", ENV{ID_USB_INTERFACES}=="*:0b????:*", ENV{ID_SMARTCARD_READER}="1"
# Tag any CCID device (i.e. Smartcard Reader) as security token
ENV{ID_SMARTCARD_READER}=="1", TAG+="security-device"

LABEL="fido_id_end"