Android 支持 Android StrongBox 的智能手机列表 API 28(Android Pie)
List of Android smart phones that support Android StrongBox on API 28(Android Pie)
我需要 Android 中支持安全元件和 StrongBox 的手机列表 Android 9. 我在哪里或如何找到它?
我在 Samsung Galaxy S9 和 AVD Google Pixle XL API 28
上尝试了下面的代码
KeyPairGenerator kpg = null;
kpg = KeyPairGenerator.getInstance(
KeyProperties.KEY_ALGORITHM_RSA, "AndroidKeyStore");
kpg.initialize(new KeyGenParameterSpec.Builder("keystore1", KeyProperties.PURPOSE_SIGN)
.setCertificateSerialNumber(BigInteger.valueOf(1L))
.setCertificateSubject(new X500Principal("CN=MyCompany"))
.setIsStrongBoxBacked(true) /* Enable StrongBox */
.setInvalidatedByBiometricEnrollment(true)
.build());
KeyPair kp = kpg.generateKeyPair();
KeyFactory factory = KeyFactory.getInstance(KeyProperties.KEY_ALGORITHM_EC, "AndroidKeyStore");
KeyInfo keyInfo = factory.getKeySpec(kp.getPrivate(), KeyInfo.class);
keyInfo.isInsideSecureHardware();
它抛出以下异常:
android.security.keystore.StrongBoxUnavailableException: 生成密钥对失败
目前很少有设备支持 StrongBox,不幸的是,您可以在网上找到的信息充其量也很少。
虽然你是对的,但 according to Android 设备 运行 Android 9.0 应该支持 Strongbox,Strongbox 是一个单独的硬件组件,我假设只有启动 [=20] 的设备=] 9.0有机会拥有硬件
有 GrapheneOS/AttestationSamples 存储库,它收集有关多个设备的安全信息。
看了一下,只有Google的Pixel 3设备支持保险箱。您可以在文件夹中看到 Strongbox 认证证书。
有一个名为 Android 设备安全数据库的研究项目试图解决有关 Android 安全属性的信息不易获得的问题。他们在实验室测试手机并将收集到的属性保存在他们的数据库中。您可以使用 link:
过滤保险箱支持
https://www.android-device-security.org/client/datatable?sba=true
我需要 Android 中支持安全元件和 StrongBox 的手机列表 Android 9. 我在哪里或如何找到它?
我在 Samsung Galaxy S9 和 AVD Google Pixle XL API 28
上尝试了下面的代码KeyPairGenerator kpg = null;
kpg = KeyPairGenerator.getInstance(
KeyProperties.KEY_ALGORITHM_RSA, "AndroidKeyStore");
kpg.initialize(new KeyGenParameterSpec.Builder("keystore1", KeyProperties.PURPOSE_SIGN)
.setCertificateSerialNumber(BigInteger.valueOf(1L))
.setCertificateSubject(new X500Principal("CN=MyCompany"))
.setIsStrongBoxBacked(true) /* Enable StrongBox */
.setInvalidatedByBiometricEnrollment(true)
.build());
KeyPair kp = kpg.generateKeyPair();
KeyFactory factory = KeyFactory.getInstance(KeyProperties.KEY_ALGORITHM_EC, "AndroidKeyStore");
KeyInfo keyInfo = factory.getKeySpec(kp.getPrivate(), KeyInfo.class);
keyInfo.isInsideSecureHardware();
它抛出以下异常:
android.security.keystore.StrongBoxUnavailableException: 生成密钥对失败
目前很少有设备支持 StrongBox,不幸的是,您可以在网上找到的信息充其量也很少。
虽然你是对的,但 according to Android 设备 运行 Android 9.0 应该支持 Strongbox,Strongbox 是一个单独的硬件组件,我假设只有启动 [=20] 的设备=] 9.0有机会拥有硬件
有 GrapheneOS/AttestationSamples 存储库,它收集有关多个设备的安全信息。
看了一下,只有Google的Pixel 3设备支持保险箱。您可以在文件夹中看到 Strongbox 认证证书。
有一个名为 Android 设备安全数据库的研究项目试图解决有关 Android 安全属性的信息不易获得的问题。他们在实验室测试手机并将收集到的属性保存在他们的数据库中。您可以使用 link:
过滤保险箱支持https://www.android-device-security.org/client/datatable?sba=true