Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expose isUsingKeystore method from types using Tink encryption under the hood #3

Open
mottljan opened this issue Nov 23, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@mottljan
Copy link
Contributor

When Android Keystore is not possible to be used on certain devices, Tink just silently does not use it and stores data encryption keys in plain text instead of encrypting it using a master key. Tink provides a method AndroidKeysetManager.isUsingKeystore that informs about usage of the Keystore. It would be a good idea to expose this method from types using Tink: EncryptedFile, EncryptedSharedPreferences and both encrypted DataStore types, so the client can use it and react appropriately if needed.

@mottljan mottljan added the enhancement New feature or request label Nov 23, 2024
@mottljan mottljan self-assigned this Nov 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant