You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[All] Encrypt SignedInUser blobs in previous-users store
PreviousUsersUtils persists a JSON SignedInUser per known account in a
plain SharedPreferences file. The blob includes token, accessToken,
refreshToken, and clientSecret, so simply encrypting ApiPrefs left
those credentials in plaintext at rest as soon as the user had ever
signed in. Wrap the JSON with the Keystore AES-GCM codec on write,
unwrap on read, and lazy-migrate any legacy plaintext entries the
first time get() loads them.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
0 commit comments