android / android/security-samples

Meizu crashed when using AndroidKeyStore

オープン
#69 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Kotlin
スター
1k
フォーク
450
PR マージ指標
30日以内にマージされた PR はありません

説明

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?

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

評価

技術スタック
android
領域
mobile-dev, security
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
25/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。