1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-18 00:10:04 +00:00

security/u2f-devd: Add Token2 T2F2-Bio2 and Feitian Biopass Pro

PR:		282715
Signed-off-by:	Thibault Payet <contact@thibaultpayet.fr>
This commit is contained in:
Thibault Payet 2024-11-12 22:26:16 +01:00 committed by Robert Clausecker
parent 2b9e7c186a
commit d3c40cd45d
2 changed files with 19 additions and 3 deletions

View File

@ -1,6 +1,6 @@
PORTNAME= u2f-devd
PORTVERSION= 1.1.10
PORTREVISION= 8
PORTREVISION= 9
CATEGORIES= security
MASTER_SITES= #
DISTFILES= #

View File

@ -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";
};