Skip to content

Commit

Permalink
Increase auth validity duration in CiperStorageKeystoreRsaEcb.java fr…
Browse files Browse the repository at this point in the history
…om 1 -> 5 seconds to fix UserNotAuthenticatedException. (oblador#339)

Co-authored-by: Sheena Do <[email protected]>
  • Loading branch information
sheenanick and Sheena Do authored Oct 26, 2020
1 parent 53f3a3a commit 5441078
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ protected KeyGenParameterSpec.Builder getKeyGenSpecBuilder(@NonNull final String
.setEncryptionPaddings(PADDING_PKCS1)
.setRandomizedEncryptionRequired(true)
.setUserAuthenticationRequired(true)
.setUserAuthenticationValidityDurationSeconds(1)
.setUserAuthenticationValidityDurationSeconds(5)
.setKeySize(ENCRYPTION_KEY_SIZE);
}

Expand Down

0 comments on commit 5441078

Please sign in to comment.