mirror of
https://gitlab.freedesktop.org/libfprint/fprintd.git
synced 2026-05-03 00:48:05 +02:00
read-only mirror of https://gitlab.freedesktop.org/libfprint/fprintd
... identified through GCC analyzer: ``` Error: GCC_ANALYZER_WARNING (CWE-476): [#def5] fprintd-v1.94.5/redhat-linux-build/../pam/pam_fprintd.c:768:3: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘data’ /usr/include/security/pam_modules.h:34:5: enter_function: entry to ‘pam_sm_authenticate’ fprintd-v1.94.5/redhat-linux-build/../pam/pam_fprintd.c:843:6: branch_false: following ‘false’ branch... fprintd-v1.94.5/redhat-linux-build/../pam/pam_fprintd.c:846:7: branch_false: ...to here fprintd-v1.94.5/redhat-linux-build/../pam/pam_fprintd.c:846:6: branch_false: following ‘false’ branch... branch_false: ...to here fprintd-v1.94.5/redhat-linux-build/../pam/pam_fprintd.c:915:10: call_function: calling ‘do_auth’ from ‘pam_sm_authenticate’ 766| 767| data = calloc (1, sizeof (verify_data)); 768|-> data->max_tries = max_tries; 769| data->pamh = pamh; 770| ``` Resolves: https://openscanhub.fedoraproject.org/task/51967/log/fprintd-1.94.5-1.fc43/scan-results.html#def5 Signed-off-by: Siteshwar Vashisht <svashisht@redhat.com> |
||
|---|---|---|
| data | ||
| doc | ||
| pam | ||
| po | ||
| scripts | ||
| src | ||
| tests | ||
| utils | ||
| .git-blame-ignore-revs | ||
| .gitignore | ||
| .gitlab-ci.yml | ||
| AUTHORS | ||
| code-of-conduct.md | ||
| config.h.in | ||
| COPYING | ||
| meson.build | ||
| meson_options.txt | ||
| NEWS | ||
| README | ||
| TODO | ||
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. Translating =========== fprintd and pam_fprintd are translated using weblate. Please visit https://translate.fedoraproject.org/projects/fprintd/ to contribute translations. 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 Debugging ========= To enable debug output run `systemctl edit fprintd.service` then enter: ``` [Service] Environment=G_MESSAGES_DEBUG=all ``` Save the result and restart fprintd using `systemctl restart fprintd.service`. After that, you can grab the logs using `journalctl -u fprintd.service`.