johnnynunez / Xiaomi-Mi-Air

Xiaomi Mi Air 13.3" 2018
398 stars 117 forks source link

fprint #94

Open ppma opened 4 years ago

ppma commented 4 years ago

the libfprint can work on the macos 截屏2020-02-20下午4 59 10

gmallios commented 4 years ago

Is libfprint integrated with native macOS authorization?

yllwfsh commented 4 years ago

Interesting. I wonder if someone can write TouchID drivers or if macOS is locked down in that area. I suspect the latter because TouchID requires a T2 chip (essentially a proprietary TPM module)

johnnynunez commented 4 years ago

It is necessary to use reverse engineering to touch id driver like other projects. I'm learning about this, but I still have a long way to go

gmallios commented 4 years ago

I did a bit of research and i found out that touch id communication is handled by an ARM chip a.k.a the T2 chip so i don't think there's an easy way of implementing something like this without major reverse engineering of the communication layer between the kernel and the T2 chip.

johnnynunez commented 4 years ago

It possible to emulate chip t2 like EC fake, ALPS etc

ppma commented 4 years ago

与其他项目一样,有必要使用反向工程来触摸id驱动程序。我正在学习,但是还有很长的路要走

There is only one thing to do, which is to compile a pam_fprint.so

yllwfsh commented 4 years ago

@ppma If you have any further breakthroughs, can you let us know? Thx!

yakuri354 commented 4 years ago

If you want to use libfprint, although it is working, it has bad recognition algorithm. It requires you to swipe across the scanner, like old optical scanners. If you want to achieve windows hello-like tap behavior, you need to implement your own algorithm. I already tried to use it in Linux. It is faster to enter password than swiping on its current state. Also need to say that elan in libfprint is very buggy and unstable at the moment.

Here is the repo with libfprint fork for our scanner: https://github.com/iafilatov/libfprint