git: d3c40cd45d9a - main - security/u2f-devd: Add Token2 T2F2-Bio2 and Feitian Biopass Pro
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 14 Nov 2024 08:44:30 UTC
The branch main has been updated by fuz:
URL: https://cgit.FreeBSD.org/ports/commit/?id=d3c40cd45d9a8ef18c4dd0d3d2c09478e1f184c9
commit d3c40cd45d9a8ef18c4dd0d3d2c09478e1f184c9
Author: Thibault Payet <monwarez@mailoo.org>
AuthorDate: 2024-11-12 21:26:16 +0000
Commit: Robert Clausecker <fuz@FreeBSD.org>
CommitDate: 2024-11-14 08:43:28 +0000
security/u2f-devd: Add Token2 T2F2-Bio2 and Feitian Biopass Pro
PR: 282715
Signed-off-by: Thibault Payet <contact@thibaultpayet.fr>
---
security/u2f-devd/Makefile | 2 +-
security/u2f-devd/files/u2f.conf | 20 ++++++++++++++++++--
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";
+};