Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 8de9051f authored by Eric Biggers's avatar Eric Biggers
Browse files

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 c5ec1dad)
parent ddc65536
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment