Repository navigation
Conversation
The setup installed libfprint-git whenever no package was named libfprint-git, so a reader-specific fork that provides libfprint (such as libfprint-goodixtls511-git for the Goodix 27c6:5110) was swapped out by --ask 4, leaving the reader with no working driver. Only stock libfprint, or no libfprint at all, is replaced now. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
[Medium impact] The PR appears safe to merge; no actionable issues were found. SummaryFingerprint setup now keeps an installed
Reviews (1) · Last reviewed commit: "Keep a libfprint fork when setting up th..." · Reviewed by Greptile |
|
Thanks for this, and for linking the fork fixes for anyone with the same reader. This pull request has been read but not verified yet. Every item here is classified by two models separately: Claude Opus 5.5 read it as a bug fix. The second reviewer, Codex Medium, was reachable but did not run, because the reviews budgeted for today were already used up. With only one answer the classification stays open, so this has no label yet, and nothing has run on a test machine. What was checked, by reading only: the diff at Next, the maintainer has to settle the classification. After that, the change gets reproduced on a worker (fails on |
|
Additional affected hardware: ThinkPad E490, Synaptics 06cb:00a2. A patched libfprint-00a2 provider now enrolls and verifies this reader; the owner confirmed fingerprint unlocking works. The stock Omarchy setup explicitly installs libfprint-git and would remove that required provider, so preserving custom providers matters here too. I applied this PR's patch to the current Omarchy checkout and ran test/shell.d/fingerprint-package-test.sh. The fingerprint package test passed. The tested device patch, package recipe and hardware results are in #17949 and https://gist.github.com/mantelsolutions/7146565ab78e22d3ef4dbee848afeadc. This does not claim testing every part of this PR or automatic E490 driver installation. |
|
Thanks @hjemmel. #12833 merged today as 1bcb85e and fixes this: fingerprint setup now asks which package owns |
Problem
omarchy-setup-security-fingerprintdecides whether to install packages withomarchy-pkg-missing libfprint-git fprintd usbutils. A reader-specific libfprint fork provideslibfprint, notlibfprint-git, so the check always reports it missing. The setup then runspacman -S --ask 4 -- libfprint-git …, which replaces the fork. The reader is left with a libfprint that has no driver for it.I hit this on a Huawei MateBook D 14 with a Goodix 27c6:5110. That sensor is only supported by
libfprint-goodixtls511-git(AUR, buxel's fork), whichprovides=('libfprint'). Running the setup, or accepting the first-run invitation, would break a reader that already works.Change
Before choosing the package list, ask pacman which package provides
libfprint(pacman -Qq libfprintprints the provider's real name):libfprint: installlibfprint-git fprintd usbutils, exactly as before. Stock is still swapped forlibfprint-gitin one--ask 4transaction.fprintd usbutilsand keep the driver. This includeslibfprint-gititself, where behavior is unchanged because everything is already present.Raw
pacman -Qqis used becauseomarchy-pkg-missing/-presentcan only answer yes or no, not name the provider.Tests
test/shell.d/fingerprint-package-test.sh:-Q/-Qqthrough aPROVIDERvariable, like real pacman does.fprintd usbutils.not ok - a libfprint fork with fprintd installed does not touch pacman).fingerprint-*tests,security-fingerprint-remove-test.shand./test/clipass.libfprint-goodixtls511-huawei), the new selection resolves tofprintd usbutils, with nothing to install.The repair migration
1785090473doesn't have this problem: it checksomarchy-pkg-missing libfprint, and pacman's-Qresolves provides, so a fork already counts as installed.Related
Getting this reader working took fixes in the fork itself too. Linking them for anyone with the same hardware:
0xd4wake beforeenable_chipafter every power-up. Without it, unlock breaks after the first suspend.fprintdresume workaround.🤖 Generated with Claude Code