App started crashing on start after upgrade.
blarg2 opened this issue · 0 comments
blarg2 commented
Describe the bug
After updating, app crashes on start with error message:
type: crash
osVersion: google/redfin/redfin:13/TQ3A.230901.001/2023091800:user/release-keys
package: com.yogeshpaliyal.keypass:1422
process: com.yogeshpaliyal.keypass
processUptime: 15489 + 278 ms
installer: com.android.packageinstaller
javax.crypto.IllegalBlockSizeException
at android.security.keystore2.AndroidKeyStoreCipherSpiBase.engineDoFinal(AndroidKeyStoreCipherSpiBase.java:613)
at javax.crypto.Cipher.doFinal(Cipher.java:1939)
at t7.v.h(SourceFile:63)
at m3.h0.h(SourceFile:1)
at m3.h0.i(SourceFile:111)
at m3.h0.e(SourceFile:1)
at m3.h0.g(SourceFile:1)
at m3.r.g(SourceFile:66)
at m3.r.b0(SourceFile:13)
at m3.m.g(SourceFile:93)
at j9.a.o(SourceFile:1)
at aa.f0.run(SourceFile:1)
at kotlinx.coroutines.internal.e.run(Unknown Source:11)
at kotlinx.coroutines.scheduling.i.run(Unknown Source:2)
at kotlinx.coroutines.scheduling.a.run(SourceFile:77)
Suppressed: androidx.datastore.preferences.protobuf.m1: [androidx.compose.ui.platform.q1@a248456, f0.e@262bcd7, q1{Cancelling}@ede19c4, s0@202e0ad]
Caused by: android.security.KeyStoreException: Invalid input length (internal Keystore code: -21 message: In KeystoreOperation::finish
Caused by:
0: In finish: KeyMint::finish failed.
1: Error::Km(ErrorCode(-21))) (public error code: 13 internal Keystore code: -21)
at android.security.KeyStore2.getKeyStoreException(KeyStore2.java:369)
at android.security.KeyStoreOperation.handleExceptions(KeyStoreOperation.java:78)
at android.security.KeyStoreOperation.finish(KeyStoreOperation.java:128)
at android.security.keystore2.KeyStoreCryptoOperationChunkedStreamer$MainDataStream.finish(KeyStoreCryptoOperationChunkedStreamer.java:228)
at android.security.keystore2.KeyStoreCryptoOperationChunkedStreamer.doFinal(KeyStoreCryptoOperationChunkedStreamer.java:181)
at android.security.keystore2.AndroidKeyStoreCipherSpiBase.engineDoFinal(AndroidKeyStoreCipherSpiBase.java:603)
... 14 more
To Reproduce
Steps to reproduce the behavior:
- Update app
- Open app
- Crashes
Expected behavior
Opens without crashing
Smartphone (please complete the following information):
Additional context
Add any other context about the problem here.