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

Skip to content
Commit f568ae7e authored by Rubin Xu's avatar Rubin Xu
Browse files

Throw exception when SyntheticPassword key is missing

Throws early if keystore returns a null key. Otherwise the null
value will be passed into Conscrypt which will throw a confusing
exception "Only SecretKey is supported"

Also add a log when key is deleted on purpose, just in case it
helps us catching the case when the key's gone missing on some devices.

Bug: 141565253
Test: builds
Change-Id: Iee56c8295f84f662876704ac6583f4b34b56876b
parent a2261e72
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment