| commit | fda71ce7d061c75d66d681e9cf3c0b183a2b07c5 | [log] [tgz] |
|---|---|---|
| author | Ephraim Kigamba <kigamba@google.com> | Sat Jul 05 17:58:21 2025 +0000 |
| committer | Ephraim Kigamba <kigamba@google.com> | Sun Jul 06 21:41:07 2025 +0000 |
| tree | cb01b722a72a65ffc7b31b916c7c327b47a13045 | |
| parent | cd9dc4e87a84df883307ac89c2dd5df67a34dd36 [diff] |
IMEI Hardening: Fix key attestation leaf certificate generation Bug: 429744600 Flag: EXEMPT bugfix Change-Id: I1b8c878ccee42b120ce07fe1daf3e20b94d8ed6a
diff --git a/DeviceLockController/src/com/android/devicelockcontroller/util/KeyAttestationUtil.java b/DeviceLockController/src/com/android/devicelockcontroller/util/KeyAttestationUtil.java index 72697ed..0a7c8e1 100644 --- a/DeviceLockController/src/com/android/devicelockcontroller/util/KeyAttestationUtil.java +++ b/DeviceLockController/src/com/android/devicelockcontroller/util/KeyAttestationUtil.java
@@ -55,6 +55,7 @@ .setDigests(KeyProperties.DIGEST_SHA256, KeyProperties.DIGEST_SHA384, KeyProperties.DIGEST_SHA512) + .setAttestationChallenge(new byte[0]) .build()); // Generate the key pair. This will result in calls to both generate_key() and // attest_key() at the keymaster2 HAL.