summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Eric Biggers <ebiggers@google.com> 2024-09-27 20:21:00 +0000
committer Eric Biggers <ebiggers@google.com> 2024-10-18 16:45:29 +0000
commit8de9051f063185839a494de99dc5c1fddbc8198e (patch)
treebc6f4e1d618ef70101737b28f0dd0aa82ffa8ab6 /libs/androidfw/StringPool.cpp
parentddc65536397ba98366507894072347f1417addc3 (diff)
Support disabling Weaver on unsecured users
As a temporary workaround for devices whose Weaver HAL does not work reliably during boot, add a config option that disables the use of Weaver to protect the synthetic password of users with no LSKF. Make the option take effect when creating any new SP protector. Also make it take effect when upgrading, by replacing the existing SP protector if needed. If there is an existing SP, also ensure that the CE key is encrypted by it and that the Keystore super keys have been initialized. Bug: 356324437 Test: atest FrameworksServicesTests:com.android.server.locksettings Flag: EXEMPT uses config option instead Change-Id: Ie67f0141e61bd895c92851bdd4f1352b6c7b6776 Merged-In: Ie67f0141e61bd895c92851bdd4f1352b6c7b6776 (cherry picked from commit c5ec1dad8f8878d7107d8aea9599d393e0f7eebe)
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions