#
✕ nick:Zavec
#asahi-re · 2025-02-22 23:49
ZavecAnyway I'm going to get some sleep, thanks both of you for all the help! And apologies in advance if this takes me a long time, still trying to find an ADHD med that actually works for me :P
#asahi-re · 2025-02-22 23:47
ZavecI've never really dug into the apple ecosystem before, so there's probably lots of things like that I'll miss
#asahi-re · 2025-02-22 23:46
Zavecoh yeah, hdiutil would be way easier good call
#asahi-re · 2025-02-22 23:43
Zavecprobably would be better for my back
#asahi-re · 2025-02-22 23:43
Zavecthough really that's something I should do anyway
#asahi-re · 2025-02-22 23:42
Zavecwe'll see which happens first then, between the new laptop coming (in which case I can do all this from my coffee table) or me finally cleaning off the desk where my desktop has sat unused for a year or so :P
#asahi-re · 2025-02-22 23:41
Zavecre. apfs images: if it's not too much trouble those would probably be helpful!
#asahi-re · 2025-02-22 23:40
ZavecI'm on a M1 mbp right now, but it sounds like I need a second device for the tracing stuff with m1n1 unless I've misunderstood something
#asahi-re · 2025-02-22 23:38
ZavecWell that at least gives me something I can get started on reading (and see just what I might be getting myself into) while I wait for my new laptop to come. Won't be doing much of any tracing until that happens regardless.
#asahi-re · 2025-02-22 23:34
ZavecOf course, we wouldn't want things to be too easy!
#asahi-re · 2025-02-22 23:33
ZavecAnd there's some stuff about xart/gigalocker in that asahi hw-sep doc too
#asahi-re · 2025-02-22 23:33
ZavecOh nice, developer.apple.com has a big long doc about how APFS works
#asahi-re · 2025-02-22 23:28
ZavecThat part at least shouldn't be too difficult
#asahi-re · 2025-02-22 23:28
ZavecI think putting some filters on that stuff was one of the things in the sep tracer todo anyway
#asahi-re · 2025-02-22 23:27
ZavecDang, I guess the actual first step for me is to read up on apfs/gigalocker/xart then to see how much of a pain that all will be
#asahi-re · 2025-02-22 23:23
ZavecThat's more or less what I figured from the apple "touch id security" doc yeah
#asahi-re · 2025-02-22 23:20
ZavecSo take as many secs as you need
#asahi-re · 2025-02-22 23:19
ZavecOh yeah no worries, I probably won't do much more tonight anyway because it's past midnight
#asahi-re · 2025-02-22 23:19
ZavecWell in that case maybe I'll start by looking at some of the TODOs in the SEP tracer and see if I can solve one of those, just as a way of getting myself familiar with the whole thing
#asahi-re · 2025-02-22 23:17
ZavecOh lol
#asahi-re · 2025-02-22 23:17
ZavecI see there's a commit message from amarioguy a week ago on the SEP doc saying that they're stepping back a bit but are still open to questions, and thanking WhatAmISupposedToPutHere for having done some stuff in the meantime, maybe I should ask them before I go diving into the SEP tracer
#asahi-re · 2025-02-22 23:10
Zavec(with "just" doing a _lot_ of work there, admittedly)
#asahi-re · 2025-02-22 23:10
ZavecWould it then be "just" a case of reversing how the driver for the sensor "triggers the imaging array" and forwards the data to the enclave enough to clean-room style implement it in a new driver, and then figuring out how to hook that up to `fprintd`?
#asahi-re · 2025-02-22 23:09
Zavec`When the fingerprint sensor detects the touch of a finger, it triggers the advanced imaging array to scan the finger and sends the scan to the Secure Enclave.`
#asahi-re · 2025-02-22 23:09
ZavecI see there's a "secure biometrics" endpoint in the HW-SEP reversing doc, and from apple's support docs it sounds like most of the fingerprint processing actually happens inside the secure enclave, and the driver for the fingerprint reader more or less just triggers the finger scan and sends that data to the enclave:
#asahi-re · 2025-02-22 23:09
ZavecWith the caveat that I may be biting off way more than I can chew: if I were interested in trying to add touch ID support, has anybody looked at that before and can tell me if I'm way off track with what it would take?