--- /home/rosenke/u2f.conf.orig 2020-09-17 16:13:18.000000000 +0200 +++ /usr/local/etc/devd/u2f.conf 2020-10-22 12:08:40.451445000 +0200 @@ -178,6 +178,23 @@ action "chgrp u2f /dev/$device-name; chmod g+rw /dev/$device-name"; }; +# Nitrokey FIDO 2 +notify 100 { + match "system" "USB"; + match "subsystem" "DEVICE"; + match "type" "ATTACH"; + match "vendor" "0x20a0"; + match "product" "0x42b1"; + action "chgrp u2f /dev/$cdev; chmod g+rw /dev/$cdev"; +}; + +attach 100 { + match "vendor" "0x20a0"; + match "product" "0x42b1"; + action "chgrp u2f /dev/$device-name; chmod g+rw /dev/$device-name"; +}; + + # Google Titan U2F notify 100 { match "system" "USB";