Bastien Nocera
d37d8a233a
TODO: Remove image transfer support
...
I doubt we want to do this, and nothing has needed it so far.
2018-05-31 17:28:19 +02:00
Bastien Nocera
3550ac5f05
TODO: Remove identification support TODO
...
See #10
2018-05-31 17:28:19 +02:00
Bastien Nocera
111681c57d
TODO: Remove hardware protection TODO
...
See #9
2018-05-31 17:24:58 +02:00
Bastien Nocera
6eed9f1244
TODO: Remove translations from TODO
...
Already registered in Transifex:
https://www.transifex.com/freedesktop/fprintd/
2018-05-31 17:23:53 +02:00
Bastien Nocera
04bd6bab46
TODO: Remove hotplug TODO item
...
See #8
2018-05-31 17:20:19 +02:00
Bastien Nocera
fa4af3ee67
build: Add CI
2018-05-31 14:44:17 +02:00
Bastien Nocera
31b985f547
device: Fix crash on exit
...
Fix a possible crash when an fprintd client disappears. If the client
requested for the device to be released, then, without waiting for the
reply of that release, disappeared from the bus, we would try to close
it a second time, accessing a function pointer that didn't exist
anymore.
See https://bugzilla.redhat.com/show_bug.cgi?id=1515720
2018-05-31 12:02:31 +02:00
Bastien Nocera
661684b1f5
main: Turn messages in debug messages
...
Rather than filling the logs with mostly useless messages, print those
as debug.
2018-05-30 19:59:07 +02:00
Bastien Nocera
2322244c5a
build: Add a log domain for fprintd debug messages
2018-05-30 19:58:20 +02:00
Bastien Nocera
8e0c030f62
main: Split off events loop handling into a separate file
...
To make it easier to use as an example.
2018-05-25 16:06:54 +02:00
Bastien Nocera
4234902671
main: Clean up main loop integration
...
Remove do/while loops in favour of for loops, and downgrade some
warnings and messages statements to debug.
2018-05-25 15:45:02 +02:00
Bastien Nocera
78ffe68426
po: Update translations
...
And add Belarusian
2018-04-26 14:44:45 +02:00
Bastien Nocera
2704e72308
data: Restrict available socket protocols
...
When starting the daemon
2018-04-26 14:44:02 +02:00
Bastien Nocera
f39f28830a
pam: Avoid errors when using parts of the copy/paste header
...
If not all the functions in the header are used, we'd get warnings about
them being unused. Mark all the functions as unused, so we can avoid
warnings.
2018-02-06 14:12:41 +01:00
Bastien Nocera
e6d291b248
po: Add 2 new languages
2018-02-06 11:23:01 +01:00
Bastien Nocera
a2f2526df6
po: Update translations
2018-02-06 11:22:13 +01:00
Bastien Nocera
2f78c46dcf
build: Fix srcdir = builddir build
...
Don't try to copy a file over itself if srcdir == builddir
2018-02-06 11:21:06 +01:00
Bastien Nocera
8eba309920
0.8.0
2017-09-13 16:27:53 +02:00
Bastien Nocera
6494efa94e
data: Stop privilege escalations in daemon
...
Using the NoNewPrivileges stanza from systemd.
2017-09-13 15:48:17 +02:00
Christian Kellner
e55ad52ded
device: Fix warning when open the device fails
...
The error should be initialised to NULL before being set.
2017-02-16 15:51:22 +01:00
Christian Kellner
0d28678118
device: dbus_g_method_return_error() does not free the error
...
So free the errors after sending them on the bus.
https://bugs.freedesktop.org/show_bug.cgi?id=99838
2017-02-16 15:44:12 +01:00
Christian Kellner
051eb0427d
pam: Don't poke the hardware if user has no registered prints
...
Before claiming the device and therefore potentially activating
the actual hardware, make a call to see if the user has any
prints registered at all.
https://bugs.freedesktop.org/show_bug.cgi?id=99811
2017-02-16 14:49:58 +01:00
Christian Kellner
f54a90ea80
pam: separate device opening and claiming
...
For some operations, i.e. listing the enrolled prints, the device
does not need to be claimed. Therefore the claiming can be delayed
until we actually start the verification process, allowing us to
query the fingerprint system if the user has any prints enrolled.
https://bugs.freedesktop.org/show_bug.cgi?id=99811
2017-02-16 14:46:35 +01:00
Christian Kellner
da87d1d7ee
pam: Only call g_type_init when using an old glib
...
Calling g_type_init() is not needed anymore and deprecated since
glib version 2.36.
https://bugs.freedesktop.org/show_bug.cgi?id=99812
2017-02-14 17:14:20 +01:00
Christian Kellner
3d2d73d615
main: call g_type_init only if using an old glib
...
Calling g_type_init() is not needed anymore and deprecated since
glib version 2.36.
https://bugs.freedesktop.org/show_bug.cgi?id=99812
2017-02-14 17:14:20 +01:00
Christian Kellner
06ea385260
tests: call g_type_init only if using an old glib
...
Calling g_type_init() is not needed anymore and deprecated since
glib version 2.36.
https://bugs.freedesktop.org/show_bug.cgi?id=99812
2017-02-14 17:14:20 +01:00
Christian Kellner
8fa3dcd5cd
main: Plug tiny memory leak
...
dbus_g_method_get_sender() returns an allocated-string which we need to
free. This is handled properly in the rest of the codebase.
https://bugs.freedesktop.org/show_bug.cgi?id=99811
2017-02-14 14:29:54 +01:00
Bastien Nocera
32307570fe
po: Update translations
2017-02-11 18:17:40 +01:00
Piotr Drąg
7ae196a0dd
po: Remove duplicate Bulgarian and Persian translations
...
https://bugs.freedesktop.org/show_bug.cgi?id=99773
2017-02-11 18:16:23 +01:00
Bastien Nocera
36d3d9d749
data: Lockdown the fprintd service
...
Give read-write access to USB devices in /dev, and the location of the
fingerprints, access to Unix sockets for D-Bus and
close everything else down.
See systemd.exec(5) for details about the options.
2017-01-05 13:04:48 +01:00
Bastien Nocera
b3c1ed0d2a
main: Don't hardcode fingerprint storage directory
...
It used to be hard-coded to /var/lib/fprint, but is now set to
$(localstatedir)/lib/fprint/.
2017-01-05 12:50:06 +01:00
Bastien Nocera
eabeaa258e
0.7.0
2016-10-13 17:33:26 +02:00
Bastien Nocera
e2ba6321f8
po: Update translations
2016-10-13 17:28:26 +02:00
Bastien Nocera
efe2a5b00c
build: Fix updating translations with builddir != srcdir
...
tx supports a single "--root" argument to pass both where it expects to
read the created data file (the .pot file) and the configuration. As
those are two separate directories with builddir != srcdir, copy the .tx
file from srcdir to builddir to upload the updated .pot file.
2016-10-13 17:28:26 +02:00
Bastien Nocera
9acacefa18
pam: Fix "format-nonliteral" warning
...
In file included from tests/enroll.c:29:0:
pam/fingerprint-strings.h: In function ‘finger_str_to_msg’:
pam/fingerprint-strings.h:99:6: error: format not a string literal, argument types not checked [-Werror=format-nonliteral]
return g_strdup_printf (TR (fingers[i].place_str_specific), driver_name);
^~~~~~
pam/fingerprint-strings.h:104:6: error: format not a string literal, argument types not checked [-Werror=format-nonliteral]
return g_strdup_printf (TR (fingers[i].swipe_str_specific), driver_name);
^~~~~~
2016-07-19 11:27:17 +02:00
Bastien Nocera
ac1a99ad06
build: Fix running autogen.sh out-of-tree
2016-07-19 11:19:21 +02:00
Bastien Nocera
e437d20108
device: Don't call fp_async_dev_close() with NULL device
...
In some cases, the priv->dev is already freed and NULL, so ensure
that we don't try to close NULL devices and crash.
2015-10-14 12:12:39 +02:00
Bastien Nocera
fa31b0aec2
Update translations, and add 21 of them
2015-02-09 18:14:47 +01:00
Bastien Nocera
431adc4c5b
Update Transifex configuration
2015-02-09 18:11:10 +01:00
Bastien Nocera
c4f3cc2dc3
0.6.0
2015-02-03 17:07:15 +01:00
Bastien Nocera
4edc17ac99
manager: Fix sorting in GetDevices() output
...
Sort the devices by ID for the GetDevices() output.
2015-02-03 17:07:15 +01:00
Bastien Nocera
56683b1098
tests: Fix listing/deleting with more than one reader
...
We were always reading the information for reader 0.
2015-02-03 16:44:31 +01:00
Volkau Siarhei
f7c51b0d58
tests: Fix segfault in verify when used without -f
...
We tried to use strcmp on a NULL string.
https://bugs.freedesktop.org/show_bug.cgi?id=85736
2014-11-02 16:34:02 +01:00
Colin Walters
f94c8727d2
main: Don't log about normal operation
...
Administrators don't need to see this stuff on every boot. The system
bus itself already logs this anyways (which is itself a bit too
chatty).
https://bugs.freedesktop.org/show_bug.cgi?id=71889
2014-04-25 11:28:20 +02:00
Colin Walters
4f9256c033
manager: Don't log when we're exiting
...
This happens on hardware without fingerprint readers on every boot; we
don't need to log anything about it, it's totally normal.
This patch is part of an initiative to reduce logging spew in GNOME
so that actual errors and important messages are more visible.
https://bugs.freedesktop.org/show_bug.cgi?id=71889
2014-04-25 11:28:20 +02:00
Bastien Nocera
73ed60a60d
tests: Fix possible crash in fprintd-verify
...
https://bugs.freedesktop.org/show_bug.cgi?id=75111
2014-02-18 18:32:48 +01:00
Bastien Nocera
d7e326a776
tests: List possible values for finger when enrolling
...
When the "-f" parameter of fprintd-enroll is incorrect, list
the possible values.
2014-02-18 18:32:08 +01:00
Bastien Nocera
7e4630ced2
pam: Fix eventfd leak
...
When we create our own GMainContext, we need to be the ones
disposing of it as well, as GMainLoop won't take ownership of it.
From https://bugzilla.redhat.com/show_bug.cgi?id=1050827
2014-01-27 12:25:57 +01:00
Bastien Nocera
fc228b9976
README: Update README
2013-09-30 09:43:46 +02:00
Bastien Nocera
7710040ea7
data: Fix syntax error in fprintd.pod
...
fprintd.pod around line 100: =over without closing =back
POD document had syntax errors at /usr/bin/pod2man line 69.
2013-08-11 18:58:20 +02:00