android / security-samples

Multiple samples showing the best practices in security APIs on Android.
Apache License 2.0
940 stars 396 forks source link

Meizu crashed when using AndroidKeyStore #69

Open ramazan-olsoft opened 4 years ago

ramazan-olsoft commented 4 years ago

There are crashes in some Meizu phones, such as M5 note, PRO 7 Plus and so on. The system version is Android 7.0. The log is: Fatal Exception: java.util.concurrent.TimeoutException: android.security.keystore.AndroidKeyStoreAuthenticatedAESCipherSpi$GCM$NoPadding.finalize() timed out after 20 seconds at android.os.BinderProxy.transactNative(Binder.java) at android.os.BinderProxy.transact(Binder.java:515) at android.security.IKeystoreService$Stub$Proxy.abort(IKeystoreService.java:1302) at android.security.KeyStore.abort(KeyStore.java:520) at android.security.keystore.AndroidKeyStoreCipherSpiBase.finalize(AndroidKeyStoreCipherSpiBase.java:680) at android.security.keystore.AndroidKeyStoreAuthenticatedAESCipherSpi$GCM$NoPadding.finalize(AndroidKeyStoreAuthenticatedAESCipherSpi.java:223) at java.lang.Daemons$FinalizerDaemon.doFinalize(Daemons.java:232) at java.lang.Daemons$FinalizerDaemon.run(Daemons.java:210) at java.lang.Thread.run(Thread.java:818) How to fix it?

ramazan-olsoft commented 4 years ago

No we didn't.