diff options
Diffstat (limited to 'libraries/libu2f-host/patches/0020-additional-Feitian-keys.patch')
-rw-r--r-- | libraries/libu2f-host/patches/0020-additional-Feitian-keys.patch | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/libraries/libu2f-host/patches/0020-additional-Feitian-keys.patch b/libraries/libu2f-host/patches/0020-additional-Feitian-keys.patch new file mode 100644 index 0000000000..43a2f3d29a --- /dev/null +++ b/libraries/libu2f-host/patches/0020-additional-Feitian-keys.patch @@ -0,0 +1,42 @@ +From f9b2e731ae9f41f8cd1f98587dc4de620b7a9471 Mon Sep 17 00:00:00 2001 +From: Henrik Loeser <data-henrik@users.noreply.github.com> +Date: Wed, 20 May 2020 20:41:20 +0200 +Subject: [PATCH 20/25] additional Feitian keys + +K33 and K43, see https://www.ftsafe.com/Products/FIDO/Bio + +Signed-off-by: Gustavo B. Schenkel <gustavo.schenkel@gmail.com> +--- + 70-u2f.rules | 2 +- + u2f.conf.sample | 2 +- + 2 files changed, 2 insertions(+), 2 deletions(-) + +diff --git a/70-u2f.rules b/70-u2f.rules +index 4ef1096..1427910 100644 +--- a/70-u2f.rules ++++ b/70-u2f.rules +@@ -29,7 +29,7 @@ KERNEL=="hidraw*", SUBSYSTEM=="hidraw", ATTRS{idVendor}=="1e0d", ATTRS{idProduct + KERNEL=="hidraw*", SUBSYSTEM=="hidraw", ATTRS{idVendor}=="096e|2ccf", ATTRS{idProduct}=="0880", TAG+="uaccess", GROUP="plugdev", MODE="0660" + + # Feitian ePass FIDO, BioPass FIDO2 +-KERNEL=="hidraw*", SUBSYSTEM=="hidraw", ATTRS{idVendor}=="096e", ATTRS{idProduct}=="0850|0852|0853|0854|0856|0858|085a|085b|085d", TAG+="uaccess", GROUP="plugdev", MODE="0660" ++KERNEL=="hidraw*", SUBSYSTEM=="hidraw", ATTRS{idVendor}=="096e", ATTRS{idProduct}=="0850|0852|0853|0854|0856|0858|085a|085b|085d|0866|0867", TAG+="uaccess", GROUP="plugdev", MODE="0660" + + # JaCarta U2F + KERNEL=="hidraw*", SUBSYSTEM=="hidraw", ATTRS{idVendor}=="24dc", ATTRS{idProduct}=="0101|0501", TAG+="uaccess", GROUP="plugdev", MODE="0660" +diff --git a/u2f.conf.sample b/u2f.conf.sample +index b796d3f..d3ed491 100644 +--- a/u2f.conf.sample ++++ b/u2f.conf.sample +@@ -46,7 +46,7 @@ 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|0x0866|0x0867)"; + action "chgrp u2f /dev/$cdev; chmod g+rw /dev/$cdev"; + }; + +-- +2.32.0 + |