Open ouchadam opened 3 years ago
also manifests as
at android.security.keystore.AndroidKeyStoreCipherSpiBase.engineDoFinal (AndroidKeyStoreCipherSpiBase.java:506)
at javax.crypto.Cipher.doFinal (Cipher.java:2055)
at org.matrix.android.sdk.internal.session.securestorage.SecretStoringUtils.decryptStringM (SecretStoringUtils.kt:11)
at org.matrix.android.sdk.internal.database.RealmKeysUtils.getRealmEncryptionKey (RealmKeysUtils.kt:9)
at org.matrix.android.sdk.internal.database.RealmKeysUtils.configureEncryption (RealmKeysUtils.kt:1)
at im.vector.app.AppStateHandler_Factory.get (AppStateHandler_Factory.java:73)
at im.vector.app.core.resources.LocaleProvider_Factory.get (LocaleProvider_Factory.java:5)
at org.matrix.android.sdk.internal.session.identity.DefaultIdentityService_Factory.get (DefaultIdentityService_Factory.java:1)
at org.matrix.android.sdk.internal.session.DefaultSession_Factory.get (DefaultSession_Factory.java:1)
at org.matrix.android.sdk.internal.session.DaggerSessionComponent.session (DaggerSessionComponent.java:1)
at org.matrix.android.sdk.internal.auth.DefaultAuthenticationService.getLastAuthenticatedSession (DefaultAuthenticationService.kt:3)
at im.vector.app.VectorApplication.onCreate (VectorApplication.kt:109)
Looks like
SecretStoringUtils.rsaDecrypt
should be executed off of the main thread