mirror of
https://github.com/beemdevelopment/Aegis.git
synced 2025-06-17 11:59:39 +00:00
Replace the custom fingerprint auth UI with BiometricPrompt
This patch replaces the usage of the deprecated FingerprintManager API with BiometricPrompt. This uses the Android X library, so we get the native biometric prompt on recent versions of Android and a Google-made one on older versions. By not working with custom prompts for biometric authentication like we do now, we can be sure that any issues like #70, #81, #237 are not actually our fault. Here's what it looks like:  As a nice aside, this also adds support for the new facial recognition as an authentication method on Pixel 4 phones. This is still a draft, but early feedback is welcome.
This commit is contained in:
parent
a93ced6e34
commit
3be9aecb88
39 changed files with 499 additions and 716 deletions
|
@ -40,23 +40,19 @@
|
|||
<string name="pref_auto_lock_title">Auto lock</string>
|
||||
<string name="pref_auto_lock_summary">Automatically lock when you close the app or lock your device.</string>
|
||||
<string name="pref_encryption_title">Encryption</string>
|
||||
<string name="pref_encryption_summary">Encrypt the database and unlock it with a password or fingerprint</string>
|
||||
<string name="pref_fingerprint_title">Fingerprint</string>
|
||||
<string name="pref_fingerprint_summary">Allow fingerprints registered on this device to unlock the vault</string>
|
||||
<string name="pref_encryption_summary">Encrypt the database and unlock it with a password or biometrics</string>
|
||||
<string name="pref_biometrics_title">Biometric unlock</string>
|
||||
<string name="pref_biometrics_summary">Allow biometric authentication to unlock the vault</string>
|
||||
<string name="pref_set_password_title">Change password</string>
|
||||
<string name="pref_set_password_summary">Set a new password which you will need to unlock your vault</string>
|
||||
|
||||
<string name="fingerprint_hint">Touch sensor</string>
|
||||
<string name="fingerprint_not_recognized">Fingerprint not recognized. Try again.</string>
|
||||
<string name="fingerprint_success">Fingerprint recognized</string>
|
||||
|
||||
<string name="choose_authentication_method">Security</string>
|
||||
<string name="authentication_method_none">None</string>
|
||||
<string name="authentication_method_none_description">You don\'t need a password to unlock the vault and it will not be encrypted. This option is not recommended.</string>
|
||||
<string name="authentication_method_password">Password</string>
|
||||
<string name="authentication_method_password_description">You need a password to unlock the vault.</string>
|
||||
<string name="authentication_method_fingerprint">Fingerprint</string>
|
||||
<string name="authentication_method_fingerprint_description">In addition to a password, fingerprints registered on this device can be used to unlock the vault.</string>
|
||||
<string name="authentication_method_biometrics">Biometrics</string>
|
||||
<string name="authentication_method_biometrics_description">In addition to a password, biometrics registered on this device, like a fingerprint or your face, can be used to unlock the vault.</string>
|
||||
<string name="authentication_method_set_password">Password</string>
|
||||
<string name="authentication_enter_password">Enter your password</string>
|
||||
<string name="authentication">Unlock the vault</string>
|
||||
|
@ -64,9 +60,10 @@
|
|||
<string name="set_group">Please enter a group name</string>
|
||||
<string name="set_number">Please enter a number</string>
|
||||
<string name="set_password_confirm">Please confirm the password</string>
|
||||
<string name="invalidated_fingerprint">A change in your device\'s security settings has been detected. Please go to \"Aegis -> Settings -> Fingerprint\" and re-add your fingerprint.</string>
|
||||
<string name="invalidated_biometrics">A change in your device\'s security settings has been detected. Please go to \"Aegis -> Settings -> Biometrics\" and re-enable biometric unlock.</string>
|
||||
|
||||
<string name="unlock">Unlock</string>
|
||||
<string name="biometrics">Biometrics</string>
|
||||
<string name="advanced">Advanced</string>
|
||||
<string name="seconds">seconds</string>
|
||||
<string name="counter">Counter</string>
|
||||
|
@ -75,9 +72,11 @@
|
|||
<string name="scan">Scan QR code</string>
|
||||
<string name="scan_image">Scan image</string>
|
||||
<string name="enter_manually">Enter manually</string>
|
||||
<string name="add_fingerprint">Add fingerprint</string>
|
||||
<string name="add_biometric">Add biometric</string>
|
||||
<string name="add_biometric_slot">Add biometric slot</string>
|
||||
<string name="set_up_biometric">Set up biometric unlock</string>
|
||||
<string name="add_password">Add password</string>
|
||||
<string name="slots_warning">The vault is only as secure as your weakest secret. When a new fingerprint is added to your device, you will need to reactivate fingerprint authentication within Aegis.</string>
|
||||
<string name="slots_warning">The vault is only as secure as your weakest secret. If you change the biometric authentication settings of your device, you will need to reactivate biometric unlock within Aegis.</string>
|
||||
<string name="copy">Copy</string>
|
||||
<string name="edit">Edit</string>
|
||||
<string name="delete">Delete</string>
|
||||
|
@ -89,7 +88,6 @@
|
|||
<string name="unlock_vault_error">Couldn\'t unlock vault</string>
|
||||
<string name="unlock_vault_error_description">Incorrect password. Make sure you didn\'t mistype your password.</string>
|
||||
<string name="password_equality_error">Passwords should be identical and non-empty</string>
|
||||
<string name="register_fingerprint">Register your fingerprint</string>
|
||||
<string name="snackbar_authentication_method">Please select an authentication method</string>
|
||||
<string name="encrypting_vault">Encrypting the vault</string>
|
||||
<string name="delete_entry">Delete entry</string>
|
||||
|
@ -132,7 +130,7 @@
|
|||
<string name="export_database_location">The database has been exported to:</string>
|
||||
<string name="export_warning">This action will export the database out of Aegis\' private storage.</string>
|
||||
<string name="encryption_set_password_error">An error occurred while trying to set the password: </string>
|
||||
<string name="encryption_enable_fingerprint_error">An error occurred while trying to enable fingerprint unlock: </string>
|
||||
<string name="encryption_enable_biometrics_error">An error occurred while trying to enable biometric unlock</string>
|
||||
<string name="no_cameras_available">No cameras available</string>
|
||||
<string name="read_qr_error">An error occurred while trying to read the QR code</string>
|
||||
<string name="authentication_method_raw">Raw</string>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue