Skip to content

Fix android security api suggestions#42

Open
fat-fellow wants to merge 1 commit intoweeeBox:masterfrom
fat-fellow:fix-android-security-api-suggestions
Open

Fix android security api suggestions#42
fat-fellow wants to merge 1 commit intoweeeBox:masterfrom
fat-fellow:fix-android-security-api-suggestions

Conversation

@fat-fellow
Copy link

https://developer.android.com/jetpack/androidx/releases/security
https://developer.android.com/reference/androidx/security/crypto/EncryptedSharedPreferences

These libraries have been discontinued for quite some time, so I believe the documentation should be updated to reflect the current state of the ecosystem.

As far as I understand, Google’s current guidance is to rely on the Android Keystore for secure key management, while leaving the choice of encryption mechanisms to developers. In practice, this means storing cryptographic keys in the Keystore and using them with a cipher of choice to encrypt application data on top of the file-based encryption already provided by the OS.

It would be helpful to clarify this approach in the recommendations to avoid confusion and ensure developers follow modern security practices.

@fat-fellow fat-fellow force-pushed the fix-android-security-api-suggestions branch 2 times, most recently from f96ed2c to d307ba8 Compare February 3, 2026 18:51
@fat-fellow fat-fellow force-pushed the fix-android-security-api-suggestions branch from d307ba8 to 3cc135e Compare February 3, 2026 18:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant