diff options
author | Roshan Pius <rpius@google.com> | 2019-10-22 16:38:36 -0700 |
---|---|---|
committer | Roshan Pius <rpius@google.com> | 2019-11-07 09:58:56 -0800 |
commit | 91aa4c8bb78771f25ae28df220ed8d41a3830e05 (patch) | |
tree | 8e0ddf629cb2b3b5d4dff26f20b251c817d936c8 /libs | |
parent | cfd19bcad81694a862df0e54f13c98c2046a9245 (diff) |
WifiConfigStore: Encrypt credentials for networks (3/4)
Encrypt/Decrypt preSharedKey & enterprise config's password fields.
When deserializing, handle migration from older config store
version file.
Any encryption failure are silently ignored. Decryption failures are
however non-recoverable.
Bug: 140485110
Test: atest com.android.server.wifi
Test: Manual verification
- Store a PSK network config on older build
- Upgrade to build with this CL
- Ensured that the psk was read correctly on upgrade
- Ensured that the psk was encrypted when stored on disk after upgrade
Change-Id: Ic7673cb375c9e5447ff4074ed78321152573e1c3
Diffstat (limited to 'libs')
0 files changed, 0 insertions, 0 deletions