Skip to content

Commit e2ba82a

Browse files
eduardo-floresdavidz25
authored andcommitted
Disable strongbox on keystore writable IC
1 parent 45662cd commit e2ba82a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

identity/src/main/java/com/android/identity/KeystoreWritableIdentityCredential.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,12 +122,14 @@ private Collection<X509Certificate> ensureCredentialKey(byte[] challenge) {
122122

123123
mKeyPair = null;
124124
boolean isStrongBoxBacked = false;
125+
/* Disable StrongBox usage for now, see Issue #259 for details
125126
PackageManager pm = mContext.getPackageManager();
126127
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.P &&
127128
pm.hasSystemFeature(PackageManager.FEATURE_STRONGBOX_KEYSTORE)) {
128129
isStrongBoxBacked = true;
129130
builder.setIsStrongBoxBacked(true);
130131
}
132+
*/
131133
kpg.initialize(builder.build());
132134
mKeyPair = kpg.generateKeyPair();
133135
Log.i(TAG, "CredentialKey created, strongBoxBacked=" + isStrongBoxBacked);

0 commit comments

Comments
 (0)