Recover fingerprint authentication before user sessions resume

This commit is contained in:
ajp_anton committed 2026-11-15 02:20:06 +00:00
1 parent d2a6aafc71
commit da66a3ae6c
6 files changed
+95 -1

No files matched your search

@@ -0,0 +1,45 @@
Name: fingerprint-resume-recovery
Version: 0.1.0
Release: 1%{?dist}
Summary: Restore fingerprint unlocking after sleep
License: MIT
URL: https://git.ajpanton.se/ajp_anton/fedora-tools
Source0: fingerprint-resume-recovery
Source1: LICENSE
Source2: README.md
BuildArch: noarch
BuildRequires: bash
Requires: coreutils
Requires: fprintd
Requires: systemd
Requires: kscreenlocker >= 6.8
Requires: plasma-desktop >= 6.8
Provides: fedora-tools-tool
%description
Restarts an active fingerprint service after resume, before the lock screen
retries authentication. This works around fingerprint failures after sleeping
with an active scan. Installing the package enables recovery; removing it
restores the default behaviour. Fedora's KScreenLocker package is kept intact.
%prep
%build
%check
sh -n %{SOURCE0}
%install
install -Dpm 0755 %{SOURCE0} \
%{buildroot}%{_prefix}/lib/systemd/system-sleep/fingerprint-resume-recovery
install -Dpm 0644 %{SOURCE1} %{buildroot}%{_licensedir}/%{name}/LICENSE
install -Dpm 0644 %{SOURCE2} %{buildroot}%{_docdir}/%{name}/README.md
%files
%license %{_licensedir}/%{name}/LICENSE
%doc %{_docdir}/%{name}/README.md
%{_prefix}/lib/systemd/system-sleep/fingerprint-resume-recovery
%changelog
* Sat Nov 14 2026 fedora-tools contributors - 0.1.0-1
- Recover the fingerprint service before user sessions resume