summaryrefslogtreecommitdiff
path: root/api/api_test.go
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-09-27 20:21:00 +0000
commitc5ec1dad8f8878d7107d8aea9599d393e0f7eebe (patch)
tree3b87a8eb202217fb88eb3b4fca634276a4c6724f /api/api_test.go
parentd88b39e9eaa13bc45faf91f2fe082b505c49684b (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: 368151356 Test: atest FrameworksServicesTests:com.android.server.locksettings Flag: EXEMPT uses config option instead Change-Id: Ie67f0141e61bd895c92851bdd4f1352b6c7b6776
Diffstat (limited to 'api/api_test.go')
0 files changed, 0 insertions, 0 deletions