This repository was archived by the owner on Oct 15, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed
java/app/passwordstore/ui/settings Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ package app.passwordstore.ui.settings
8
8
import androidx.fragment.app.FragmentActivity
9
9
import app.passwordstore.R
10
10
import app.passwordstore.ui.pgp.PGPKeyListActivity
11
+ import app.passwordstore.util.auth.BiometricAuthenticator
11
12
import app.passwordstore.util.extensions.launchActivity
12
13
import app.passwordstore.util.features.Feature
13
14
import app.passwordstore.util.settings.PreferenceKeys
@@ -33,6 +34,7 @@ class PGPSettings(private val activity: FragmentActivity) : SettingsProvider {
33
34
persistent = true
34
35
}
35
36
switch(Feature .EnablePGPPassphraseCache .configKey) {
37
+ enabled = BiometricAuthenticator .canAuthenticate(activity)
36
38
titleRes = R .string.pref_passphrase_cache_title
37
39
summaryRes = R .string.pref_passphrase_cache_summary
38
40
defaultValue = false
Original file line number Diff line number Diff line change 136
136
<string name =" pref_pgp_key_manager_title" >Key manager</string >
137
137
<string name =" pref_pgp_ascii_armor_title" >Encrypt in ASCII armor mode</string >
138
138
<string name =" pref_passphrase_cache_title" >Enable passphrase caching</string >
139
- <string name =" pref_passphrase_cache_summary" >WARNING: this feature is functional but very experimental.</string >
139
+ <string name =" pref_passphrase_cache_summary" >WARNING: this feature is functional but very experimental. Requires an active screen lock. </string >
140
140
141
141
<!-- PasswordGenerator fragment -->
142
142
<string name =" pwgen_title" >Generate Password</string >
You can’t perform that action at this time.
0 commit comments