android / android/security-samples
Meizu crashed when using AndroidKeyStore
- Vorherrschende Sprache
- Kotlin
- Sterne
- 1k
- Forks
- 450
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
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?
Beitragsleitfaden
Rechercherichtung
Start with the AndroidKeyStoreAuthenticatedAESCipherSpi$GCM$NoPadding.finalize() stack entry and the KeyStore.abort call shown in the report. Reproduce the crash on the listed Meizu Android 7.0 devices, determine the affected operation, and verify that the resulting change prevents the timeout without breaking AndroidKeyStore behavior.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- android
- Bereich
- mobile-dev, security
- Issue-Typ
- Bug
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Muss geklärt werden
- Anfängerfreundlichkeit
- 25/100