KeyPass icon indicating copy to clipboard operation
KeyPass copied to clipboard

App crashes while startup. Not linked to version

Open kompas1 opened this issue 10 months ago • 0 comments

Describe the bug Since a few days the app crashes on startup. I can open the app but it crashes directly and force quits sometimes. Inalso downgraded the app via adb to 1422 but as well as there as on the following versions the problem persists.

To Reproduce Steps to reproduce the behavior:

  1. Ooen App
  2. Wait for the App to start
  3. See the App crashing and closing

Expected behavior If i start the app i expect to get to my passwords

Screenshots no screenshot available because my github client dies while trying. So here the log that gets spitted out:

_ javax.crypto.IllegalBlockSizeException at android.security.keystore2.AndroidKeyStoreCipherSpiBase.engineDoFinal(AndroidKeyStoreCipherSpiBase.java:619) at javax.crypto.Cipher.doFinal(Cipher.java:1939) at d8.v.c(SourceFile:65) at s3.i0.h(SourceFile:1) at s3.i0.i(SourceFile:111) at s3.i0.e(SourceFile:1) at s3.i0.g(SourceFile:1) at s3.s.s(SourceFile:83) at s3.s.l(SourceFile:13) at s3.m.s(SourceFile:92) at p9.a.q(SourceFile:1) at ga.f0.run(SourceFile:1) at j.j.run(SourceFile:29) at ma.i.run(SourceFile:1) at ma.a.run(SourceFile:92) Suppressed: la.g: [androidx.compose.ui.platform.e2@e056e1c, i0.g@5849a25, n1{Cancelling}@e0b17fa, f1@16391ab] 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:418) 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:609) ... 14 more _

Smartphone (please complete the following information):

  • Device: [Galaxy S20FE]
  • OS: [Android 13, API33]
  • Browser [chromium]
  • Version [22,23,25,26]

Additional context Add any other context about the problem here.

kompas1 avatar Apr 14 '24 19:04 kompas1