Repository navigation
Conversation
Fresh provisioning now writes to /var/lib/fprint/gxfp; check that, the restorecon call, a legacy-only install being replaced in place, and that keys at both paths are refused and left untouched.
8964c0d to
2378be1
Compare
|
Maintainer test on Fedora 44 with SELinux enforcing. Candidate libfprint built Hardware/OS: MateBook D16 2024 (MCLF-XX), FW Results, per case from FEDORA-TEST.md:
Not tested: fresh provisioning (case 4 of the protocol; I did not want to AVC: the only denials seen were I am keeping this as a draft until TarekELz has run the same cases on their |
New installations store the PSK outside Fedora's fprintd SELinux file-context rule. This changes the default to
/var/lib/fprint/gxfp/psk_raw32.bin, while retaining/var/lib/fprintd/gxfp/psk_raw32.binas a fallback only when the new default is absent. ExplicitFP_GXFP_PSKpaths and access errors never silently select another key.Provisioning protects existing files at both locations, keeps explicit replacement on legacy-only installations at the old path, rejects ambiguous two-key replacement, and restores SELinux labels when available. Doctor and the English/Turkish documentation explain selection, migration and legacy labels. TarekELz's existing GPL-2.0 device policy is unchanged.
Validation on commit
bc12719:LD_LIBRARY_PATHin the test process because/opt/MVScaused a libusb loader conflict.Keeping this as a draft pending Fedora acceptance. Test instructions: FEDORA-TEST.md.
Refs #8; this PR does not close the issue automatically.