File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed
common/src/androidMain/kotlin/com/blockstream/common/utils Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -12,8 +12,12 @@ import com.blockstream.common.crypto.GreenKeystore
1212import com.blockstream.common.crypto.KeystoreInvalidatedException
1313import com.blockstream.common.crypto.PlatformCipher
1414import com.blockstream.common.data.EncryptedData
15- import java.security.*
16- import javax.crypto.*
15+ import java.security.KeyStore
16+ import java.security.KeyStoreException
17+ import javax.crypto.BadPaddingException
18+ import javax.crypto.Cipher
19+ import javax.crypto.KeyGenerator
20+ import javax.crypto.SecretKey
1721import javax.crypto.spec.IvParameterSpec
1822
1923class AndroidKeystore (val context : Context ) : GreenKeystore {
@@ -104,8 +108,8 @@ class AndroidKeystore(val context: Context) : GreenKeystore {
104108 @Suppress(" DEPRECATION" )
105109 builder.setUserAuthenticationValidityDurationSeconds(- 1 )
106110 }
107-
108- builder.setInvalidatedByBiometricEnrollment(true )
111+
112+ builder.setInvalidatedByBiometricEnrollment(false )
109113 }
110114
111115 keyGenerator.init (builder.build())
You can’t perform that action at this time.
0 commit comments