Commit Graph

  • 9c842e2c2f manager: Fix leak of FprintDevice reference Benjamin Berg 2020-11-17 20:58:42 +01:00
  • ec5cce083c device: Fix leaks on device finalization Benjamin Berg 2020-11-17 20:58:09 +01:00
  • ab8118bde2 tests: Add device removal test Benjamin Berg 2020-11-17 14:46:22 +01:00
  • 08fb209aed manager: Fix unexport of removed devices Benjamin Berg 2020-11-17 14:20:17 +01:00
  • 6eb9f263fd device: Disconnect authorization callback and remove clients Benjamin Berg 2020-11-13 14:10:26 +01:00
  • 74d05e7996 device: Destroy auth object in finalize Benjamin Berg 2020-11-13 14:10:10 +01:00
  • 83cd09ba2f device: Unwatch names when removing them Benjamin Berg 2020-11-13 14:00:48 +01:00
  • 8ed77829a7 tests: Add test for a client vanishing during claim Benjamin Berg 2020-05-12 17:44:13 +02:00
  • b63c76319f device: Make possible client vanished race testable using critical Benjamin Berg 2020-05-12 19:09:30 +02:00
  • fd9a86eca4 tests: Fail test if return code is less than 0 Benjamin Berg 2020-05-12 18:54:40 +02:00
  • 38ba7199b7 utils: Use auto-pointers Marco Trevisan (Treviño) 2020-01-31 12:57:57 +01:00
  • 827baff301 enroll: Cleanup error with autoptr Marco Trevisan (Treviño) 2020-01-29 22:37:22 +01:00
  • 6a5d46c8b0 file_storage: Use autopointers Marco Trevisan (Treviño) 2020-01-29 22:36:22 +01:00
  • 1ae0f4926d device: Always use auto-pointers Marco Trevisan (Treviño) 2020-01-29 22:14:36 +01:00
  • e1c2698807 main: Use more auto-pointers Marco Trevisan (Treviño) 2020-01-28 19:02:40 +01:00
  • b14bfd8226 device: Implement lock-free session getting scheme Benjamin Berg 2020-11-09 17:27:27 +01:00
  • 1e2f360ade device: Fix possible race condition when checking claimed state Benjamin Berg 2020-11-09 14:59:33 +01:00
  • 778a8540aa device.policy: Use auth-self-keep for enrollment Marco Trevisan (Treviño) 2020-11-06 21:55:55 +01:00
  • 4e707f0d31 manager: Use GEnum to register DBus errors from FprintError Marco Trevisan (Treviño) 2020-11-06 19:19:24 +01:00
  • 4c78012103 device: Use meson to generate fprint device permission flags Marco Trevisan (Treviño) 2020-11-06 18:42:21 +01:00
  • e59f3cbc4f device: Use GFlags to handle permission types easily as flags Marco Trevisan (Treviño) 2020-11-06 18:22:15 +01:00
  • 1a860aa882 tests/fprintd: Add tests ensuring that concurrent calls to fprintd work Marco Trevisan (Treviño) 2020-11-06 17:42:51 +01:00
  • a183b779ec tests/fprintd: Make easier to call device methods asynchronously Marco Trevisan (Treviño) 2020-11-06 17:41:59 +01:00
  • 9d6c7eb1a9 dbusmock/polkitd: Add ability to simulate call hangs or delays Marco Trevisan (Treviño) 2020-11-06 17:39:48 +01:00
  • 110c0018a2 tests/fprintd: Make possible to call gdbus client as an async process Marco Trevisan (Treviño) 2020-11-06 17:38:51 +01:00
  • 5611317c72 tests: Add standalone PolkitD implementation Marco Trevisan (Treviño) 2020-11-06 12:10:51 +01:00
  • 0904c8a527 tests/fprintd: Ensure we can claim and release with only the verify permission Marco Trevisan (Treviño) 2020-11-05 21:33:17 +01:00
  • a681996d1d device: Check Polkit actions asynchronously using skeleton authorize method Marco Trevisan (Treviño) 2020-11-05 21:01:25 +01:00
  • 4e7cf47a3d device: Get sender from invocation instead that during username check Marco Trevisan (Treviño) 2020-11-05 19:41:12 +01:00
  • 9d3f3fcaca device: Use some #define's for polkit supported actions Marco Trevisan (Treviño) 2020-11-05 13:09:16 +01:00
  • 30474a6546 manager: Add GDBus object manager Marco Trevisan (Treviño) 2020-11-05 13:03:04 +01:00
  • 93bad82540 fprintd: Use GDBus codegen based implementation Marco Trevisan (Treviño) 2020-02-03 20:29:56 +01:00
  • e224913b80 Revert "data: Add additional fprintd lockdown" Benjamin Berg 2020-11-06 10:22:32 +01:00
  • b2cae5cccf tests/fprintd: Check that identification with multiple images works Marco Trevisan (Treviño) 2020-04-03 06:13:33 +02:00
  • 3419901f65 build: Don't add the utils tests under the daemon suite Marco Trevisan (Treviño) 2020-04-03 04:49:47 +02:00
  • c85ca09e35 tests/fprintd-utils: Ensure that we exit with error if we have no device Marco Trevisan (Treviño) 2020-04-03 03:15:20 +02:00
  • ecc02cb588 utils: Uniform the no-devices error messages removing duplicated checks Marco Trevisan (Treviño) 2020-04-03 03:29:12 +02:00
  • 091f373109 tests/fprintd-utils: Check the tools return values in some tests Marco Trevisan (Treviño) 2020-04-03 03:14:44 +02:00
  • f6eb3b3ea5 verify: Pass the "any" finger parameter to the daemon Marco Trevisan (Treviño) 2020-04-03 02:55:33 +02:00
  • d7ca9e6095 tests/fprintd-utils: Verify happens on first finger if device has no identification Marco Trevisan (Treviño) 2020-04-03 02:23:04 +02:00
  • 6797928884 dbusmock/fprintd: Add ability to add a device with Identification support Marco Trevisan (Treviño) 2020-04-03 02:50:42 +02:00
  • d6c70be822 dbusmock/fprintd: Add ability to remove devices Marco Trevisan (Treviño) 2020-04-03 02:49:25 +02:00
  • d33a7c7e9d tests/fprintd-utils: Check that all fingers are listed Marco Trevisan (Treviño) 2020-04-03 02:55:48 +02:00
  • 94d3a18dcd tests/fprintd-utils: Check that verify returns an error if no finger is set Marco Trevisan (Treviño) 2020-04-03 02:12:41 +02:00
  • 5635383c96 tests/fprintd-utils: Check that fprintd-verify requests the expected finger Marco Trevisan (Treviño) 2020-04-03 02:11:52 +02:00
  • ac98b881be dbusmock/fprintd: Make possible to retrieve the finger selected for verification Marco Trevisan (Treviño) 2020-04-03 02:07:32 +02:00
  • 629f7fcc11 dbusmock/fprintd: Reset the current action on release Marco Trevisan (Treviño) 2020-04-03 02:08:17 +02:00
  • 5a703baa20 verify: Fail if we try to verify a non-enrolled finger Marco Trevisan (Treviño) 2020-04-02 22:21:06 +02:00
  • 6641cb6da8 tests/fprintd-utils: Verify that we can match all the enrolled fingers Marco Trevisan (Treviño) 2020-04-02 22:23:41 +02:00
  • 870b48637a tests/fprintd-utils: Verify errors if the device is already claimed Marco Trevisan (Treviño) 2020-04-02 21:25:13 +02:00
  • 4b0cde81fd tests/fprintd-utils: Add utility function to stop the utility process Marco Trevisan (Treviño) 2020-04-02 21:24:43 +02:00
  • 59b3d2af8d tests/fprintd-utils: Call addCleanup actions in reverse order Marco Trevisan (Treviño) 2020-04-02 21:15:39 +02:00
  • 93bcac946e tests/fprintd-utils: Move verification tests to a single class Marco Trevisan (Treviño) 2020-04-02 20:38:28 +02:00
  • a5063dc0e4 tests/fprintd-utils: Setup the device on setUp() Marco Trevisan (Treviño) 2020-04-02 20:09:36 +02:00
  • 5fbc38c938 tests/fprintd-utils: Run super setUp/tearDown functions Marco Trevisan (Treviño) 2020-04-02 20:08:25 +02:00
  • c42e627ddd pam: Always return translated string from helper Benjamin Berg 2020-10-06 11:28:57 +02:00
  • 2fd86624e5 data: Add additional fprintd lockdown Bastien Nocera 2020-10-02 14:17:38 +02:00
  • 6dc699ae6f tests: Fix test not failing on error Benjamin Berg 2020-10-02 17:54:20 +02:00
  • e075d37590 tests: Check that a verify operation can be immediately restarted Benjamin Berg 2020-10-01 14:14:02 +02:00
  • 18d6a86e9d device: Use early match for reporting verify status Marco Trevisan (Treviño) 2020-02-12 00:55:21 +01:00
  • 14051cac76 device: Fix race condition when clients vanish Benjamin Berg 2020-05-12 17:20:13 +02:00
  • 4e47222962 Revert "ci: Work-around meson coverage bug" Bastien Nocera 2020-08-18 12:07:59 +02:00
  • c07a63da99 ci: Work-around meson coverage bug Bastien Nocera 2020-08-17 16:28:28 +02:00
  • 812a3552a6 build: Fix custom_target meson warning Bastien Nocera 2020-08-17 15:36:34 +02:00
  • ff06a301f0 build: Bump libfprint req Bastien Nocera 2020-02-10 15:05:42 +01:00
  • 19353c971c build: Add some linefeeds to generated XML files Bastien Nocera 2020-02-06 17:22:58 +01:00
  • 290e56023f tests: Test more branches in pam verify signal handler Benjamin Berg 2020-05-27 13:51:26 +02:00
  • efe92a7c33 pam: Increase severity to error for unknown verify results Benjamin Berg 2020-05-27 14:14:13 +02:00
  • a7cf0ae3b2 pam: Fix double free after verification error Benjamin Berg 2020-05-27 13:38:37 +02:00
  • ba60533f71 device: Remove unused disconnected flag Marco Trevisan (Treviño) 2020-02-11 23:34:12 +01:00
  • fcd2d65490 tests: Add PAM test for hardware failure Bastien Nocera 2020-04-06 17:43:04 +02:00
  • 6dd010f05c ci: Add a job running tests built with address sanitizer Marco Trevisan (Treviño) 2020-02-13 19:33:37 +01:00
  • 714f499ab6 tests: Double the timeouts when testing with address sanitizer Marco Trevisan (Treviño) 2020-02-14 18:31:40 +01:00
  • d72c802415 tests/fprintd: Ensure that the daemon doesn't crash or abort Marco Trevisan (Treviño) 2020-02-13 19:19:01 +01:00
  • 184e1bd4d0 build: Support running tests with address sanitizer Marco Trevisan (Treviño) 2020-02-13 19:16:17 +01:00
  • f401f399a8 pam: Get preloaded libraries paths using compiler Marco Trevisan (Treviño) 2020-03-30 20:47:22 +02:00
  • 3dd0018f23 build: Set default CFLAGS using meson's c_args Marco Trevisan (Treviño) 2020-03-30 22:01:38 +02:00
  • 90298134a2 tests/fprintd: Add checks for delete enrolled fingers permissions Marco Trevisan (Treviño) 2020-02-06 20:02:16 +01:00
  • 8ff4360750 tests: Add test for STATE_DIRECTORY being multiple paths Bastien Nocera 2020-03-17 15:24:46 +01:00
  • fd733e55be file_storage: Handle STATE_DIRECTORY containing multiple paths Bastien Nocera 2020-03-17 15:23:13 +01:00
  • 6a1fffae82 tests/fprintd: Fix claim_from_other_client_is_released_when_vanished on CI Bastien Nocera 2020-03-27 16:57:16 +01:00
  • 47bd3f7fbb tests/fprintd: Fix test_enroll_invalid_storage_dir test Bastien Nocera 2020-03-27 16:26:28 +01:00
  • 4f3589c0dc build: List single unit python tests allowing to run them separately Marco Trevisan (Treviño) 2020-02-06 17:59:46 +01:00
  • eccd790df7 tests/fprintd: Add missing implementation of list_tests Marco Trevisan (Treviño) 2020-02-06 18:35:43 +01:00
  • bc29114a2c tests: Add a tool to inspect the single python unit tests Marco Trevisan (Treviño) 2020-03-27 01:48:18 +01:00
  • cf95187268 ci: Update CI after the fdo template changes Bastien Nocera 2020-03-24 15:50:57 +01:00
  • 23c37cd9b5 Revert "ci: Fix CI syntax error" Bastien Nocera 2020-03-24 15:49:30 +01:00
  • 967e4f24ed Revert "ci: Fix unknown keys in CI" Bastien Nocera 2020-03-24 15:49:22 +01:00
  • d7fec03f24 tests/fprintd: Increase allowed timeout Timothy Gu 2020-03-19 23:29:42 -04:00
  • 4a3ae5ccaf tests/fprintd: Allow tests to run even when virtual device is not available Timothy Gu 2020-03-19 23:27:15 -04:00
  • e828ea3b2d main: Add missing locale.h include Timothy Gu 2020-02-06 10:25:54 -08:00
  • d27872ff86 test_fprintd_utils: Don't use hard-coded sleep time Marco Trevisan (Treviño) 2020-02-14 18:18:51 +01:00
  • cfbded36e1 test_fprintd_utils: Use a non-blocking pipe to read output Marco Trevisan (Treviño) 2020-02-14 18:16:23 +01:00
  • 072fbc2b46 tests_fprintd_utils: Print the process output when done Marco Trevisan (Treviño) 2020-02-14 17:33:08 +01:00
  • 7846359b65 test_fprintd_utils: De-duplicate utilities launching Marco Trevisan (Treviño) 2020-02-14 17:28:19 +01:00
  • 08339a0648 tests/fprintd: Skip some tests in CI depending on permissions Marco Trevisan (Treviño) 2020-02-11 05:29:43 +01:00
  • 3dd10b4b37 tests/fprind: Check that device is released when Caller operation is done Marco Trevisan (Treviño) 2020-02-11 05:12:46 +01:00
  • bee2e154b1 tests/fprintd: Ensure that other clients can't interfere with claimer Marco Trevisan (Treviño) 2020-02-11 05:07:33 +01:00
  • 27f0b64d03 tests/fprintd: Add tests for verification through finger id Marco Trevisan (Treviño) 2020-02-11 02:29:45 +01:00
  • f4ee2f86a3 device: Throw NoEnrolledPrints on missing finger in gallery Marco Trevisan (Treviño) 2020-02-11 02:29:13 +01:00