android / android/security-samples

Meizu crashed when using AndroidKeyStore

Aperta
#69 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Kotlin
Stelle
1k
Fork
450
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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?

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
android
Ambito
mobile-dev, security
Tipo di issue
Bug
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Ferma
Chiarezza
Da chiarire
Idoneità per principianti
25/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.