1. 21 Nov, 2008 2 commits
  2. 02 Nov, 2008 5 commits
    • Bastien Nocera's avatar
      More identification work · 15fbacd7
      Bastien Nocera authored
      - Add a finger selected signal, so that when an "automatic" finger
        is selected for verification, we know which one to scan
      - Fix the finger print numbers list to use GPOINTER_TO_INT /
        GINT_TO_POINTER
      - Make sure the gallery is NULL when there's no prints available
      - Don't use identification when a finger number is provided
      - Add support for selecting the finger number in verify
      - Add support for fatal warnings there as well
      15fbacd7
    • Bastien Nocera's avatar
      Rework the "SetUsername" functionality · e8c36e95
      Bastien Nocera authored
      - Remove SetUsername itself, and add a username parameter to DeviceClaim,
        ListEnrolledFingers and DeleteEnrolledFingers.
      - For each of those calls, check that the incoming connection is allowed
        to operate on that particular username
      - Don't require a claimed device to list or remove fingerprints
      - Clean up username and sender when releasing the device
      - Modify the storage backend to not require an opened device to list
        or delete fingerprints
      - Add a simple test program to list registered fingerprints for the
        usernames passed as argument
      e8c36e95
    • Bastien Nocera's avatar
      Update storage code to allow plugins · bd2debc0
      Bastien Nocera authored
      Add naive plugin support to the storage code, it will
      load plugins from $(libdir)/fprintd/modules, given the configuration
      from /etc/fprintd.conf.
      bd2debc0
    • Bastien Nocera's avatar
      Add DeleteEnrolledFingers · af42db88
      Bastien Nocera authored
      To delete all the enrolled finger prints for a particular user.
      We can already overwrite existing enrolled fingerprints, and there's
      not really any point in dismissing just one fingerprint.
      af42db88
    • Bastien Nocera's avatar
      Kill LoadPrintData and UnloadPrintData · bb121098
      Bastien Nocera authored
      They were just doing nothing interesting for us, and might
      cause problems if data changes under us (say, remote storage).
      bb121098
  3. 22 May, 2008 4 commits
    • Bastien Nocera's avatar
      Add PolicyKit checking · 46a9783b
      Bastien Nocera authored
      Add PolicyKit checks to all the public functions, grouped
      in 2 main groups: Verify and Enroll
      By default, only the user is able to enroll new fingers,
      or verify themselves.
      You need to be allowed at least one of those 2 actions
      to be allowed to claim or release the device.
      
      We also add a new SetUsername function, for administration
      functions. Users will need to be authenticate as admins to
      be allowed to change the username on which the actions will
      be taken. Any prints loaded before the change of username will
      be unloaded.
      46a9783b
    • Bastien Nocera's avatar
      Kill ListEnrolledFingersFromStorage · b1b5e2b4
      Bastien Nocera authored
      Last FromStorage variant killed, we need to make sure all
      the functions now use the storage functions internally,
      otherwise we won't be able to load from the place we save.
      b1b5e2b4
    • Bastien Nocera's avatar
      Kill LoadPrintDataFromStorage · 5d4e23ab
      Bastien Nocera authored
      First FromStorage variant to go
      5d4e23ab
    • Bastien Nocera's avatar
      Fix return values for async methods · 7f592dd2
      Bastien Nocera authored
      Async methods should return "out" variables using dbus_g_method_return(),
      not through function parameters. Fixes crashing using those functions.
      7f592dd2
  4. 18 May, 2008 1 commit
    • Bastien Nocera's avatar
      Add user tracking when claiming a device · 1748e5f4
      Bastien Nocera authored
      Mark all the methods on the device as async, so we
      can get access to the associated DBusGMethodInvocation.
      
      When claiming the device, remember the sender, and for every
      API entry point, check that the sender is the same as the one
      that made the original claim.
      
      Trying to enroll a user whilst the device is already claimed
      from another program will fail with:
      ** ERROR **: failed to claim device: Device was already claimed
      
      This is the first step towards PolicyKit and multi-user support
      1748e5f4
  5. 06 Apr, 2008 1 commit
  6. 06 Mar, 2008 2 commits
  7. 05 Mar, 2008 1 commit
  8. 04 Mar, 2008 2 commits