From b9d71d3e0959ab9d59d74621952fbb0e673f8895 Mon Sep 17 00:00:00 2001 From: Eran Messeri Date: Mon, 31 Oct 2022 12:22:10 +0000 Subject: [PATCH] ID attestation: update docs for a second IMEI Update the comment describing the attestation record: * KeyMint version bump to V3 * Inclusion of the 2nd IMEI. Bug: 244732345 Test: That it builds Change-Id: I19f89bc9936b747647dc690d4702c60d2bbe92c5 --- .../android/hardware/security/keymint/KeyCreationResult.aidl | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/security/keymint/aidl/android/hardware/security/keymint/KeyCreationResult.aidl b/security/keymint/aidl/android/hardware/security/keymint/KeyCreationResult.aidl index 4c2be89195..294c205fa0 100644 --- a/security/keymint/aidl/android/hardware/security/keymint/KeyCreationResult.aidl +++ b/security/keymint/aidl/android/hardware/security/keymint/KeyCreationResult.aidl @@ -125,9 +125,9 @@ parcelable KeyCreationResult { * straightforward translation of the KeyMint tag/value parameter lists to ASN.1. * * KeyDescription ::= SEQUENCE { - * attestationVersion INTEGER, # Value 200 + * attestationVersion INTEGER, # Value 300 * attestationSecurityLevel SecurityLevel, # See below - * keyMintVersion INTEGER, # Value 200 + * keyMintVersion INTEGER, # Value 300 * keymintSecurityLevel SecurityLevel, # See below * attestationChallenge OCTET_STRING, # Tag::ATTESTATION_CHALLENGE from attestParams * uniqueId OCTET_STRING, # Empty unless key has Tag::INCLUDE_UNIQUE_ID @@ -209,6 +209,7 @@ parcelable KeyCreationResult { * vendorPatchLevel [718] EXPLICIT INTEGER OPTIONAL, * bootPatchLevel [719] EXPLICIT INTEGER OPTIONAL, * deviceUniqueAttestation [720] EXPLICIT NULL OPTIONAL, + * attestationIdSecondImei [723] EXPLICIT OCTET_STRING OPTIONAL, * } */ Certificate[] certificateChain;