commit | f568ae7e83eefd7bdaa4d84ce18f80e80bdb32b5 | [log] [tgz] |
---|---|---|
author | Rubin Xu <rubinxu@google.com> | Mon Sep 30 10:01:59 2019 +0100 |
committer | Rubin Xu <rubinxu@google.com> | Mon Sep 30 12:12:35 2019 +0100 |
tree | 6a6cc800a7d6d55e0794400639a5004bd1268a25 | |
parent | a2261e72a8e87926a250209d08bb2e27dfc20a10 [diff] |
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