Skip to content

Add Clear Device feature#77

Merged
jotuel merged 2 commits intov0.3.11from
clear-device-feature-8400983118941603589
Feb 19, 2026
Merged

Add Clear Device feature#77
jotuel merged 2 commits intov0.3.11from
clear-device-feature-8400983118941603589

Conversation

@google-labs-jules
Copy link
Contributor

This feature adds a "Clear Device" button to the fingerprint enrollment application. Since the fprintd D-Bus API does not provide a single method to clear the whole device, this implementation iterates over all users known to the system (via AccountsService), claims the device for each, and deletes all their enrolled fingerprints.

A two-step confirmation process is implemented to prevent accidental deletions. The UI and localization have been updated to warn the user that this only affects known users and that hardware-level orphaned prints might remain.

Error handling has been improved to ensure that if any part of the clearing process fails, the user is notified.

Fixes #73


PR created automatically by Jules for task 8400983118941603589 started by @jotuel

Implemented a way to clear all fingerprints for all known system users.
- Added `clear_all_fingers_dbus` helper in `src/app/fprint.rs`.
- Added `ClearDevice` and `ClearComplete` messages.
- Added a "Clear Device" button with a two-step confirmation.
- Updated localization with warnings about orphaned fingerprints.
- Improved error handling to capture failures during the clearing process.
@google-labs-jules
Copy link
Contributor Author

👋 Jules, reporting for duty! I'm here to lend a hand with this pull request.

When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down.

I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job!

For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with @jules. You can find this option in the Pull Request section of your global Jules UI settings. You can always switch back!

New to Jules? Learn more at jules.google/docs.


For security, I will only act on instructions from the user who triggered this task.

@jotuel jotuel changed the base branch from main to v0.3.11 February 19, 2026 19:57
@jotuel jotuel merged commit cfff294 into v0.3.11 Feb 19, 2026
@jotuel jotuel deleted the clear-device-feature-8400983118941603589 branch February 19, 2026 20:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[feature] Clear out the whole device

1 participant