Repository navigation
Retry T6000 Touch ID sensor registration before enrollment - #526
acrogenesis wants to merge 2 commits into
Conversation
The J316c M1 Max can time out reading the sensor serial before its first scan. Retry registration while the original enrolment is live, before creating any enclave enrolment. Preserve the single startup attempt on other profiles. Signed-off-by: Adrian Rangel <adrian@acrogenesis.com>
4cf3f98 to
4ad5bfb
Compare
Signed-off-by: Adrian Rangel <adrian@acrogenesis.com>
|
Tested the enrollment and verification patches together on the built-in reader of a 16-inch M1 Max MacBook Pro (J316c/T6001) after reboot. The running SEP module’s build ID matched the combined ARM Lab artifact on kernel Using the Qt Fingerprint Setup window, the first enrollment returned The combined build completed real enrollment and verification. The kernel log contained no registration retry during this run, so it provides hardware coverage of the combined paths. Coverage of a failing enrollment registration followed by successful recovery still comes from the scripted driver tests. The first-attempt capture failure remains reproducible on this build. |
|
Superseded by #525, which now contains both the enrollment and verification registration fixes. The original enrollment commits The combined Rust-backed tests passed. The M1 Max enrolled and independently matched the new fingerprint on the second attempt, after a first-attempt capture error during identification. Hardware results. Please continue kernel review on #525. |
On a 16-inch 2021 MacBook Pro with M1 Max (J316c, T6001), two enrollment requests ended before the first scan. The kernel logged
enrol: the sensor did not come back onlineboth times. One startup timed out reading the sensor serial. A later manual attempt on the same boot completed enrollment.Allow up to three registration attempts on the T6000 profile before opening the enrollment in the enclave. Use the existing registration recovery to power-cycle and re-register the sensor. Check the original enrollment epoch before startup, between attempts, and again before proceeding to the enclave. Cancellation before startup leaves the sensor untouched. Cancellation after an attempt powers it down and records the settling interval for the next scan. Other profiles keep their single startup attempt. Capture, template creation, and persistence each follow their usual path once registration succeeds.
This change builds on the SEP driver by Dj and Ryan Murray and reuses Ryan's registration retry and session recovery commits. The corresponding pre-verification fix is in #525. The two branches apply cleanly together.
Verification
53867b7f15fatogether with soc: apple: sep: Retry T6000 sensor registration for verification and enrollment #525 against the guarded Stable backport. A separate diskless KVM guest booted the packaged7.2.11-14-1-ARCHkernel and loaded that module with storage writes and key provisioning disabled. Module SHA-256 wasa23715abeb74f355df620382aed2294f2c1a6906b06930cfa2c9556dec3cd254.7.2.11-14-1-ARCH, OS firmware13.5, and firmware-reported system versionunknown. The combined module was subsequently booted on this M1 Max. The first enrollment hit a capture error during identification. A second enrollment completed and the newly enrolled print matched on a separate verification, with zero guard refusals. This run recorded no registration retry. Hardware test log summary. The desktop and sudo authentication results on this Mac are recorded in Omarchy #20223.