Xiaomi-Mi-Air icon indicating copy to clipboard operation
Xiaomi-Mi-Air copied to clipboard

fprint

Open ppma opened this issue 4 years ago • 8 comments

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

ppma avatar Feb 20 '20 09:02 ppma

Is libfprint integrated with native macOS authorization?

gmallios avatar Feb 21 '20 18:02 gmallios

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)

yllwfsh avatar Feb 22 '20 09:02 yllwfsh

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

johnnynunez avatar Feb 22 '20 18:02 johnnynunez

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.

gmallios avatar Feb 23 '20 02:02 gmallios

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

johnnynunez avatar Feb 23 '20 11:02 johnnynunez

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

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

ppma avatar Mar 03 '20 08:03 ppma

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

yllwfsh avatar Apr 05 '20 11:04 yllwfsh

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

yakuri354 avatar Apr 05 '20 13:04 yakuri354