fix(wallet): use 30s auth validity window instead of per-use biometric
setUserAuthenticationValidityDurationSeconds(-1) requires BiometricPrompt.CryptoObject for every cipher operation. Changed to 30s window for alpha — proper CryptoObject flow deferred to Phase 5. Fixes UserNotAuthenticatedException on storeMnemonic/getMnemonic.
This commit is contained in:
parent
1dbc4c92c4
commit
c21a3b7c48
1 changed files with 1 additions and 1 deletions
|
|
@ -190,7 +190,7 @@ class CardanoKeyStorageImpl @Inject constructor(
|
|||
.setEncryptionPaddings(KeyProperties.ENCRYPTION_PADDING_NONE)
|
||||
.setKeySize(AES_KEY_SIZE)
|
||||
.setUserAuthenticationRequired(true)
|
||||
.setUserAuthenticationValidityDurationSeconds(-1)
|
||||
.setUserAuthenticationValidityDurationSeconds(30)
|
||||
.setInvalidatedByBiometricEnrollment(true)
|
||||
.build()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue