Commit Graph

  • e8baf4c9a9 device: Switch to new fp_device_has_feature API Benjamin Berg 2021-04-19 15:50:20 +02:00
  • 3b787aa8d1 ci: Allow failing stable build Benjamin Berg 2021-04-19 16:13:00 +02:00
  • 4f4b0d5f11 tests/fprintd: Check that garbage collecting works on duplicated print Marco Trevisan (Treviño) 2021-04-02 00:08:22 +02:00
  • aae37304e5 tests/fprintd: Cleanup FPrintdVirtualStorageDeviceTests Marco Trevisan (Treviño) 2021-04-01 23:50:52 +02:00
  • 8869b8296f tests/fprintd: Check an error is thrown if trying to re-enroll a finger Marco Trevisan (Treviño) 2021-04-01 22:25:45 +02:00
  • bc55deab2a device: Do not allow enrolling a finger that is already enrolled Benjamin Berg 2020-12-16 15:41:31 +01:00
  • 41086ac4c6 tests/fprintd: Test enroll multiple prints with duplicates Marco Trevisan (Treviño) 2021-04-01 21:37:29 +02:00
  • 4e075ba491 tests/fprintd: Repeat enroll tests with virtual device with no storage Marco Trevisan (Treviño) 2021-04-01 19:15:34 +02:00
  • e8622b3e63 device: Support enrolling on devices with no identification support Marco Trevisan (Treviño) 2021-04-01 18:37:14 +02:00
  • 5785dc65b4 device: Add duplicate checking during enroll Benjamin Berg 2020-12-15 15:22:11 +01:00
  • b7b91e77bb dbus: Add new enroll-duplicate error code Benjamin Berg 2020-12-15 15:20:45 +01:00
  • 084e5bfafd tests/dbusmock/polkitd: Remove unwanted method, from a fprintd copy-paste Marco Trevisan (Treviño) 2021-03-23 19:00:33 +01:00
  • d53eaa7d89 tests/dbusmock/polkitd: Do not look for mock object again Marco Trevisan (Treviño) 2021-03-23 18:59:41 +01:00
  • 29a83ec49a tests/dbusmock/fprintd: Do not redefine device object methods multiple times Marco Trevisan (Treviño) 2021-03-23 18:57:58 +01:00
  • a5ff42394e main: De-init the storage when main loop is over Marco Trevisan (Treviño) 2021-01-28 21:37:10 +01:00
  • 0af8cf1d56 tests/fprintd: Use intermediate timeouts based on default setup Marco Trevisan (Treviño) 2021-01-28 21:30:39 +01:00
  • 3a05589685 utils/delete: Add ability to delete single user fingerprints by finger name Marco Trevisan (Treviño) 2021-01-28 21:15:05 +01:00
  • 8485985ed3 delete: Use GOptionContext to handle help Marco Trevisan (Treviño) 2021-01-28 20:06:24 +01:00
  • bb722a0373 tests/fprintd: Add tests for 'verify' utility Marco Trevisan (Treviño) 2021-01-28 18:21:31 +01:00
  • 022ee1a4c5 tests/fprintd: Add test for the enroll utility using virtual device commands Marco Trevisan (Treviño) 2021-01-28 18:21:00 +01:00
  • 8d14af379f utils/verify: Terminate with EXIT_FAILURE when enrollment failed Marco Trevisan (Treviño) 2021-01-28 18:20:29 +01:00
  • 9a13293818 utils/enroll: Terminate with EXIT_FAILURE when enrollment failed Marco Trevisan (Treviño) 2021-01-28 18:19:56 +01:00
  • c66d5d0fa6 utils/enroll: Fix typo on error Marco Trevisan (Treviño) 2021-01-28 18:19:36 +01:00
  • aba0f0a714 tests/fprintd: Add test for device error during Claim Marco Trevisan (Treviño) 2021-01-28 18:15:43 +01:00
  • b1a218d56a tests/fprintd: Add tests to check errors when using the 'delete' tool Marco Trevisan (Treviño) 2021-01-28 18:18:44 +01:00
  • 59c2dc5df2 tests/fprintd: Use output checker in FPrintdUtilsTest Marco Trevisan (Treviño) 2021-01-27 23:59:15 +01:00
  • f4d2e905bd tests/fprintd: Use storage device for more tests Marco Trevisan (Treviño) 2021-01-27 23:58:28 +01:00
  • 6f355797f8 device: Throw a NoEnrolledPrints error if trying to delete a device with no prints Marco Trevisan (Treviño) 2021-01-27 22:47:09 +01:00
  • 4b246d3ce2 utils/delete: Use proper error string on deletion Marco Trevisan (Treviño) 2021-01-27 20:14:12 +01:00
  • 8da1b5e7f5 device: Do not set the device in verification state if we've errored Marco Trevisan (Treviño) 2021-03-02 17:07:40 +01:00
  • 6d21128b89 device: Simplify VerifyStart handler using prints loading functions Marco Trevisan (Treviño) 2021-03-02 16:58:44 +01:00
  • 1511eb93ea device: Do not list invalid prints as enrolled Marco Trevisan (Treviño) 2021-03-02 16:17:14 +01:00
  • 8f3b48e261 device: Add utility function to load all user prints Marco Trevisan (Treviño) 2021-03-02 16:01:46 +01:00
  • bc8ff3e3f6 device: Add helper routine to load all prints Benjamin Berg 2020-12-15 14:40:45 +01:00
  • d07e81acae meson: Consider the 'pam' option in the summary Marco Trevisan (Treviño) 2021-03-02 15:40:08 +01:00
  • a04a60cd8e tests/fprintd: Add better tests for ListEnrolledFingers in unclaimed state Marco Trevisan (Treviño) 2021-03-02 15:22:13 +01:00
  • ecf6b7c323 pam_fprintd: Just return a PAM_AUTH_ERROR on unknown errors Marco Trevisan (Treviño) 2021-03-02 15:10:33 +01:00
  • df6ebefef7 pam_fprintd: Consistently return PAM_AUTHINFO_UNAVAIL when device has no prints Marco Trevisan (Treviño) 2021-03-02 15:03:38 +01:00
  • b7aa0c455d tests: Update output checker Benjamin Berg 2021-02-15 17:43:59 +01:00
  • fe95889f2e pam_fprintd.pod: Adapt documentation on max-tries to match code Marco Trevisan (Treviño) 2021-02-01 18:08:25 +01:00
  • 556f8928a6 pam: Allow values bigger than 9 to be used as max tries match Marco Trevisan (Treviño) 2021-02-01 18:07:52 +01:00
  • 02bd36d8d9 tests/fprintd: Check that we can't try to release a device while closing Marco Trevisan (Treviño) 2021-01-27 18:01:10 +01:00
  • b92f39be3d tests/fprintd: Add test to check errors during release Marco Trevisan (Treviño) 2021-01-27 18:00:39 +01:00
  • b46aba6fb2 tests/fprintd: Ensure stored print deletion error has higher prio than device error Marco Trevisan (Treviño) 2021-01-27 17:50:49 +01:00
  • 2b81184b42 device: Fail with any non-zero return value on storage print_data_save() Marco Trevisan (Treviño) 2021-01-27 17:06:29 +01:00
  • 2af0e6407a tests/fprintd: Make prints not writable by turning them into directories Marco Trevisan (Treviño) 2021-01-27 16:58:30 +01:00
  • 9a39f1fde8 tests/fprintd: Verify the case we can't delete prints from device Marco Trevisan (Treviño) 2021-01-27 15:56:24 +01:00
  • 1deb1e2044 tests/fprintd: Add ability to force-kill the daemon if we're fine to hang Marco Trevisan (Treviño) 2021-01-27 15:55:48 +01:00
  • 75989bd2be tests/fprintd: Compute timeout for daemon-stop phase depending on platform Marco Trevisan (Treviño) 2020-12-20 06:43:02 +01:00
  • 3df730faeb tests/fprintd: Make possible to store duplicated prints for an user Marco Trevisan (Treviño) 2020-12-20 01:09:09 +01:00
  • f2514f43f6 tests/fprintd: Return more data about the enrolled prints Marco Trevisan (Treviño) 2021-01-26 20:42:08 +01:00
  • 8ef255a3bd tests/fprintd: Add option to claim device for user on enroll_image Marco Trevisan (Treviño) 2020-12-19 02:01:48 +01:00
  • 15b41aa7c2 tests/fprintd: Add function and tests to enroll multiple users fingers/images Marco Trevisan (Treviño) 2020-12-18 01:18:21 +01:00
  • bec42959ad tests/fprintd: Add an utility function to easily check for match/no-match Marco Trevisan (Treviño) 2021-01-26 20:19:56 +01:00
  • 5e00b01cf1 tests/fprintd: Ensure that the selected finger is emitted as expected Marco Trevisan (Treviño) 2020-12-18 01:17:10 +01:00
  • b3bf4ac1a3 tests/fprintd: Unset the values we monitor for results on wait_for_result Marco Trevisan (Treviño) 2020-12-18 01:04:56 +01:00
  • 4aa70fb6c6 tests/fprintd: Reimplement the tests relying on specific image driver features Marco Trevisan (Treviño) 2021-01-26 04:47:09 +01:00
  • d2c8a383e6 tests/fprintd: Implement device removal via the 'UNPLUG' command Marco Trevisan (Treviño) 2021-01-25 17:50:07 +01:00
  • 9a85bfa57f tests/fprintd: Ensure the scan type can be changed and is notified Marco Trevisan (Treviño) 2021-01-24 22:02:29 +01:00
  • 7f2133cc79 tests/fprintd: Verify using no-identification device with 'any' finger Marco Trevisan (Treviño) 2021-01-24 21:47:37 +01:00
  • 8491d35eef tests/fprintd: Verify that we can enroll with one stage only Marco Trevisan (Treviño) 2021-01-24 21:27:26 +01:00
  • 32ae65fae6 tests/fprintd: Reduce the enroll stages when possible to avoid operations Marco Trevisan (Treviño) 2021-01-24 20:51:50 +01:00
  • 8799fd296a tests/fprintd: Repeat all relevant tests with the storage device Marco Trevisan (Treviño) 2021-01-24 20:30:55 +01:00
  • 157bcf0ff5 device: Check if the device is open if we didn't fail in claiming it Marco Trevisan (Treviño) 2021-01-24 20:21:07 +01:00
  • d7431c9654 ci: Do not use verbose logging for tests, just rely on artifacts Marco Trevisan (Treviño) 2021-01-25 19:08:07 +01:00
  • 2348876ba0 ci: Enable Virtual Device (with storage or not) tests Marco Trevisan (Treviño) 2021-01-25 19:00:43 +01:00
  • 0b80245e8a tests/fprintd: Inherit storage tests from FPrintdVirtualDeviceBaseTest Marco Trevisan (Treviño) 2021-01-23 23:54:11 +01:00
  • 72a2504fc4 device: Wait device to finish for a timeout before completing VerifyStop Marco Trevisan (Treviño) 2021-01-23 22:22:42 +01:00
  • 8d8c181f31 tests/fprintd: Check that errors happening after we got a result are ignored Marco Trevisan (Treviño) 2021-01-23 21:22:10 +01:00
  • cce9551c98 tests/fprintd: Be more flexible in accepting async results with exceptions Marco Trevisan (Treviño) 2021-01-22 20:43:45 +01:00
  • c8c543672d tests/fprintd: Make assertFprintError to accept list of errors we accept Marco Trevisan (Treviño) 2021-01-23 16:00:25 +01:00
  • 5acf13cf51 tests/fprintd: Ensure that all the methods can be called concurrently Marco Trevisan (Treviño) 2021-01-22 19:16:12 +01:00
  • f3a8adf3c8 tests/fprintd: Make possible to organize async replies per proxy and method Marco Trevisan (Treviño) 2021-01-23 18:45:22 +01:00
  • c32737f4d4 tests/fprintd: Use global definitions for Fprint namespace and paths Marco Trevisan (Treviño) 2021-01-23 15:20:42 +01:00
  • 804aff3c30 tests/fprintd: Use a class to compare permissions easily Marco Trevisan (Treviño) 2021-01-23 15:31:42 +01:00
  • f87cb27163 device: Fix debug statement string ordering and be more consistent Marco Trevisan (Treviño) 2021-01-23 14:33:33 +01:00
  • 457cbd46cd device: Stop any further EnrollStop/VerifyStop request once we got one Marco Trevisan (Treviño) 2021-01-22 18:44:14 +01:00
  • 32b70c0edc device: Add an unique function to check if we can stop the current action Marco Trevisan (Treviño) 2021-01-22 18:17:23 +01:00
  • ff798edc51 device: Move duplicated code for stopping a stoppable action into a function Marco Trevisan (Treviño) 2021-01-22 16:02:57 +01:00
  • 56436fb8b1 device: Always use stoppable_action_completed to terminate actions Marco Trevisan (Treviño) 2021-01-22 15:51:00 +01:00
  • dbf01399ad device: Throw an error if we failed to delete a device storage print Marco Trevisan (Treviño) 2020-12-17 01:58:30 +01:00
  • 0f29cfc0c7 tests/fprintd: Check the storage errors are emitted if we fail delete prints Marco Trevisan (Treviño) 2020-12-17 01:38:38 +01:00
  • e0a643f3b9 device: Return more specific error if we failed cleaning up the storage Marco Trevisan (Treviño) 2020-12-17 01:37:54 +01:00
  • 3fa0f232ef tests/fprintd: Ensure DeleteEnrolledFingers2 works for multiple fingers Marco Trevisan (Treviño) 2020-12-17 01:28:15 +01:00
  • 3c91ac9a3f tests/fprintd: Add utility functions to check if prints are stored Marco Trevisan (Treviño) 2020-12-17 01:24:46 +01:00
  • 3fe268f6f2 tests/fprintd: Move permissions checks to a single function Marco Trevisan (Treviño) 2020-12-17 01:00:54 +01:00
  • 76c6e9e030 device: Return errors on deletion of prints from storage Marco Trevisan (Treviño) 2020-12-17 00:17:02 +01:00
  • 5dde80c136 device: Expose an error if we are not able to remove a print from storage Marco Trevisan (Treviño) 2020-12-17 00:10:02 +01:00
  • 0203c8aed8 tests: Add more tests to verify AlreadyInUse error on deletion methods Marco Trevisan (Treviño) 2020-12-06 20:07:06 +01:00
  • 7d87f5e664 device: Set an error if trying to delete a print that is not enrolled Marco Trevisan (Treviño) 2020-12-06 18:30:53 +01:00
  • fd72c0b81b device: Support deleting a single fingerprint for user Marco Trevisan (Treviño) 2020-12-06 17:50:48 +01:00
  • 1835d99265 device: Expose finger status as DBus properties Marco Trevisan (Treviño) 2020-12-05 06:19:06 +01:00
  • 30eaaf2def device: Take advantage of the DBus skeleton properties caching Marco Trevisan (Treviño) 2020-12-05 04:45:32 +01:00
  • 657f58fd64 pam: Handle sigint by using a signalfd Benjamin Berg 2020-12-10 23:58:19 +01:00
  • 584933aad7 pam_fprintd: Fix a few issues found by static analysis Benjamin Berg 2021-01-22 11:30:50 +01:00
  • eadf4fced8 tests: Add test to verify deletion Benjamin Berg 2021-01-12 10:30:50 +01:00
  • 27a76c9b79 tests: Add test to check order of garbage collection Benjamin Berg 2020-12-19 18:01:11 +01:00
  • 9301693c83 tests: Allow use of other virtual devices Benjamin Berg 2020-12-19 18:01:00 +01:00
  • 00fbf19079 device: Prefer older prints when garbage collecting Benjamin Berg 2021-01-07 14:03:50 +01:00
  • 6fd1aa51cd data: Use the correct mode for the state dir Jan Alexander Steffens (heftig) 2021-01-19 22:18:55 +00:00