aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSubrahmanya Manikanta Venkateswarlu Bhamidipati Kameswara Sri <subrahmanyaman@google.com>2023-10-26 03:42:08 +0000
committerSubrahmanya Manikanta Venkateswarlu Bhamidipati Kameswara Sri <subrahmanyaman@google.com>2023-10-26 03:42:08 +0000
commit2765610a0c354d4538abf517fbc71c36ebb4383f (patch)
tree04b73394e8fd83083d81ad9bef35425a645eefd5
parentf6f34c5a08ba7e6db669bdb4d65f8ce0c79bb983 (diff)
downloadlibese-2765610a0c354d4538abf517fbc71c36ebb4383f.tar.gz
SECOND_IMEI should appear in the attestaion record.
Strongbox should include the provisioned SECOND_IMEI in the attestation record if the KeyParamters in the GenerateKey contains the SECOND_IMEI attestation id. Bug: 307846717 Test: run vts -m VtsAidlKeyMintTarget Change-Id: I9f630edf79b1f10d3d7bc6278114f2b27514d5e2
-rw-r--r--ready_se/google/keymint/KM300/Applet/src/com/android/javacard/keymaster/KMKeymasterApplet.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/ready_se/google/keymint/KM300/Applet/src/com/android/javacard/keymaster/KMKeymasterApplet.java b/ready_se/google/keymint/KM300/Applet/src/com/android/javacard/keymaster/KMKeymasterApplet.java
index 19c91dd..78ea201 100644
--- a/ready_se/google/keymint/KM300/Applet/src/com/android/javacard/keymaster/KMKeymasterApplet.java
+++ b/ready_se/google/keymint/KM300/Applet/src/com/android/javacard/keymaster/KMKeymasterApplet.java
@@ -242,6 +242,7 @@ public class KMKeymasterApplet extends Applet implements AppletEvent, ExtendedLe
KMType.ATTESTATION_ID_BRAND,
KMType.ATTESTATION_ID_DEVICE,
KMType.ATTESTATION_ID_IMEI,
+ KMType.ATTESTATION_ID_SECOND_IMEI,
KMType.ATTESTATION_ID_MANUFACTURER,
KMType.ATTESTATION_ID_MEID,
KMType.ATTESTATION_ID_MODEL,