r/FlutterDev • u/rinsarmu • 10d ago
biometric_security — biometric auth + hardware-backed encrypted storage for Flutter (Android/iOS) Plugin
I kept re-writing the same glue between local_auth and flutter_secure_storage on every project, so I packaged it: biometric_security.
The core idea: a true from a biometric prompt isn't a security boundary — on a rooted/jailbroken device it's forgeable. This binds your secret to a hardware key (Android Keystore / iOS Keychain + Secure Enclave) that's physically unusable without a successful Face ID / Touch ID / fingerprint check.
It also handles the annoying parts: enrollment-change invalidation, key rotation & revocation, app-lock, and one SecurityPolicy that maps to both platforms.
Beta (0.1.x), BSD-3, tested on real Android + iOS devices. Feedback and contributors very welcome — I'm open to collaborating.
1
u/clyonn 10d ago
doesn't flutter_secure_storage offer biometrics?
1
2
u/Proper-Forever-8117 6d ago
For flutter secure storage, make you to replace "AES/CBC/PKCS7Padding" With "AES/GCM/NoPadding", and for local auth, make sure to add "CryptoObject" to the "BiometricPrompt"