call SetInvalidatedByBiometricEnrollment for security reasons, but show a warning to users (again) that they should not forget their master key
This commit is contained in:
@@ -376,7 +376,7 @@ namespace keepass2android
|
||||
.SetUserAuthenticationRequired(true);
|
||||
|
||||
if ((int)Build.VERSION.SdkInt >= 24)
|
||||
builder.SetInvalidatedByBiometricEnrollment(false);
|
||||
builder.SetInvalidatedByBiometricEnrollment(true);
|
||||
|
||||
_keyGen.Init(
|
||||
builder
|
||||
|
||||
@@ -73,6 +73,12 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="12dp"
|
||||
android:text="@string/CloseDbAfterFailedAttempts" />
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="12dp"
|
||||
android:text="@string/WarnFingerprintInvalidated"
|
||||
/>
|
||||
</LinearLayout>
|
||||
<RelativeLayout
|
||||
android:id="@+id/fingerprint_auth_container"
|
||||
|
||||
@@ -814,6 +814,7 @@
|
||||
<string name="EntryChannel_desc">Notification to simplify access to the currently selected entry.</string>
|
||||
|
||||
<string name="CloseDbAfterFailedAttempts">Close database after three failed biometric unlock attempts.</string>
|
||||
<string name="WarnFingerprintInvalidated">Warning! Biometric authentication can be invalidated by Android, e.g. after adding a new fingerprint in your device settings. Make sure you always know how to unlock with your master password!</string>
|
||||
|
||||
|
||||
<string-array name="ChangeLog_1_09a">
|
||||
|
||||
Reference in New Issue
Block a user