mirror of
https://github.com/beemdevelopment/Aegis.git
synced 2025-06-17 11:59:39 +00:00
Improve overall exception handling and error feedback to the user
The main goals of this patch are to: - Improve the exception handling in Aegis and the way we present errors messages to the user when they occur. - Write exception stack traces to the log in more places, so that the ADB logs we ask for from our users when reporting bugs become more useful. - Reduce the amount of times we throw a RuntimeException, particularly when an Android Keystore operation fails. Achieving the above goals ended up resulting in a very large refactor. The intro and unlock flow of the app need to be retested entirely.
This commit is contained in:
parent
499f930086
commit
cda78c56c5
21 changed files with 544 additions and 465 deletions
|
@ -126,12 +126,19 @@
|
|||
<string name="copied">Copied</string>
|
||||
<string name="errors_copied">Errors copied to the clipboard</string>
|
||||
<string name="version_copied">Version copied to the clipboard</string>
|
||||
<string name="error_occurred">An error occurred</string>
|
||||
<string name="decryption_error">An error occurred while trying to unlock the vault</string>
|
||||
<string name="decryption_corrupt_error">An error occurred while trying to unlock the vault. Your vault file might be corrupt.</string>
|
||||
<string name="saving_error">An error occurred while trying to save the vault</string>
|
||||
<string name="vault_init_error">An error occurred while trying to initialize the vault</string>
|
||||
<string name="vault_load_error">An error occurred while trying to load the vault from storage</string>
|
||||
<string name="biometric_decrypt_error">An error occurred while trying to decrypt the vault with biometric authentication. This usually only happens if the security settings of your device were changed. Please unlock the vault with your password and reconfigure biometric authentication in the settings of Aegis.</string>
|
||||
<string name="biometric_init_error">An error occurred while trying to prepare biometric authentication. This usually only happens if the security settings of your device were changed. Please unlock the vault with your password and reconfigure biometric authentication in the settings of Aegis.</string>
|
||||
<string name="disable_encryption">Disable encryption</string>
|
||||
<string name="disable_encryption_description">Are you sure you want to disable encryption? This will cause the vault to be stored in plain text.</string>
|
||||
<string name="enable_encryption_error">An error occurred while enabling encryption</string>
|
||||
<string name="disable_encryption_error">An error occurred while disabling encryption</string>
|
||||
<string name="backup_error">An error occurred while trying to create a backup</string>
|
||||
<string name="permission_denied">Permission denied</string>
|
||||
<string name="andotp_new_format">New format (v0.6.3 or newer) </string>
|
||||
<string name="andotp_old_format">Old format (v0.6.2 or older) </string>
|
||||
|
@ -151,8 +158,8 @@
|
|||
<string name="exporting_vault_error">An error occurred while trying to export the vault</string>
|
||||
<string name="exported_vault">The vault has been exported</string>
|
||||
<string name="export_warning">This action will export the vault 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_biometrics_error">An error occurred while trying to enable biometric unlock</string>
|
||||
<string name="encryption_set_password_error">An error occurred while trying to set the password.</string>
|
||||
<string name="encryption_enable_biometrics_error">An error occurred while trying to enable biometric unlock. Some devices have poor implementations of biometric authentication and it is likely that yours is one of them. Consider switching to a password-only configuration instead.</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