Android 10 生物识别管理器安全

Android 10 Biometric Manager Security

Android 自 2019 年底开始弃用 FingerprintManager,转而使用 BiometricManager。此次更新对开发人员和设计人员来说是个好消息,因为他们不需要解决很多繁琐的生物识别设计和行为问题。

然而...

https://edit.theappbusiness.com/androidx-biometricprompt-vs-fingerprintmanager-the-good-and-the-ugly-c15a1b3a67d7

Manufacturers like Samsung warn you about-face recognition not being a strong check as the device can be tricked with a picture. What if you are developing a banking app and concerned about the security and reliability of these new biometric authentication methods? What if you are designing and building an app that has to work just with fingerprints? Then the FingerprintManager comes into play.

However, if you are concerned about the security of these new biometrics or have a design constraint and you want to restrict the biometric authentication to use just fingerprints, your best solution is to use the deprecated FingerprintManager.

https://www.androidcentral.com/why-google-dropped-fingerprint-sensor-and-why-thats-bad-thing

As you reach for Pixel 4, Soli proactively turns on the face unlock sensors, recognizing that you may want to unlock your phone. If the face unlock sensors and algorithms recognize you, the phone will open as you pick it up, all in one motion. Better yet, face unlock works in almost any orientation—even if you're holding it upside down—and you can use it for secure payments and app authentication too.

新的最佳实践和更新的手机听起来不错,但是当各种 OEM 实施不安全的生物识别技术时,这会使事情变得复杂。作为应用程序开发人员,我们应该如何处理这个难题?

从 Android 11 开始,我们可以检查 BiometricManager.Authenticators 定义的生物认证强度。验证器定义生物特征是强还是弱。

您可以在下面了解更多link

BiometricManager.Authenticators

目前只有 Android 11 的开发者预览 out.So 不确定生物识别的最终版本会怎样。

引自 Android 开发者博客,

您可以在此处详细了解开发者预览中的功能,

Android 11 developer Preview

Authentificators interface 具有定义生物特征是弱还是强的常量。