mirror of
https://github.com/Evolution-X-Devices/device_google_gs201
synced 2026-01-27 19:18:35 +00:00
Clear secure deletion keys upon factory reset
This ports the gs101 configuration - which clears the secure deletion keys upon factory reset - to (REDACTED DEVICE), as suggested by David Drysdale in b/223934835#comment53. In the absence of this change, the key slots may eventually get filled up (e.g., by failing tests) and never be released. Bug: 223934835 Test: Check logcat that keys are cleared after factory reset Change-Id: I56efb76cb6bb0cdfe2eb9b0ac3ca89e49bfc57f0
This commit is contained in:
committed by
Armelle Laine
parent
43f80a84b1
commit
4da7fdc1a7
@@ -1149,3 +1149,6 @@ PRODUCT_PROPERTY_OVERRIDES += \
|
||||
PRODUCT_COPY_FILES += \
|
||||
frameworks/native/data/etc/android.software.device_id_attestation.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.device_id_attestation.xml \
|
||||
frameworks/native/data/etc/android.hardware.device_unique_attestation.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.device_unique_attestation.xml
|
||||
|
||||
# Call deleteAllKeys if vold detects a factory reset
|
||||
PRODUCT_VENDOR_PROPERTIES += ro.crypto.metadata_init_delete_all_keys.enabled=true
|
||||
|
||||
Reference in New Issue
Block a user