summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--security/u2f-devd/Makefile4
-rw-r--r--security/u2f-devd/files/u2f.conf16
2 files changed, 18 insertions, 2 deletions
diff --git a/security/u2f-devd/Makefile b/security/u2f-devd/Makefile
index dcf7e088e144..8619cb6bb310 100644
--- a/security/u2f-devd/Makefile
+++ b/security/u2f-devd/Makefile
@@ -1,11 +1,11 @@
PORTNAME= u2f-devd
PORTVERSION= 1.1.10
-PORTREVISION= 6
+PORTREVISION= 7
CATEGORIES= security
MASTER_SITES= #
DISTFILES= #
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= monwarez@mailoo.org
COMMENT= Devd hotplug rules for Universal 2nd Factor (U2F) tokens
LICENSE= BSD2CLAUSE
diff --git a/security/u2f-devd/files/u2f.conf b/security/u2f-devd/files/u2f.conf
index bde74fd6bf7a..1eea25ded39b 100644
--- a/security/u2f-devd/files/u2f.conf
+++ b/security/u2f-devd/files/u2f.conf
@@ -194,6 +194,22 @@ attach 100 {
action "chgrp u2f /dev/$device-name; chmod g+rw /dev/$device-name";
};
+# Nitrokey 3
+notify 100 {
+ match "system" "USB";
+ match "subsystem" "DEVICE";
+ match "type" "ATTACH";
+ match "vendor" "0x20a0";
+ match "product" "0x42b2";
+ action "chgrp u2f /dev/$cdev; chmod g+rw /dev/$cdev";
+};
+
+attach 100 {
+ match "vendor" "0x20a0";
+ match "product" "0x42b2";
+ action "chgrp u2f /dev/$device-name; chmod g+rw /dev/$device-name";
+};
+
# Google Titan U2F
notify 100 {
match "system" "USB";