d/p/udev-rules-creation-add-Debian-specifics.patch: Avoid unprivileged users to be able to read the devices, this is not necessary and could lead to fingerprint images being captured.

This commit is contained in:
Laurent Bigonville
2020-02-13 11:21:19 +01:00
parent 477213a6c9
commit acbab37922
2 changed files with 5 additions and 2 deletions
+4 -1
View File
@@ -18,8 +18,11 @@ libfprint (1:1.90.1-1) UNRELEASED; urgency=medium
* Update debian/libfprint2.postinst for the new supported readers
* debian/gbp.conf: Upstream tags have changed format
* debian/control: Bump Standards-Version to 4.5.0 (no further changes)
* d/p/udev-rules-creation-add-Debian-specifics.patch: Avoid unprivileged
users to be able to read the devices, this is not necessary and could lead
to fingerprint images being captured.
-- Laurent Bigonville <bigon@debian.org> Thu, 13 Feb 2020 10:59:42 +0100
-- Laurent Bigonville <bigon@debian.org> Thu, 13 Feb 2020 11:19:04 +0100
libfprint (1:1.0-1) unstable; urgency=medium
@@ -27,7 +27,7 @@ Last-Update: 2020-01-10
+ g_print ("SUBSYSTEM==\"usb\", ATTRS{idVendor}==\"%04x\", ATTRS{idProduct}==\"%04x\", ATTRS{dev}==\"*\", ", entry->vid, entry->pid);
+ if (bl_entry->vid == 0)
+ g_print ("TEST==\"power/control\", ATTR{power/control}=\"auto\", ");
+ g_print ("MODE=\"0664\", GROUP=\"plugdev\"\n");
+ g_print ("MODE=\"0660\", GROUP=\"plugdev\"\n");
g_print ("SUBSYSTEM==\"usb\", ATTRS{idVendor}==\"%04x\", ATTRS{idProduct}==\"%04x\", ENV{LIBFPRINT_DRIVER}=\"%s\"\n",
entry->vid, entry->pid, cls->full_name);
num_printed++;