Proton mail crashing on launch
- /e/ version: 0.7-2019112732147
- Device model:kiw-l21
- When it started to occur: From start
- Reproducible with the last /e/ version: yes
- Reproducible with LineageOS: dont know
Summary
The app ProtonMail Does ot launch at all. Message : ProtonMail a cessé e fonctionner
- Rouvrir l'application
- Ignorer jusqu'au redémarrage de l'appareil
Having the same issue with an APK from downloadAPK. So i guess it's an app problem ...
-
The device is unusable -
The bug is the source of a data loss or a big waste of time -
The bug concerns a tierce app -
The bug concerns security -
The bug concerns privacy
The problem
Just istall ProtonMail From App
What is the current behavior?
Protonmail doeas not launch AT ALL
What is the expected correct behavior?
Technical informations
12-08 09:55:59.236 14732 14732 E AndroidRuntime: Process: ch.protonmail.android, PID: 14732 12-08 09:55:59.236 14732 14732 E AndroidRuntime: java.lang.RuntimeException: Unable to create application ch.protonmail.android.core.ProtonMailApplication: java.security.ProviderException: Failed to load generated key pair from keystore 12-08 09:55:59.236 14732 14732 E AndroidRuntime: at android.app.ActivityThread.handleBindApplication(ActivityThread.java:5451) 12-08 09:55:59.236 14732 14732 E AndroidRuntime: at android.app.ActivityThread.-wrap2(ActivityThread.java) 12-08 09:55:59.236 14732 14732 E AndroidRuntime: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1564) 12-08 09:55:59.236 14732 14732 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:102) 12-08 09:55:59.236 14732 14732 E AndroidRuntime: at android.os.Looper.loop(Looper.java:154) 12-08 09:55:59.236 14732 14732 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:6186) 12-08 09:55:59.236 14732 14732 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method) 12-08 09:55:59.236 14732 14732 E AndroidRuntime: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:889) 12-08 09:55:59.236 14732 14732 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:779) 12-08 09:55:59.236 14732 14732 E AndroidRuntime: Caused by: java.security.ProviderException: Failed to load generated key pair from keystore 12-08 09:55:59.236 14732 14732 E AndroidRuntime: at android.security.keystore.AndroidKeyStoreKeyPairGeneratorSpi.loadKeystoreKeyPair(AndroidKeyStoreKeyPairGeneratorSpi.java:518) 12-08 09:55:59.236 14732 14732 E AndroidRuntime: at android.security.keystore.AndroidKeyStoreKeyPairGeneratorSpi.generateKeyPair(AndroidKeyStoreKeyPairGeneratorSpi.java:470) 12-08 09:55:59.236 14732 14732 E AndroidRuntime: at java.security.KeyPairGenerator$Delegate.generateKeyPair(KeyPairGenerator.java:699) 12-08 09:55:59.236 14732 14732 E AndroidRuntime: at c.a.a.k.a.a(SecureSharedPreferences.kt:69) 12-08 09:55:59.236 14732 14732 E AndroidRuntime: at c.a.a.k.a.(SecureSharedPreferences.kt:8) 12-08 09:55:59.236 14732 14732 E AndroidRuntime: at c.a.a.k.a.(SecureSharedPreferences.kt:1) 12-08 09:55:59.236 14732 14732 E AndroidRuntime: at c.a.a.k.a$a.a(SecureSharedPreferences.kt:2) 12-08 09:55:59.236 14732 14732 E AndroidRuntime: at ch.protonmail.android.core.ProtonMailApplication.p(ProtonMailApplication.java:1) 12-08 09:55:59.236 14732 14732 E AndroidRuntime: at ch.protonmail.android.api.models.UserSettings.load(UserSettings.java:4) 12-08 09:55:59.236 14732 14732 E AndroidRuntime: at ch.protonmail.android.core.l.e(UserManager.kt:2) 12-08 09:55:59.236 14732 14732 E AndroidRuntime: at ch.protonmail.android.core.l.(UserManager.kt:8) 12-08 09:55:59.236 14732 14732 E AndroidRuntime: at ch.protonmail.android.core.o.r.a(AppModule.kt:8) 12-08 09:55:59.236 14732 14732 E AndroidRuntime: at ch.protonmail.android.core.o.p0.a(AppModule_ProvideUserManagerFactory.java:2) 12-08 09:55:59.236 14732 14732 E AndroidRuntime: at ch.protonmail.android.core.o.p0.b(AppModule_ProvideUserManagerFactory.java:2) 12-08 09:55:59.236 14732 14732 E AndroidRuntime: at ch.protonmail.android.core.o.p0.get(AppModule_ProvideUserManagerFactory.java:2) 12-08 09:55:59.236 14732 14732 E AndroidRuntime: at ch.protonmail.android.core.o.p0.get(AppModule_ProvideUserManagerFactory.java:1) 12-08 09:55:59.236 14732 14732 E AndroidRuntime: at dagger.b.b.get(DoubleCheck.java:6) 12-08 09:55:59.236 14732 14732 E AndroidRuntime: at ch.protonmail.android.core.o.q0.b(DaggerAppComponent.java:6) 12-08 09:55:59.236 14732 14732 E AndroidRuntime: at ch.protonmail.android.core.o.q0.a(DaggerAppComponent.java:92) 12-08 09:55:59.236 14732 14732 E AndroidRuntime: at ch.protonmail.android.core.ProtonMailApplication.onCreate(ProtonMailApplication.java:8) 12-08 09:55:59.236 14732 14732 E AndroidRuntime: at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1025) 12-08 09:55:59.236 14732 14732 E AndroidRuntime: at android.app.ActivityThread.handleBindApplication(ActivityThread.java:5448) 12-08 09:55:59.236 14732 14732 E AndroidRuntime: ... 8 more 12-08 09:55:59.236 14732 14732 E AndroidRuntime: Caused by: java.security.UnrecoverableKeyException: Failed to obtain X.509 form of public key 12-08 09:55:59.236 14732 14732 E AndroidRuntime: at android.security.keystore.AndroidKeyStoreProvider.loadAndroidKeyStorePublicKeyFromKeystore(AndroidKeyStoreProvider.java:230) 12-08 09:55:59.236 14732 14732 E AndroidRuntime: at android.security.keystore.AndroidKeyStoreProvider.loadAndroidKeyStoreKeyPairFromKeystore(AndroidKeyStoreProvider.java:259) 12-08 09:55:59.236 14732 14732 E AndroidRuntime: at android.security.keystore.AndroidKeyStoreKeyPairGeneratorSpi.loadKeystoreKeyPair(AndroidKeyStoreKeyPairGeneratorSpi.java:509) 12-08 09:55:59.236 14732 14732 E AndroidRuntime: ... 29 more 12-08 09:55:59.236 14732 14732 E AndroidRuntime: Caused by: android.security.KeyStoreException: -22 12-08 09:55:59.236 14732 14732 E AndroidRuntime: at android.security.KeyStore.getKeyStoreException(KeyStore.java:676) 12-08 09:55:59.236 14732 14732 E AndroidRuntime: at android.security.keystore.AndroidKeyStoreProvider.loadAndroidKeyStorePublicKeyFromKeystore(AndroidKeyStoreProvider.java:231) 12-08 09:55:59.236 14732 14732 E AndroidRuntime: ... 31 more 12-08 09:55:59.238 953 973 W ActivityManager: Force finishing activity ch.protonmail.android/.activities.SplashActivity 12-08 09:55:59.243 14732 14732 I Process : Sending signal. PID: 14732 SIG: 9 12-08 09:55:59.258 953 2242 I ActivityManager: Process ch.protonmail.android (pid 14732) has died
Possible fixes
Well from the log we clearly see that the app wait for authenfication from the appstore otherwise it does not launch. I guess I'll have to get the web version of the app. You should not let this app available on the store.