9874ac4b91
Add string helper for results and fingers
...
Add a simple header file which can be copied to other projects
to simplify i18n of results and strings.
2008-12-10 00:54:27 +00:00
43fe72a2aa
license is GPLv2
...
Not sure how v3 creeped in, oops! thanks to bastien for pointing this
out
2008-12-04 14:53:02 +00:00
6a480f409d
Stop extra signals from being emitted
...
Some devices keep sending us signals when an enrollment or
verification finished. Ignore all those signals, we hate them.
2008-12-04 13:23:51 +00:00
3941c3bff2
Add fprintd-delete program
...
Deletes all the fingerprints on all the registered devices.
2008-12-04 13:23:51 +00:00
5ba723e3f2
Fix program description
...
In the source header
2008-12-04 13:23:51 +00:00
4efa0d4878
Fix stupidness in the fprintd-enroll
...
This fixes fprintd-enroll not working on devices that require
more than one swipe.
2008-12-04 13:23:51 +00:00
c1dc3f1394
Fix fprintd exiting after a device goes unused
...
Simple logic error that caused fprintd to exit when a device
was used then unused.
2008-12-04 13:23:50 +00:00
c1ec85006e
Add README for the PAM module
...
With some more info about the options.
2008-12-04 13:23:50 +00:00
af5b8a6e37
Don't error out when there's no fingerprints
...
Instead, print out some information about the device, and carry
on to the next one.
2008-12-04 13:23:50 +00:00
6f69aef553
Remove some dead code in PAM
...
verify_result_str() isn't used anymore.
2008-12-04 13:23:50 +00:00
69e987b335
Fix return value for GetDefaultDevice
...
Tell the front-end there's no devices available when there isn't
any, instead of erroring out.
2008-12-04 13:23:50 +00:00
64e415aaac
Fix memleak on VerifyStart
...
Clean up the data pass to the async verification and identification
functions ourselves.
2008-11-24 17:20:46 +00:00
7b06c4b7f3
Review possible errors and document them
...
Review all the possible errors and document them for each function.
2008-11-24 17:20:46 +00:00
1abf51afa4
Don't crash the server if there's no devices
...
Big ninny just crashed because there's no fingerprint readers. Hoo,
hoo. My eyes are bleeding.
2008-11-24 17:20:46 +00:00
9743d9d2a0
Register errors with D-Bus
...
So we get errors like:
net.reactivated.Fprint.Error.DiscoverPrints
instead of:
org.freedesktop.DBus.GLib.UnmappedError.FprintdErrorQuark.Code2
2008-11-24 17:20:46 +00:00
6fc861a154
Use dbus_g_proxy_new_from_proxy
...
Removes the need to have the dbus connection around.
2008-11-24 17:20:45 +00:00
b225947a56
Fix make distcheck
...
Fix missing documentation file when --enable-gtk-doc isn't passed
along to configure.
2008-11-24 17:19:08 +00:00
b4ee4a5cdd
Add debug option for PAM
...
When the debug option is set in the PAM configuration, redirect
debug output to syslog (usually /var/log/secure).
2008-11-24 17:19:08 +00:00
af42ec70f3
Fix possible warning when timeout is enabled
...
We'd get a warning when the first device starts being used, but
we don't use --no-timeout.
2008-11-22 13:01:16 +00:00
2b71776124
Fix GetAll properties call
...
The error wasn't properly initialised, but wasn't used anyway, and
we were missing the interface argument.
2008-11-22 13:01:16 +00:00
c9fdeb47aa
Use D-Bus properties instead of GetProperties
...
- Use D-Bus native properties instead of a GetProperties call.
- Fix a number of front-ends by registering the right signals and
marshallers following the "done" signal argument addition
- Fix VerifyStart call in the pam module
2008-11-22 13:00:48 +00:00
f1f2ae35f8
Fix "--no-timeout" argument
...
Fix logic error in the manager code causing it to exit when no
devices are in use even when --no-timeout is passed.
2008-11-22 13:00:47 +00:00
dfa539a1f8
Add documentation
...
Documentation FTW!
2008-11-21 18:15:51 +00:00
120c9a1099
Some changes to our docbook XSLT script
...
Add <doc:title> for use in the top-level description, and
a description link type, to link to those sub-paragraphs.
2008-11-21 18:15:51 +00:00
3cd0a7aeaf
First pass at adding API docs through gtk-doc
...
Required a bit of mangling.
2008-11-21 18:15:51 +00:00
26aab5dc28
Add a done argument to result signals
...
For verify and enroll, add a done argument so that front-end
know easily when they should be closing the device.
2008-11-21 18:15:51 +00:00
0636c77962
Enumerate all the fingers for swipe and press
...
We need to enumerate all the fingers for swipe and press actions,
otherwise we might break break translations.
2008-11-21 18:15:51 +00:00
837627b1a7
Use scan type property for better messages
...
Better messages for the PAM plugin, by using whether the device
requires swiping or pressing the finger on the reader.
2008-11-21 18:15:51 +00:00
874d8164b4
Add ScanType and NumberEnrollStages properties
...
Export the type of scan the device performs, and, when the device
is claimed, the number of enrollment stages.
2008-11-21 18:15:50 +00:00
f7186c7ff0
Remove all uses of enums in the API
...
The clients aren't supposed to know the magic numbers for enums,
so use strings instead.
2008-11-21 18:15:50 +00:00
f39e1475b4
Update TODO
...
More done, and more to do.
2008-11-21 18:15:44 +00:00
5426b1a472
Use GetDefaultDevice
...
As we're not using the non-default device anyway.
2008-11-21 18:15:21 +00:00
e207203b44
Add GetDefaultDevice
...
Gives you the first device listed in GetDevices.
2008-11-21 18:15:21 +00:00
ac85e5927e
List all the fingerprints for all the users
...
When listing, list all the fingerprints for all the users mentioned on
the command-line for each connected device, rather than just the
default one.
2008-11-21 18:15:21 +00:00
1e43720c15
Remove use of finger number in the API
...
Use well-defined strings instead of numbers to pass around
specific fingers in the public API.
2008-11-21 18:15:21 +00:00
ea4114b976
Make GetProperties async
...
as the rest of our functions.
2008-11-21 18:15:21 +00:00
924e08d2e8
Add device name property
...
Add GetProperties method, with a single "Name" properties into
the hashtable.
Use the device name property in the PAM module, and in the list test.
2008-11-21 18:15:21 +00:00
69c131f723
Add gross hack to allow root to verify users
...
This is a gross hack for PAM sessions to work as expected. root
is allowed to verify any users. If you want to allow any other
actions for root, you'll need to go through normal PolicyKit
procedures.
This should fix fingerprint authentication not working in GDM, or
on the console.
2008-11-21 18:14:09 +00:00
d874d5869c
Add another TODO item
...
We need to double-check the messages so that they're translated
for users in the UIs.
2008-11-21 18:14:09 +00:00
31a8e2c61d
Fix distcheck
...
And add a TODO item
2008-11-21 18:14:09 +00:00
fb4cbb910b
Prefix the test binaries
...
So that we avoid clashing with distribution binaries.
2008-11-21 18:14:09 +00:00
8bae65d50e
Fix pam module running under gnome-screensaver
...
1) Set up our own D-Bus (private) connection
2) Set up our own main loop and main loop context
This means we finally work right within gnome-screensaver!
2008-11-18 17:07:10 +00:00
f93d8cbce2
Clean up device when the client disconnects
...
Track clients connected to each device using EggDbusMonitor.
When there are no more clients connected to the device, release it.
When no devices are used anymore, set up a timeout to exit within
30 seconds.
2008-11-03 22:56:12 +00:00
b0f2060628
Exit when no devices are in use
...
When no actions are happening on any of the devices, make the
daemon exit after 30 seconds.
2008-11-03 22:56:12 +00:00
e29806cd88
Add an action property
...
Add an action property and notify listeners when the action changes.
2008-11-03 22:56:12 +00:00
f43ea8f095
Add an enrollment action
...
Return an error if an enrollment is already in progress.
2008-11-03 22:56:12 +00:00
5f3e1be27f
Track current action
...
Track the current action happening in the device, so we can
see what each device is doing. Refuse to launch a verification if
there's already one in progress.
2008-11-03 22:56:12 +00:00
4bc8330d56
Note that pam_fprint is only temporarily here
2008-11-03 22:55:01 +00:00
6a2753eae2
And call g_type_init()
...
Otherwise it just won't work...
2008-11-03 22:53:46 +00:00
4fa5552650
Add PAM module
...
Add a PAM module, and enable all the warnings
2008-11-03 22:53:44 +00:00