• fix: audit MEDIUM fixes — D-Bus race, TOCTOU, FP reset, entry clear (v0.6.11)

    nevaforget released this 2026-04-24 13:21:19 +02:00 | 1 commits to main since this release

    • fingerprint: split cleanup_dbus into a sync take_cleanup_proxy() + async
      perform_dbus_cleanup(). resume_async now awaits VerifyStop+Release before
      re-claiming, so fprintd cannot reject the Claim on a slow bus. stop()
      still spawns the cleanup fire-and-forget.
    • fingerprint: remove failed_attempts = 0 from resume_async. An attacker
      with sensor control could otherwise cycle verify-match → account-fail →
      resume and never trip the 10-attempt cap.
    • lockscreen: open the wallpaper with O_NOFOLLOW and build the texture
      from bytes, closing the TOCTOU between the symlink check and Texture::
      from_file.
    • lockscreen: clear password_entry immediately after extracting the
      Zeroizing, shortening the window the GLib GString copy stays in
      libc-malloc'd memory.
    Downloads