Find a file
Bastien Nocera 47bd3f7fbb tests/fprintd: Fix test_enroll_invalid_storage_dir test
enroll_image() was always waiting for enroll-completed rather than for
what the caller expected as the result.

======================================================================
FAIL: test_enroll_invalid_storage_dir (__main__.FPrintdVirtualDeviceClaimedTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/hadess/Projects/jhbuild/fprintd/tests/fprintd.py", line 661, in test_enroll_invalid_storage_dir
    self.enroll_image('whorl', expected_result='enroll-failed')
  File "/home/hadess/Projects/jhbuild/fprintd/tests/fprintd.py", line 384, in enroll_image
    self.wait_for_result('enroll-completed')
  File "/home/hadess/Projects/jhbuild/fprintd/tests/fprintd.py", line 373, in wait_for_result
    self.assertEqual(self._last_result, expected)
AssertionError: 'enroll-failed' != 'enroll-completed'
- enroll-failed
+ enroll-completed
2020-03-27 16:26:28 +01:00
.tx Update Transifex configuration 2015-02-09 18:11:10 +01:00
data build: Remove autotools support 2020-02-05 16:54:54 +01:00
doc doc: Fix gtk-doc generation 2020-02-06 12:21:51 +01:00
pam build: Make pam module installation dir configurable 2020-02-10 14:49:11 +01:00
po build: Check translations using a script 2020-02-05 15:25:35 +01:00
src main: Add missing locale.h include 2020-03-19 23:33:58 -04:00
tests tests/fprintd: Fix test_enroll_invalid_storage_dir test 2020-03-27 16:26:28 +01:00
utils utils: Fix memory leak when error is ignored in list 2020-02-14 16:00:20 +01:00
.gitignore build: Remove autotools support 2020-02-05 16:54:54 +01:00
.gitlab-ci.yml ci: Update CI after the fdo template changes 2020-03-24 15:50:57 +01:00
AUTHORS Add myself to the authors 2008-11-02 11:16:13 +00:00
code-of-conduct.md Add code of conduct document 2019-07-25 12:07:27 +02:00
config.h.in build: Rename config.h template 2020-02-05 17:07:10 +01:00
COPYING Fix warnings during docs build 2008-12-10 00:54:27 +00:00
meson.build tests/fprind: Add enroll retry tests for all the cases 2020-03-17 17:10:17 +01:00
meson_options.txt build: Make pam module installation dir configurable 2020-02-10 14:49:11 +01:00
NEWS 1.90.1 2020-02-10 14:59:42 +01:00
README README: Update link to website 2018-06-07 22:25:39 +02:00
README.transifex build: Add script to update translations 2020-02-05 15:25:35 +01:00
TODO TODO: Remove image transfer support 2018-05-31 17:28:19 +02:00
update-transifex.sh build: Add script to update translations 2020-02-05 15:25:35 +01:00

fprintd
=======

https://fprint.freedesktop.org/

Daemon to offer libfprint functionality over D-Bus
Might eat your kangaroo.

Written in C.

Licensed under the GPL version 2 or any later version (see COPYING).

A PAM login module is included in the 'pam' directory.

API use cases
=============

- User wants to use the fingerprint reader, and enroll
  his fingerprints, or remove some fingerprints from the database

- Administrator wants to enroll fingerprints for a particular user,
  or remove fingerprints for a particular user

- Laptop/desktop authentication:
  * Check for fingerprint devices
  * Check whether a particular user has any fingerprints enrolled
  * Verify a fingerprint for a particular user, or, if the device
  supports it, verify that the fingerprint matches against
  any of the fingerprints enrolled

- Point Of Sale authentication (in a bar, the fingerprint reader is
  used to see who accesses a particular point of sale/till, in place
  of PIN code authentication and/or tokens)
  * Given a list of users, verify which one has scanned their finger