biometric_security
Biometric security for Flutter: Face ID, Touch ID & fingerprint authentication with hardware-backed encrypted storage and app-lock, on Android and iOS.
0.1.15
rinsarmu/biometric_security
What this package is like to depend on
Last release 20 days ago
04 Aug 2026
Too new to tell
only 1 release windows
Some releases are documented
notes for 3 of 6 stable releases
Nothing withdrawn
no release was ever pulled
0 months old
6 releases · first in 2026
6 releases in the last 12 months
see the full history below
Release timeline
6 releases · Jul 2026 to Aug 2026Releases
latest 6-
0.1.1504 Aug 2026Nothing published for this version
-
0.1.1401 Aug 2026Release notes
Open source →- Added
isInvalidated(key:)— a lightweight, non-prompting boolean check for whether a secret's biometric-bound key was invalidated (e.g. by an enrollment change). Android uses aCipher.initprobe; iOS uses the biometric domain-state. Returnsfalsefor absent or non-gated secrets. - Improved pub.dev discoverability: keyword-rich package description and README
opening (Face ID, Touch ID, fingerprint, Keystore, Keychain, Secure Enclave),
pub.dev badges, and a "how it compares" table vs
local_auth/flutter_secure_storage.
- Added
-
0.1.1331 Jul 2026Release notes
Open source →- Fixed the
homepage/repository/issue_trackerURLs (they pointed at a non-existent GitHub account, so the pub.dev "Repository" link 404'd). - Cleaned up the README status banner.
- Fixed the
-
0.1.1231 Jul 2026Release notes
Open source →Initial public beta. Every implemented flow is validated on physical Android and iOS devices; a few APIs remain stubs (see the "Platform limitations" section of the README). As a pre-1.0 release, the public API may still change.
Added
- Availability detection —
getAvailability()reports supported vs enrolled modalities, biometric strength, secure-hardware presence, and what the device can actually enforce (EnforceableGuarantees). - Biometric authentication —
authenticate()backed by a real hardware key operation (AndroidBiometricPrompt+CryptoObject; iOS Secure Enclave signing), not a bare boolean. - Secure encrypted storage —
write/read/contains/delete/deleteAllusing AES-256-GCM envelope encryption with a per-secret data-encryption key held in the Android Keystore / iOS Keychain. - Biometric-protected storage — reads are gated by the OS biometric prompt when the policy requires it.
- App-lock and feature-level protection sub-APIs.
- Key lifecycle — versioned metadata, migration,
rotateKey,revoke,revokeAll, andresetInvalidatedfor recovery after invalidation. - Normalized
SecurityPolicymapping one intent to both platforms (strength, device-credential fallback, enrollment binding, auth validity, hardware requirement, accessibility). - Typed error model — a sealed
BiometricSecurityExceptionhierarchy; failures never return plaintext or silently regenerate keys.
Security
- Enforced
requireSecureHardwareon both platforms (rejects software-backed keys / software auth fallback). - Serialized per-key storage operations to prevent a concurrent-write DEK/ciphertext mismatch.
- All high-risk findings from an independent security review are fixed.
Known limitations
- Every implemented flow is validated by unit tests and on physical Android and iOS devices.
signChallenge, lifecycle-event emission,enableProtection/disableProtection, andpolicyOfare declared but not yet implemented.- macOS, Windows, and Linux are not yet supported.
- Root/jailbreak behavior cannot be exercised on a standard device; integrity signals are advisory only.
- Availability detection —
-
0.1.129 Jul 2026Nothing published for this version
-
0.1.029 Jul 2026Nothing published for this version