aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThibault Payet <monwarez@mailoo.org>2024-11-12 21:26:16 +0000
committerRobert Clausecker <fuz@FreeBSD.org>2024-11-14 08:43:28 +0000
commitd3c40cd45d9a8ef18c4dd0d3d2c09478e1f184c9 (patch)
tree669f32f80c5b7a4552bc2de6243b1de0fdd49bac
parent2b9e7c186a2ecaa18da974741cd9404ba1f4fa61 (diff)
security/u2f-devd: Add Token2 T2F2-Bio2 and Feitian Biopass Pro
PR: 282715 Signed-off-by: Thibault Payet <contact@thibaultpayet.fr>
-rw-r--r--security/u2f-devd/Makefile2
-rw-r--r--security/u2f-devd/files/u2f.conf20
2 files changed, 19 insertions, 3 deletions
diff --git a/security/u2f-devd/Makefile b/security/u2f-devd/Makefile
index bd4d3c861ccf..c3b4882820e0 100644
--- a/security/u2f-devd/Makefile
+++ b/security/u2f-devd/Makefile
@@ -1,6 +1,6 @@
PORTNAME= u2f-devd
PORTVERSION= 1.1.10
-PORTREVISION= 8
+PORTREVISION= 9
CATEGORIES= security
MASTER_SITES= #
DISTFILES= #
diff --git a/security/u2f-devd/files/u2f.conf b/security/u2f-devd/files/u2f.conf
index b112124d4eeb..e3005b636ff2 100644
--- a/security/u2f-devd/files/u2f.conf
+++ b/security/u2f-devd/files/u2f.conf
@@ -72,13 +72,13 @@ notify 100 {
match "subsystem" "DEVICE";
match "type" "ATTACH";
match "vendor" "0x096e";
- match "product" "(0x0850|0x0852|0x0853|0x0854|0x0856|0x0858|0x085a|0x085b|0x085d)";
+ match "product" "(0x0850|0x0852|0x0853|0x0854|0x0856|0x0858|0x085a|0x085b|0x085d|0x0868)";
action "chgrp u2f /dev/$cdev; chmod g+rw /dev/$cdev";
};
attach 100 {
match "vendor" "0x096e";
- match "product" "(0x0850|0x0852|0x0853|0x0854|0x0856|0x0858|0x085a|0x085b|0x085d)";
+ match "product" "(0x0850|0x0852|0x0853|0x0854|0x0856|0x0858|0x085a|0x085b|0x085d|0x0868)";
action "chgrp u2f /dev/$device-name; chmod g+rw /dev/$device-name";
};
@@ -303,3 +303,19 @@ attach 100 {
match "product" "(0x53c0|0x53c1)";
action "chgrp u2f /dev/$device-name; chmod g+rw /dev/$device-name";
};
+
+# Token2 FIDO2
+notify 100 {
+ match "system" "USB";
+ match "subsystem" "DEVICE";
+ match "type" "ATTACH";
+ match "vendor" "0x349e";
+ match "product" "0x0202";
+ action "chgrp u2f /dev/$cdev; chmod g+rw /dev/$cdev";
+};
+
+attach 100 {
+ match "vendor" "0x349e";
+ match "product" "0x0202";
+ action "chgrp u2f /dev/$device-name; chmod g+rw /dev/$device-name";
+};