Android 12 の Keystore 作成の問題
概要
症状
// ウォレットのために Device CVM を初期化します
DeviceCVMManager.INSTANCE.initialize(CHVerificationMethod.BIOMETRICS);java.security.KeyStoreException: Failed to store private key
at android.security.keystore2.AndroidKeyStoreSpi.setPrivateKeyEntry(AndroidKeyStoreSpi.java:581)
at android.security.keystore2.AndroidKeyStoreSpi.engineSetEntry(AndroidKeyStoreSpi.java:1211)
at java.security.KeyStore.setEntry(KeyStore.java:1617)
at java.lang.reflect.Method.invoke(Native Method)
…
原因: android.security.KeyStoreException: Keystore not initialized
at android.security.KeyStore2.getKeyStoreException(KeyStore2.java:384)
at android.security.KeyStoreSecurityLevel.handleExceptions(KeyStoreSecurityLevel.java:59)
at android.security.KeyStoreSecurityLevel.importKey(KeyStoreSecurityLevel.java:204
…根本原因
影響を受ける Android バージョンとデバイス
ベンダー
モデル
Android バージョン
API レベル
回避策と次のステップ
最終更新
役に立ちましたか?