Commit graph

198 commits

Author SHA1 Message Date
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
Bastien Nocera
3330b8f351 0.5.1 2013-08-11 17:58:52 +02:00
Bastien Nocera
4183c3cdec build: Dist as a .tar.xz file 2013-08-11 17:58:32 +02:00
Peter Volkov
7eb1f0fd86 tests: Support -f 'finger' option for enroll
Add support for -f 'finger' option to fprintd-enroll.
Update docs accordingly.

https://bugs.freedesktop.org/show_bug.cgi?id=62644
2013-06-26 13:10:17 +02:00
Rob Johnson
b4f5304565 pam: return PAM_UNKNOWN_USER when user is unenrolled
This commit makes pam_fprintd return PAM_UNKNOWN_USER when
the user has not enrolled a fingerprint.

This lets the administrator set up pam_fprintd as a required
authentication, method, but only for users that have enrolled a
fingerprint, as such:

auth  [success=ok user_unknown=ignore default=die] pam_fprintd.so max_tries=1 timeout=-1
auth  [success=1  default=ignore]                  pam_unix.so nullok_secure
auth  requisite                                    pam_deny.so

With this config, users w/o an enrolled fingerprint will just be
asked for a password.  Users with an enrolled fingerprint will
required to login using both their fingerprint and a password.

https://bugs.freedesktop.org/show_bug.cgi?id=64781
2013-06-03 08:56:22 -04:00
Didier Raboud
9c99e5cd59 pam: Make max_tries and timeout arguments.
https://bugs.freedesktop.org/show_bug.cgi?id=49918
2013-03-26 12:45:58 +01:00
Bastien Nocera
cb72e9790d 0.5.0 2013-03-05 15:50:45 +01:00
Bastien Nocera
197e139a45 doc: Fix generation of the D-Bus API docs 2013-03-05 15:50:45 +01:00
Bastien Nocera
21459e6d7d build: Fix distcheck'ing of the systemd service file 2013-03-05 15:50:44 +01:00
Bastien Nocera
476b175cc0 data: Fix left-over build files from systemd service 2013-03-05 15:50:44 +01:00
Bastien Nocera
c35cf36ba8 data: Add systemd unit file to the dist 2013-03-05 15:27:40 +01:00
Colin Walters
9ea025d9cb Add a systemd unit file
It's just better if we get activated via systemd rather than dbus.
Various bits of configury/makefile taken from polkit.

https://bugs.freedesktop.org/show_bug.cgi?id=58468
2012-12-18 17:29:26 +01:00
Colin Walters
870a7a8361 build: Fix checks for pod2man
Previous commit had two obviously broken parts.
2012-11-19 00:44:16 +01:00
Bastien Nocera
0aaff3a6c6 device: Use non-deprecated PolKit call 2012-11-17 09:10:35 +01:00
Colin Walters
2e434a062d po: Update LINGUAS and remove unused translations
Fixes the build.
2012-11-17 09:08:36 +01:00
Colin Walters
78623147bc build: Only use pod2man if it exists
This fixes the build in gnome-ostree, where we don't have pod2man
to generate the manpages.
2012-11-17 09:07:04 +01:00
Bastien Nocera
8266f354cc po: Remove empty translation 2012-11-16 20:05:40 +01:00
Bastien Nocera
da44184115 po: Add missing PO files from Transifex 2012-11-16 19:43:08 +01:00
Colin Walters
4fa35c3207 autogen.sh: Honor NOCONFIGURE=1
See http://people.gnome.org/~walters/docs/build-api.txt
2012-11-16 19:32:50 +01:00
Bastien Nocera
4b05658597 README: Correct GPL version used
All the headers mention "GPL v2 or later", so reflect that in
the README.
2012-11-16 12:52:58 +01:00
Bastien Nocera
486c0bb347 po: Update translations 2012-11-13 17:19:52 +01:00
Bastien Nocera
42dd4a8b3a po: Add missing languages to LINGUAS 2012-11-13 17:19:42 +01:00
Ray Strode
9577b6db03 main: request name unconditionally at startup
the dbus activation machinery depends on daemons taking a name on
the bus to complete activation without timeouts.

fprintd fails prematurely if there is USB bus (as found in some
virtual machine setups).

This commit moves the bus-name-acquisition code to happen before
the fail-from-no-usb-bus code to keep callers from timing out
when activating fprintd.

https://bugs.freedesktop.org/show_bug.cgi?id=57025
2012-11-13 17:17:21 +01:00
Patrick Marlier
71bc81468f tests: Another uninitialised variable use
The GError was used without being initialised.

https://bugs.freedesktop.org/show_bug.cgi?id=53900
2012-08-28 22:10:39 +01:00
Patrick Marlier
b80f7359c3 tests: Fix uninitialised variable use
The GError was used without being initialised.

https://bugs.freedesktop.org/show_bug.cgi?id=53900
2012-08-28 19:29:20 +01:00
Bastien Nocera
1bd948ac16 po: Updated translations 2012-05-28 14:30:26 +01:00
Didier Raboud
73edad087f pam: Avoid segfault on login without devices
Avoid crashing if paths_array is NULL.

https://bugs.freedesktop.org/show_bug.cgi?id=49904
2012-05-14 15:09:25 +01:00
Bastien Nocera
4c120e487b pam: Fix crash when enumerating the devices
We don't need to free this by hand, it'll get freed when
we free the array itself.
2012-02-07 21:43:28 +00:00
Bastien Nocera
cde767cbc9 pam: Don't get a list of devices twice
GetDefaultDevice just gives you the first device in the list.
Use that fact to check for > 1 device, and get the default device
in one swoop.
2012-02-01 19:53:26 +00:00
Dan Winship
d77b59cd36 pam: don't use device name if there is only one reader 2012-02-01 19:41:58 +00:00
Bastien Nocera
77fa713920 po: Updated translations 2011-08-15 22:10:40 +01:00
Bastien Nocera
b10180503d 0.4.1
And fix distcheck.
2011-04-19 00:27:09 +01:00
Bastien Nocera
815df79451 build: Enable gtk-doc when dist'ing 2011-04-19 00:22:48 +01:00
Bastien Nocera
5b466bbab8 0.4.0 2011-04-18 18:07:00 +01:00
Bastien Nocera
0dcd7e5c48 po: Update from transifex 2011-04-18 17:57:33 +01:00
Bastien Nocera
2d11e76cb7 daemon: Use GDBus to monitor clients
Instead of the custom egg code.
2011-04-18 17:55:13 +01:00
Bastien Nocera
c3de292486 daemon: Fix warning about unused variable
By unref'ing the manager object before we exit.
2011-03-30 16:43:10 +01:00